RabbitCommon v2.2.6
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | Static Private Attributes | List of all members
QUIInputBox Class Reference
Inheritance diagram for QUIInputBox:

Public Member Functions

 QUIInputBox (QWidget *parent=0)
 
void setParameter (const QString &title, int type=0, int closeSec=0, QString defaultValue=QString(), bool pwd=false)
 
QString getValue () const
 

Static Public Member Functions

static QUIInputBoxInstance ()
 

Protected Member Functions

void closeEvent (QCloseEvent *)
 
bool eventFilter (QObject *obj, QEvent *evt)
 

Private Slots

void initControl ()
 
void initForm ()
 
void checkSec ()
 
void on_btnOk_clicked ()
 
void on_btnMenu_Close_clicked ()
 

Private Attributes

QVBoxLayout * verticalLayout1
 
QWidget * widget_title
 
QHBoxLayout * horizontalLayout1
 
QLabel * lab_Ico
 
QLabel * lab_Title
 
QLabel * labTime
 
QWidget * widget_menu
 
QHBoxLayout * horizontalLayout2
 
QPushButton * btnMenu_Close
 
QWidget * widgetMain
 
QVBoxLayout * verticalLayout2
 
QFrame * frame
 
QVBoxLayout * verticalLayout3
 
QLabel * labInfo
 
QLineEdit * txtValue
 
QComboBox * cboxValue
 
QHBoxLayout * lay
 
QSpacerItem * horizontalSpacer
 
QPushButton * btnOk
 
QPushButton * btnCancel
 
int closeSec
 
int currentSec
 
QString value
 

Static Private Attributes

static QUIInputBoxself = 0
 

Detailed Description

Definition at line 273 of file QUIWidget.h.

Constructor & Destructor Documentation

◆ QUIInputBox()

QUIInputBox::QUIInputBox ( QWidget *  parent = 0)
explicit

Definition at line 1004 of file QUIWidget.cpp.

◆ ~QUIInputBox()

QUIInputBox::~QUIInputBox ( )

Definition at line 1010 of file QUIWidget.cpp.

Member Function Documentation

◆ checkSec

void QUIInputBox::checkSec ( )
privateslot

Definition at line 1194 of file QUIWidget.cpp.

◆ closeEvent()

void QUIInputBox::closeEvent ( QCloseEvent *  )
protected

Definition at line 1238 of file QUIWidget.cpp.

◆ eventFilter()

bool QUIInputBox::eventFilter ( QObject *  obj,
QEvent *  evt 
)
protected

Definition at line 1244 of file QUIWidget.cpp.

◆ getValue()

QString QUIInputBox::getValue ( ) const

Definition at line 1233 of file QUIWidget.cpp.

◆ initControl

void QUIInputBox::initControl ( )
privateslot

Definition at line 1015 of file QUIWidget.cpp.

◆ initForm

void QUIInputBox::initForm ( )
privateslot

Definition at line 1161 of file QUIWidget.cpp.

◆ Instance()

static QUIInputBox * QUIInputBox::Instance ( )
inlinestatic

Definition at line 281 of file QUIWidget.h.

◆ on_btnMenu_Close_clicked

void QUIInputBox::on_btnMenu_Close_clicked ( )
privateslot

Definition at line 1281 of file QUIWidget.cpp.

◆ on_btnOk_clicked

void QUIInputBox::on_btnOk_clicked ( )
privateslot

Definition at line 1269 of file QUIWidget.cpp.

◆ setParameter()

void QUIInputBox::setParameter ( const QString &  title,
int  type = 0,
int  closeSec = 0,
QString  defaultValue = QString(),
bool  pwd = false 
)

Definition at line 1210 of file QUIWidget.cpp.

Member Data Documentation

◆ btnCancel

QPushButton* QUIInputBox::btnCancel
private

Definition at line 322 of file QUIWidget.h.

◆ btnMenu_Close

QPushButton* QUIInputBox::btnMenu_Close
private

Definition at line 311 of file QUIWidget.h.

◆ btnOk

QPushButton* QUIInputBox::btnOk
private

Definition at line 321 of file QUIWidget.h.

◆ cboxValue

QComboBox* QUIInputBox::cboxValue
private

Definition at line 318 of file QUIWidget.h.

◆ closeSec

int QUIInputBox::closeSec
private

Definition at line 325 of file QUIWidget.h.

◆ currentSec

int QUIInputBox::currentSec
private

Definition at line 326 of file QUIWidget.h.

◆ frame

QFrame* QUIInputBox::frame
private

Definition at line 314 of file QUIWidget.h.

◆ horizontalLayout1

QHBoxLayout* QUIInputBox::horizontalLayout1
private

Definition at line 305 of file QUIWidget.h.

◆ horizontalLayout2

QHBoxLayout* QUIInputBox::horizontalLayout2
private

Definition at line 310 of file QUIWidget.h.

◆ horizontalSpacer

QSpacerItem* QUIInputBox::horizontalSpacer
private

Definition at line 320 of file QUIWidget.h.

◆ lab_Ico

QLabel* QUIInputBox::lab_Ico
private

Definition at line 306 of file QUIWidget.h.

◆ lab_Title

QLabel* QUIInputBox::lab_Title
private

Definition at line 307 of file QUIWidget.h.

◆ labInfo

QLabel* QUIInputBox::labInfo
private

Definition at line 316 of file QUIWidget.h.

◆ labTime

QLabel* QUIInputBox::labTime
private

Definition at line 308 of file QUIWidget.h.

◆ lay

QHBoxLayout* QUIInputBox::lay
private

Definition at line 319 of file QUIWidget.h.

◆ self

QUIInputBox * QUIInputBox::self = 0
staticprivate

Definition at line 301 of file QUIWidget.h.

◆ txtValue

QLineEdit* QUIInputBox::txtValue
private

Definition at line 317 of file QUIWidget.h.

◆ value

QString QUIInputBox::value
private

Definition at line 327 of file QUIWidget.h.

◆ verticalLayout1

QVBoxLayout* QUIInputBox::verticalLayout1
private

Definition at line 303 of file QUIWidget.h.

◆ verticalLayout2

QVBoxLayout* QUIInputBox::verticalLayout2
private

Definition at line 313 of file QUIWidget.h.

◆ verticalLayout3

QVBoxLayout* QUIInputBox::verticalLayout3
private

Definition at line 315 of file QUIWidget.h.

◆ widget_menu

QWidget* QUIInputBox::widget_menu
private

Definition at line 309 of file QUIWidget.h.

◆ widget_title

QWidget* QUIInputBox::widget_title
private

Definition at line 304 of file QUIWidget.h.

◆ widgetMain

QWidget* QUIInputBox::widgetMain
private

Definition at line 312 of file QUIWidget.h.


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