Public Member Functions

SmartLet Class Reference

The main program mediator class. More...

#include <smartlet.h>

Inheritance diagram for SmartLet:
Inheritance graph
[legend]
Collaboration diagram for SmartLet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SmartLet (QWidget *parent=0)
 ~SmartLet ()

Detailed Description

The main program mediator class.

This class is mostly explained in the user manual.


Constructor & Destructor Documentation

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 (  ) 

{
}


The documentation for this class was generated from the following files: