FactDev  0.1
Gui::Widgets::DatabaseSettingsWidget Class Reference

The DatabaseSettingsWidget class Windows of database settings. More...

#include <databasesettingswidget.h>

Inheritance diagram for Gui::Widgets::DatabaseSettingsWidget:

Public Slots

bool isValid ()
 DatabaseSettingsWidget::isValid Return TRUE if all fields are correctly inputed else FALSE. More...
 
void checkRepeatPassword (QString text)
 DatabaseSettingsWidget::checkRepeatLogin Check if the second login field is the same than the first.
 
void userInterfaceChanged ()
 DatabaseSettingsWidget::userInterfaceChanged User interface has changed.
 

Signals

void textfieldChanged ()
 DatabaseSettingsWidget::textfieldChanged Signal which indicates if a fieldtext has changed.
 

Public Member Functions

 DatabaseSettingsWidget (QWidget *parent=0)
 DatabaseSettingsWidget::DatabaseSettingsWidget Construct a DatabaseSettingsWidget. More...
 
void fillFields ()
 DatabaseSettingsWidget::fillFields Complete fields with a default value for field Database name, Username, IP address and port.
 
QString getDatabaseName ()
 DatabaseSettingsWidget::getDatabaseName Return the database name. More...
 
QString getLogin ()
 DatabaseSettingsWidget::getLogin Return the login of the user. More...
 
QString getPassword ()
 DatabaseSettingsWidget::getPassword Return the password of the user. More...
 
QString getDomainNameOrIP ()
 DatabaseSettingsWidget::getDomainNameOrIP Return the domain name or IP address on the machine where is the database. More...
 
QString getPort ()
 DatabaseSettingsWidget::getPort Return the port of the database. More...
 

Detailed Description

The DatabaseSettingsWidget class Windows of database settings.

Author

Constructor & Destructor Documentation

Gui::Widgets::DatabaseSettingsWidget::DatabaseSettingsWidget ( QWidget *  parent = 0)
explicit

DatabaseSettingsWidget::DatabaseSettingsWidget Construct a DatabaseSettingsWidget.

Parameters
parentParent widget of this windows

Member Function Documentation

QString Gui::Widgets::DatabaseSettingsWidget::getDatabaseName ( )

DatabaseSettingsWidget::getDatabaseName Return the database name.

Returns
Database name
QString Gui::Widgets::DatabaseSettingsWidget::getDomainNameOrIP ( )

DatabaseSettingsWidget::getDomainNameOrIP Return the domain name or IP address on the machine where is the database.

Returns
Domain name or IP address
QString Gui::Widgets::DatabaseSettingsWidget::getLogin ( )

DatabaseSettingsWidget::getLogin Return the login of the user.

Returns
Login of the user
QString Gui::Widgets::DatabaseSettingsWidget::getPassword ( )

DatabaseSettingsWidget::getPassword Return the password of the user.

Returns
User password
QString Gui::Widgets::DatabaseSettingsWidget::getPort ( )

DatabaseSettingsWidget::getPort Return the port of the database.

Returns
Database port
bool Gui::Widgets::DatabaseSettingsWidget::isValid ( )
slot

DatabaseSettingsWidget::isValid Return TRUE if all fields are correctly inputed else FALSE.

Returns
boolean

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