Inherits XGP::XDialog.
Public Member Functions | |
| LoginDialog (const Glib::ustring &title) | |
| virtual | ~LoginDialog () |
| void | setUser (const Glib::ustring &user) |
| void | setCurrentUser () |
| void | setPassword (const Glib::ustring &pwd) |
Static Public Member Functions | |
| static LoginDialog * | create (const Glib::ustring &title) |
Public Attributes | |
| sigc::signal< bool, const Glib::ustring &, const Glib::ustring & > | sigLogin |
Protected Types | |
| enum | { LOGIN } |
Protected Member Functions | |
| virtual void | command (int id) |
Protected Attributes | |
| Gtk::Table * | pClient |
| Gtk::Entry | txtUser |
| Gtk::Entry | txtPassword |
The password is not displayed openly.
| XGP::LoginDialog::LoginDialog | ( | const Glib::ustring & | title | ) |
Constructor.
| title | Title to display for dialog |
| XGP::LoginDialog::~LoginDialog | ( | ) | [virtual] |
Destructor.
| void XGP::LoginDialog::command | ( | int | id | ) | [protected, virtual] |
Callback after clicking on a button in the dialog.
| id | ID of clicked button |
Reimplemented from XGP::XDialog.
| static LoginDialog* XGP::LoginDialog::create | ( | const Glib::ustring & | title | ) | [inline, static] |
Creates the dialog (and set it as child of the parent).
| title | Title of the dialog |
| void XGP::LoginDialog::setCurrentUser | ( | ) |
Sets the current passed user in the dialog.
| void XGP::LoginDialog::setPassword | ( | const Glib::ustring & | pwd | ) | [inline] |
Sets the passed password in the dialog.
| pwd | Password to set |
| void XGP::LoginDialog::setUser | ( | const Glib::ustring & | user | ) | [inline] |
Sets the passed user in the dialog.
| user | User to set |
Gtk::Table* XGP::LoginDialog::pClient [protected] |
Pointer to the client information area.
| sigc::signal<bool, const Glib::ustring&, const Glib::ustring&> XGP::LoginDialog::sigLogin |
Signal emitted, when Login is selected.
Gtk::Entry XGP::LoginDialog::txtPassword [protected] |
Textfield, where user enters the password.
Gtk::Entry XGP::LoginDialog::txtUser [protected] |
Textfield, where user enters the ID.