FactDev  0.1
Gui::Dialogs::StartedWindowsDialog Class Reference

The StartedWindowsDialog class Contruct a Windows for the first begin. More...

#include <startedwindowsdialog.h>

Inheritance diagram for Gui::Dialogs::StartedWindowsDialog:

Public Slots

void checkFields ()
 StartedWindowsDialog::checkFields Check all fields of dialog components.
 
void backToPage2 ()
 StartedWindowsDialog::backToPage2 Return to the second page.
 
void nextToPage2 ()
 StartedWindowsDialog::nextToPage2 Go to the second page.
 
void nextToPage3 ()
 StartedWindowsDialog::nextToPage3 Go to the third page.
 
void databaseTypeChanged (const int index)
 StartedWindowsDialog::databaseTypeChanged Listener on the Database type combobox. More...
 
void databaseTypeChanged (void)
 StartedWindowsDialog::databaseTypeChanged Listener on the Database type combobox.
 
void updateNextButton ()
 StartedWindowsDialog::updateNextButton Check if the next button is enabled.
 
void accept ()
 StartedWindowsDialog::accept Valid data inputed by user and add these data in Database.
 

Public Member Functions

 StartedWindowsDialog (QWidget *parent=0)
 StartedWindowsDialog::StartedWindowsDialog Contruct a StartedWindowsDialog. More...
 
void fillFields ()
 StartedWindowsDialog::fillFields Fill line edits with the data of the user.
 
QPixmap getImage (QString path, int width=256, int height=256)
 StartedWindowsDialog::getImage Return a scaled image from the icon specified by it path. The image returned has a resolution of width*height (default 256*256) More...
 
bool isDatabaseTypeValid ()
 StartedWindowsDialog::isDatabaseTypeValid Return TRUE if settings of database type is valid else return FALSE. More...
 
bool isDatabaseCentralized ()
 StartedWindowsDialog::isDatabaseCentralized Return TRUE if the current type of database is centralized else FALSE. More...
 

Detailed Description

The StartedWindowsDialog class Contruct a Windows for the first begin.

Author
Florent Berbie
See Also
DatabaseSettingsWidget

Constructor & Destructor Documentation

Gui::Dialogs::StartedWindowsDialog::StartedWindowsDialog ( QWidget *  parent = 0)
explicit

StartedWindowsDialog::StartedWindowsDialog Contruct a StartedWindowsDialog.

Parameters
parentQWidget parent

Member Function Documentation

void Gui::Dialogs::StartedWindowsDialog::databaseTypeChanged ( const int  index)
slot

StartedWindowsDialog::databaseTypeChanged Listener on the Database type combobox.

Parameters
indexCurrent index selected
QPixmap Gui::Dialogs::StartedWindowsDialog::getImage ( QString  path,
int  width = 256,
int  height = 256 
)

StartedWindowsDialog::getImage Return a scaled image from the icon specified by it path. The image returned has a resolution of width*height (default 256*256)

Parameters
pathIcon path
widthIcon width
heightIcon height
Returns
Scaled image
bool Gui::Dialogs::StartedWindowsDialog::isDatabaseCentralized ( )

StartedWindowsDialog::isDatabaseCentralized Return TRUE if the current type of database is centralized else FALSE.

Returns
boolean
bool Gui::Dialogs::StartedWindowsDialog::isDatabaseTypeValid ( )

StartedWindowsDialog::isDatabaseTypeValid Return TRUE if settings of database type is valid else return FALSE.

Returns
boolean on the database type validity

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