15 #include <qcheckbox.h> 17 #include <q3vgroupbox.h> 18 #include <qapplication.h> 20 #include <Q3GridLayout> 25 #include "../config.h" 26 #include "../gui/window.h" 27 #include "../gui/statusWidget.h" 31 const char* name ) :
QWidget( parent, name)
37 labelFont.setWeight(QFont::Bold);
45 behavior =
new Q3VGroupBox( tr(
"Behavior"),
this);
49 grid =
new Q3GridLayout(
this, 4, 1, 0);
55 grid->setRowStretch( 3, 1 );
60 config->
setBool(
"alerts",
"showDestructiveAlerts",
true );
61 config->
setBool(
"alerts",
"showSoftwareUpdateAlerts",
true );
78 ((
Window*)qApp->mainWidget())->getStatus()->checkForUpdates();
80 ((
Window*)qApp->mainWidget())->getStatus()->removeUpdatesIcon();
Top level widget, encapsulates the title widget, the layout widget, and the toolbar widget...
bool getBool(QString group, QString key)
Fetch bool setting.
void setString(QString group, QString key, QString value)
Sets a setting value, if group does not exist it is created, if setting does not exist it is also cre...
void setBool(QString group, QString key, bool val)
Set bool setting.
Configuration object manages all user-specific application settings.
#define ALBUMSHAPER_VERSION