171 : QWidget(parent)
172{
173
174 QGroupBox *generalGroup = new QGroupBox(tr("General settings"));
175
178 " <div style=\"width: 300px;\">Enable A LOT more verbose output to stdout from VP1. It is very useful if you run with this before sending us logfiles for bug reports.</div>"
179 " </html>", 0
180 ));
181 #if defined BUILDVP1LIGHT
184 }
186 #else
189 }
191 #endif
192
194 m_checkboxDebug->setToolTip( QApplication::translate(__FUNCTION__,
" <html>\n"
195 " <div style=\"width: 300px;\">Enable A LOT more debug output to stdout from VP1. It is very useful if you run with this before sending us logfiles for bug reports.</div>"
196 " </html>", 0
197 ));
198 #if defined BUILDVP1LIGHT
201 }
203 #else
206 }
208 #endif
209
212 " <div style=\"width: 300px;\">This variable exists to help users whose graphics drivers are broken in such a way as to make VP1 crash when showing multiple 3D widgets. Setting this variable will thus ensure that the user can only ever open one channel, and it will remove the little 3D preview window normally shown when editing a material.</div>"
213 " </html>", 0
214 ));
215 #if defined BUILDVP1LIGHT
218 }
220 #else
223 }
225 #endif
226
229 " <div style=\"width: 300px;\">Makes a small popup window appear whenever the user clicks a mouse-button in VP1. Basically this feature exists since it is used when producing the movies (screencasts) on this webpage.</div>"
230 " </html>", 0
231 ));
232 #if defined BUILDVP1LIGHT
235 }
237 #else
240 }
242 #endif
243
246 " <div style=\"width: 300px;\">By default, closing the VP1 window immediately results in the job being finished. Setting this variable will instead make VP1 ask the user if it should really close.</div>"
247 " </html>", 0
248 ));
249 #if defined BUILDVP1LIGHT
252 }
254 #else
257 }
259 #endif
260
261
264 " <div style=\"width: 300px;\">Replaces the coordinate axes with a red sphere.</div>"
265 " </html>", 0
266 ));
267 #if defined BUILDVP1LIGHT
270 }
272 #else
275 }
277 #endif
278
279
282 " <div style=\"width: 300px;\">Switches on advanced Anti-Aliasing. WARNING: May cause issues with certain graphics drivers.</div>"
283 " </html>", 0
284 ));
285 #if defined BUILDVP1LIGHT
288 }
290 #else
293 }
295 #endif
296
297
298
299 QGroupBox *directoryGroup = new QGroupBox(tr("Directory settings"));
300
303 #if defined BUILDVP1LIGHT
305 #else
307 #endif
308 m_lineEdit1->setToolTip( QApplication::translate(__FUNCTION__,
" <html>\n"
309 " <div style=\"width: 300px;\">Turns on the automatic generation of screen-shots for all channels at every event. The value must be a valid writable directory, where all generated screenshot files will be stored.</div>"
310 " </html>", 0
311 ));
313
314
315 QVBoxLayout *generalLayout = new QVBoxLayout;
323 generalGroup->setLayout(generalLayout);
324
325 QGridLayout *gridLayout = new QGridLayout(this);
326 gridLayout->addWidget(new QLabel(tr("Screenshots directory:")), 0, 0);
329 directoryGroup->setLayout(gridLayout);
330
331 QVBoxLayout *mainLayout = new QVBoxLayout;
332 mainLayout->addWidget(generalGroup);
333 mainLayout->addWidget(directoryGroup);
334 mainLayout->addStretch(1);
335 setLayout(mainLayout);
336
337}
QCheckBox * m_checkboxAntiAliasing
QCheckBox * m_checkboxDisallowMultipleChannels
void on_browseButton1_clicked()
QCheckBox * m_checkboxGuidesSphereInsteadOfCoordaxes
void slotScreenshotDirChanged(const QString &path)
QCheckBox * m_checkboxEnableAskOnClose
QPushButton * m_browseButton1
void setExpertSetting(const QString &name)
QCheckBox * m_checkboxDisplayMouseClicks
QCheckBox * m_checkboxDebug
QCheckBox * m_checkboxVerbose
static bool environmentVariableIsOn(const QString &name)
static QString expertSettingValue(const QString &type, const QString &name)
static QString environmentVariableValue(const QString &name)
static bool expertSettingIsOn(const QString &type, const QString &name)