The main program mediator class. More...
#include <smartlet.h>
Public Member Functions | |
SmartLet (QWidget *parent=0) | |
~SmartLet () |
The main program mediator class.
This class is mostly explained in the user manual.
SmartLet::SmartLet | ( | QWidget * | parent = 0 |
) |
: QMainWindow(parent) { setObjectName("SmartLet"); // Set default language settings QLocale::setDefault(QLocale(QLocale::English, QLocale::system().country())); qApp->setStyle(new SmartletStyle()); // Setup variables used in QSettings constructor // Make sure to execute these settings before any QSettings loads // otherwise it will silently fail. QCoreApplication::setOrganizationName("Labo Plantecologie UGent"); QCoreApplication::setOrganizationDomain("plantecology.ugent.be"); QCoreApplication::setApplicationName("Smartlet"); setWindowTitle("Smartlet"); log = new LogMan; setCentralWidget(new QMdiArea(this)); centralWidget()->setViewMode(QMdiArea::TabbedView); // help init help = new QShortcut(QKeySequence::HelpContents, this, SLOT(launchHelp())); //Main Object Initialization createActions(); createDocks(); createMenus(); //createContextMenu(); createToolBars(); //createStatusBar(); //readSettings(); createFrontPage(); //setWindowIcon(QIcon(":/images/icon.png")); }
SmartLet::~SmartLet | ( | ) |
{ }