QGuiAuthWindow Class Reference

List of all members.


Detailed Description

authentication window

Author:
Sergio Di Domizio

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
QGuiComboBoxfUserEntry
TGTextEntry * fPasswordEntry
TGTextButton * fCancelButton
TGTextButton * fOkButton

Constructor & Destructor Documentation

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

Parameters:
users list of available users
authInfo is filled with username/password values

References CreateFrames(), and MakeConnections().


Member Function Documentation

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


Member Data Documentation

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


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

Generated on Tue Nov 16 10:50:06 2010 for CUORE Software by  doxygen 1.5.6