#include <qapplication.h>
#include <qfont.h>
+#include <qplatinumstyle.h>
#include "eonsl.h"
int main(int argc, char *argv[])
{
- QApplication a(argc, argv);
+ QApplication a(argc, argv);
+
+ QStyle* s = new QPlatinumStyle();
+
+ a.setFont(QFont("helvetica", 12));
+ /* uncomment the following line, if you want a Windows 95 look*/
+ // a.setStyle(WindowsStyle);
+ a.setStyle(s);
+ EonSL *eonsl=new EonSL();
+ a.setMainWidget(eonsl);
- a.setFont(QFont("helvetica", 12));
- /* uncomment the following line, if you want a Windows 95 look*/
- // a.setStyle(WindowsStyle);
-
- EonSL *eonsl=new EonSL();
- a.setMainWidget(eonsl);
+ eonsl->setCaption("EonSL" VERSION);
+ eonsl->showMaximized();
+ eonsl->show();
- eonsl->setCaption("EonSL" VERSION);
- eonsl->show();
-
- return a.exec();
+ return a.exec();
}