.TH "kdk::KSecurityQuestionDialog" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KSecurityQuestionDialog \- 继承自 KDialog, .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBkdk::KDialog\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKSecurityQuestionDialog\fP (QWidget *parent=nullptr)" .br .ti -1c .RI "void \fBsetTitleText\fP (const QString &text)" .br .RI "设置对话框标题 " .ti -1c .RI "void \fBaddSecurityQuestionItem\fP (const int count, bool mutex)" .br .RI "添加安全问题控件 Label combox Label lineedit tipsLabel " .ti -1c .RI "void \fBaddSecurityQuestionItem\fP (const int count, bool mutex, bool isVerify)" .br .RI "添加安全问题控件 Label combox/lineedit Label lineedit tipsLabel " .ti -1c .RI "void \fBinitQustionCombox\fP (const QStringList &questionlist)" .br .RI "添加下拉框选项列表 " .ti -1c .RI "QLabel * \fBquestionLabel\fP (const int questionIndex)" .br .RI "获取下拉框左侧Label " .ti -1c .RI "QComboBox * \fBquestionCombox\fP (const int questionIndex)" .br .RI "获取combox " .ti -1c .RI "QLabel * \fBanswerLabel\fP (const int answerIndex)" .br .RI "获取lineedit左侧label " .ti -1c .RI "QLineEdit * \fBanswerLineedit\fP (const int answerIndex)" .br .RI "获取 lineedit " .ti -1c .RI "QLabel * \fBtipsLabel\fP (const int index)" .br .RI "获取提示 label " .ti -1c .RI "\fBKPushButton\fP * \fBcancelButton\fP ()" .br .RI "获取取消按钮 " .ti -1c .RI "\fBKPushButton\fP * \fBconfirmButton\fP ()" .br .RI "获取确认按钮 " .in -1c Public Member Functions inherited from \fBkdk::KDialog\fP .in +1c .ti -1c .RI "\fBKDialog\fP (QWidget *parent=nullptr)" .br .ti -1c .RI "void \fBsetWindowIcon\fP (const QIcon &icon)" .br .RI "设置对话框图标 " .ti -1c .RI "void \fBsetWindowIcon\fP (const QString &iconName)" .br .RI "设置对话框图标 " .ti -1c .RI "void \fBsetWindowTitle\fP (const QString &)" .br .RI "设置对话框标题名称 " .ti -1c .RI "QPushButton * \fBmaximumButton\fP ()" .br .RI "获取最大化按钮 " .ti -1c .RI "QPushButton * \fBminimumButton\fP ()" .br .RI "获取最小化按钮 " .ti -1c .RI "QPushButton * \fBcloseButton\fP ()" .br .RI "获取关闭按钮 " .ti -1c .RI "\fBKMenuButton\fP * \fBmenuButton\fP ()" .br .RI "获取下拉菜单按钮 " .ti -1c .RI "QWidget * \fBmainWidget\fP ()" .br .RI "获取主内容区Widget " .ti -1c .RI "\fBKWindowButtonBar\fP * \fBwindowButtonBar\fP ()" .br .RI "windowButtonBar " .ti -1c .RI "\fBKIconBar\fP * \fBiconBar\fP ()" .br .RI "iconBar " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBkeyPressEvent\fP (QKeyEvent *)" .br .in -1c Protected Member Functions inherited from \fBkdk::KDialog\fP .in +1c .ti -1c .RI "bool \fBeventFilter\fP (QObject *target, QEvent *event) override" .br .ti -1c .RI "void \fBchangeTheme\fP ()" .br .ti -1c .RI "void \fBchangeIconStyle\fP ()" .br .ti -1c .RI "QBoxLayout * \fBmainLayout\fP ()" .br .in -1c .SH "Detailed Description" .PP 继承自 KDialog, .PP \fBSince\fP .RS 4 2\&.4\&.1\&.0 .RE .PP .SH "Member Function Documentation" .PP .SS "void kdk::KSecurityQuestionDialog::addSecurityQuestionItem (const int count, bool mutex)" .PP 添加安全问题控件 Label combox Label lineedit tipsLabel .PP \fBParameters\fP .RS 4 \fIcount\fP 控件个数 .br \fImutex\fP 是否开启下拉框互斥校验,若开启后,已被选择项,在其他下拉框中被置灰 .RE .PP .SS "void kdk::KSecurityQuestionDialog::addSecurityQuestionItem (const int count, bool mutex, bool isVerify)" .PP 添加安全问题控件 Label combox/lineedit Label lineedit tipsLabel .PP \fBParameters\fP .RS 4 \fIcount\fP 控件个数 .br \fImutex\fP 是否开启下拉框互斥校验,若开启后,已被选择项,在其他下拉框中被置灰 .br \fIisVerify\fP 是否为校验窗口 .RE .PP .SS "QLabel * kdk::KSecurityQuestionDialog::answerLabel (const int answerIndex)" .PP 获取lineedit左侧label .PP \fBParameters\fP .RS 4 \fIanswerIndex\fP item索引 [0,count) .RE .PP \fBReturns\fP .RS 4 QLabel lineedit左侧label,若未获取到,返回nullptr .RE .PP .SS "QLineEdit * kdk::KSecurityQuestionDialog::answerLineedit (const int answerIndex)" .PP 获取 lineedit .PP \fBParameters\fP .RS 4 \fIanswerIndex\fP item索引 [0,count) .RE .PP \fBReturns\fP .RS 4 QLineEdit lineedit,若未获取到,返回nullptr .RE .PP .SS "\fBKPushButton\fP * kdk::KSecurityQuestionDialog::cancelButton ()" .PP 获取取消按钮 .PP \fBReturns\fP .RS 4 \fBKPushButton\fP .RE .PP .SS "\fBKPushButton\fP * kdk::KSecurityQuestionDialog::confirmButton ()" .PP 获取确认按钮 .PP \fBReturns\fP .RS 4 \fBKPushButton\fP .RE .PP .SS "void kdk::KSecurityQuestionDialog::initQustionCombox (const QStringList & questionlist)" .PP 添加下拉框选项列表 .PP \fBParameters\fP .RS 4 \fIquestionlist\fP .RE .PP .SS "QComboBox * kdk::KSecurityQuestionDialog::questionCombox (const int questionIndex)" .PP 获取combox .PP \fBParameters\fP .RS 4 \fIquestionIndex\fP item索引 [0,count) .RE .PP \fBReturns\fP .RS 4 QComboBox 下拉框,若未获取到,返回nullptr .RE .PP .SS "QLabel * kdk::KSecurityQuestionDialog::questionLabel (const int questionIndex)" .PP 获取下拉框左侧Label .PP \fBParameters\fP .RS 4 \fIquestionIndex\fP item索引 [0,count) .RE .PP \fBReturns\fP .RS 4 QLabel 下拉框左侧Label,若未获取到,返回nullptr .RE .PP .SS "void kdk::KSecurityQuestionDialog::setTitleText (const QString & text)" .PP 设置对话框标题 .PP \fBParameters\fP .RS 4 \fItext\fP 标题 .RE .PP .SS "QLabel * kdk::KSecurityQuestionDialog::tipsLabel (const int index)" .PP 获取提示 label .PP \fBParameters\fP .RS 4 \fIindex\fP item 索引 [0,count) .RE .PP \fBReturns\fP .RS 4 QLabel 提示label,若未获取到,返回nullptr .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.