19#include <q3vgroupbox.h>
20#include <qpushbutton.h>
22#include <qapplication.h>
25#include <Q3GridLayout>
26#include <QDesktopWidget>
38 const char* name ) :
QWidget( parent, name)
44 labelFont.setWeight(QFont::Bold);
106 mainGrid =
new Q3GridLayout(
this, 5, 1, 0);
137 config->
setBool(
"layout",
"restoreWindowPlacementSize",
true);
139 QDesktopWidget *desktop = QApplication::desktop();
140 int width = (8*desktop->width()) / 10;
141 int height = (8*desktop->height()) / 10;
171 ((
Window*)qApp->mainWidget())->getTitle()->useAnimation(
config->
getBool(
"layout",
"animation" ) );
Configuration object manages all user-specific application settings.
bool getBool(QString group, QString key)
Fetch bool setting.
void setInt(QString group, QString key, int val)
Set int setting.
void setBool(QString group, QString key, bool val)
Set 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...
int getInt(QString group, QString key)
Fetch int setting.
Top level widget, encapsulates the title widget, the layout widget, and the toolbar widget.