#include <ap_Dialog_GenericInput.h>
Public Types | |
enum | tAnswer { a_OK, a_CANCEL } |
Public Member Functions | |
AP_Dialog_GenericInput (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
virtual | ~AP_Dialog_GenericInput (void) |
virtual void | runModal (XAP_Frame *pFrame)=0 |
bool | isPassword () |
void | setPassword (bool bIsPassword) |
void | setTitle (const UT_UTF8String &sTitle) |
const UT_UTF8String & | getTitle () |
void | setQuestion (const UT_UTF8String &sQuestion) |
const UT_UTF8String & | getQuestion () |
void | setLabel (const UT_UTF8String &sLabel) |
const UT_UTF8String & | getLabel () |
void | setMinLenght (UT_uint32 iMinLength) |
UT_uint32 | getMinLenght () |
AP_Dialog_GenericInput::tAnswer | getAnswer (void) const |
void | setInput (const UT_UTF8String &sInput) |
const UT_UTF8String & | getInput () const |
Protected Attributes | |
AP_Dialog_GenericInput::tAnswer | m_answer |
Private Attributes | |
UT_UTF8String | m_sTitle |
UT_UTF8String | m_sQuestion |
UT_UTF8String | m_sLabel |
UT_uint32 | m_iMinLength |
bool | m_bIsPassword |
UT_UTF8String | m_input |
AP_Dialog_GenericInput::AP_Dialog_GenericInput | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
AP_Dialog_GenericInput::~AP_Dialog_GenericInput | ( | void | ) | [virtual] |
AP_Dialog_GenericInput::tAnswer AP_Dialog_GenericInput::getAnswer | ( | void | ) | const [inline] |
References m_answer.
Referenced by ServiceAccountHandler::askFilename(), and ServiceAccountHandler::askPassword().
const UT_UTF8String& AP_Dialog_GenericInput::getInput | ( | ) | const [inline] |
const UT_UTF8String& AP_Dialog_GenericInput::getLabel | ( | ) | [inline] |
References m_sLabel.
Referenced by AP_UnixDialog_GenericInput::_constructWindow(), and AP_Win32Dialog_GenericInput::_onInitDialog().
UT_uint32 AP_Dialog_GenericInput::getMinLenght | ( | ) | [inline] |
References m_iMinLength.
Referenced by AP_Win32Dialog_GenericInput::_eventTextChanged(), and AP_UnixDialog_GenericInput::eventTextChanged().
const UT_UTF8String& AP_Dialog_GenericInput::getQuestion | ( | ) | [inline] |
References m_sQuestion.
Referenced by AP_UnixDialog_GenericInput::_constructWindow(), and AP_Win32Dialog_GenericInput::_onInitDialog().
const UT_UTF8String& AP_Dialog_GenericInput::getTitle | ( | ) | [inline] |
References m_sTitle.
Referenced by AP_UnixDialog_GenericInput::_constructWindow(), and AP_Win32Dialog_GenericInput::_onInitDialog().
bool AP_Dialog_GenericInput::isPassword | ( | ) | [inline] |
References m_bIsPassword.
Referenced by AP_Win32Dialog_GenericInput::_onInitDialog(), and AP_UnixDialog_GenericInput::_populateWindowData().
virtual void AP_Dialog_GenericInput::runModal | ( | XAP_Frame * | pFrame | ) | [pure virtual] |
Implements XAP_Dialog_NonPersistent.
Implemented in AP_UnixDialog_GenericInput, and AP_Win32Dialog_GenericInput.
Referenced by ServiceAccountHandler::askFilename(), and ServiceAccountHandler::askPassword().
void AP_Dialog_GenericInput::setInput | ( | const UT_UTF8String & | sInput | ) | [inline] |
References m_input.
Referenced by AP_Win32Dialog_GenericInput::_onCommand(), ServiceAccountHandler::askFilename(), and AP_UnixDialog_GenericInput::eventOk().
void AP_Dialog_GenericInput::setLabel | ( | const UT_UTF8String & | sLabel | ) | [inline] |
References m_sLabel.
Referenced by ServiceAccountHandler::askFilename(), and ServiceAccountHandler::askPassword().
void AP_Dialog_GenericInput::setMinLenght | ( | UT_uint32 | iMinLength | ) | [inline] |
References m_iMinLength.
Referenced by ServiceAccountHandler::askFilename(), and ServiceAccountHandler::askPassword().
void AP_Dialog_GenericInput::setPassword | ( | bool | bIsPassword | ) | [inline] |
References m_bIsPassword.
Referenced by ServiceAccountHandler::askFilename(), and ServiceAccountHandler::askPassword().
void AP_Dialog_GenericInput::setQuestion | ( | const UT_UTF8String & | sQuestion | ) | [inline] |
References m_sQuestion.
Referenced by ServiceAccountHandler::askFilename(), and ServiceAccountHandler::askPassword().
void AP_Dialog_GenericInput::setTitle | ( | const UT_UTF8String & | sTitle | ) | [inline] |
References m_sTitle.
Referenced by ServiceAccountHandler::askFilename(), and ServiceAccountHandler::askPassword().
bool AP_Dialog_GenericInput::m_bIsPassword [private] |
Referenced by isPassword(), and setPassword().
Referenced by getMinLenght(), and setMinLenght().
UT_UTF8String AP_Dialog_GenericInput::m_input [private] |
Referenced by getInput(), and setInput().
Referenced by getLabel(), and setLabel().
Referenced by getQuestion(), and setQuestion().
Referenced by getTitle(), and setTitle().