Public Member Functions | |
| QGuiAuthWindow (const TGWindow *main, Int_t w, Int_t h, const std::set< std::string > &users, std::pair< std::string, std::string > &authInfo) | |
| ctor | |
| virtual | ~QGuiAuthWindow () |
| dtor | |
| void | HandleCancel () |
| slot function triggered when the cancel button is pressed | |
| void | HandleOk () |
| slot function triggered when the ok button is pressed | |
| void | CloseWindow () |
Private Member Functions | |
| void | CreateFrames () |
| void | MakeConnections () |
Private Attributes | |
| std::set< std::string > | fUsers |
| std::pair< std::string, std::string > & | fAuthInfo |
| QGuiComboBox * | fUserEntry |
| TGTextEntry * | fPasswordEntry |
| TGTextButton * | fCancelButton |
| TGTextButton * | fOkButton |
| QGuiAuthWindow::QGuiAuthWindow | ( | const TGWindow * | main, | |
| Int_t | w, | |||
| Int_t | h, | |||
| const std::set< std::string > & | users, | |||
| std::pair< std::string, std::string > & | authInfo | |||
| ) |
ctor
| users | list of available users | |
| authInfo | is filled with username/password values |
References CreateFrames(), and MakeConnections().
| void QGuiAuthWindow::CloseWindow | ( | ) |
close window and emit signal
Referenced by HandleCancel(), and HandleOk().
| void QGuiAuthWindow::CreateFrames | ( | ) | [private] |
create graphical frames
References QGuiComboBox::AddEntry(), and fUsers.
Referenced by QGuiAuthWindow().
| void QGuiAuthWindow::MakeConnections | ( | ) | [private] |
perform signal/slot connections
Referenced by QGuiAuthWindow().
std::set<std::string> QGuiAuthWindow::fUsers [private] |
users list
Referenced by CreateFrames().
std::pair<std::string, std::string>& QGuiAuthWindow::fAuthInfo [private] |
user/pass pair
Referenced by HandleOk().
1.5.6