TopLogin Class

登录对话框 More...

Header: #include <TopLogin>

Public Types

enum Type { Normal, Special }

Public Functions

TopLogin(QWidget *parent = 0)
~TopLogin()

Public Slots

bool closable() const
QString currentProduct() const
QVariantMap getModifyPwdParam()
bool isAutoLogin()
bool isRemPassword()
QString langeuage() const
bool loginVerify()
QString password() const
void reject()
void saveSettings()
void setAutoLogin(bool iAutoLoginBol)
void setClosable(bool iBol)
void setCurrentProduct(const QString &iCurrentProduct)
void setLanguage(const QString &iLangStr)
void setPassword(const QString &iPassword)
void setProductList(const QStringList &iProductStrLst)
void setRemPassword(bool iRemPwdBol)
void setTheme(const QString &iTheme)
void setType(Type iType)
void setUserName(const QString &iUserName)
QString theme() const
Type type() const
QString userName() const

Protected Functions

void closeEvent(QCloseEvent *iEvent)

Detailed Description

登录对话框

Member Type Documentation

enum TopLogin::Type

Member Function Documentation

TopLogin::TopLogin(QWidget *parent = 0)

Default constructs an instance of TopLogin.

TopLogin::~TopLogin()

Destroys the instance of TopLogin.

[slot] bool TopLogin::closable() const

See also setClosable().

[protected] void TopLogin::closeEvent(QCloseEvent *iEvent)

[slot] QString TopLogin::currentProduct() const

See also setCurrentProduct().

[slot] QVariantMap TopLogin::getModifyPwdParam()

[slot] bool TopLogin::isAutoLogin()

[slot] bool TopLogin::isRemPassword()

[slot] QString TopLogin::langeuage() const

[slot] bool TopLogin::loginVerify()

[slot] QString TopLogin::password() const

See also setPassword().

[slot] void TopLogin::reject()

[slot] void TopLogin::saveSettings()

[slot] void TopLogin::setAutoLogin(bool iAutoLoginBol)

See also isAutoLogin().

[slot] void TopLogin::setClosable(bool iBol)

See also closable().

[slot] void TopLogin::setCurrentProduct(const QString &iCurrentProduct)

See also currentProduct().

[slot] void TopLogin::setLanguage(const QString &iLangStr)

[slot] void TopLogin::setPassword(const QString &iPassword)

See also password().

[slot] void TopLogin::setProductList(const QStringList &iProductStrLst)

[slot] void TopLogin::setRemPassword(bool iRemPwdBol)

See also isRemPassword().

[slot] void TopLogin::setTheme(const QString &iTheme)

See also theme().

[slot] void TopLogin::setType(Type iType)

See also type().

[slot] void TopLogin::setUserName(const QString &iUserName)

See also userName().

[slot] QString TopLogin::theme() const

See also setTheme().

[slot] Type TopLogin::type() const

See also setType().

[slot] QString TopLogin::userName() const

See also setUserName().