forked from openkylin/docs
更新翻译
Signed-off-by: jlspcdd1227dd <12046126+jlspcdd1227dd@user.noreply.gitee.com>
This commit is contained in:
parent
00d8e775bd
commit
3168a8a116
|
@ -1600,55 +1600,55 @@ int decimals, bool *ok, Qt::WindowFlags flags)
|
|||
| statement | describe |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|
|
||||
| void setInputMode(InputMode mode); | set input mode |
|
||||
| InputMode inputMode() const; | 获取输入模式 |
|
||||
| void setLabelText(const QString &text); | 设置标签文本 |
|
||||
| QString labelText() const; | 获取标签文本 |
|
||||
| void setOption(InputDialogOption option, bool on = true); | 设置选项 |
|
||||
| bool testOption(InputDialogOption option) const; | 测试选项 |
|
||||
| void setOptions(InputDialogOptions options); | 设置选项 |
|
||||
| InputDialogOptions options() const; | 获取输入框选项 |
|
||||
| void setTextValue(const QString &text); | 设置文本值 |
|
||||
| QString textValue() const; | 获取文本值 |
|
||||
| void setTextEchoMode(QLineEdit::EchoMode mode); | 设置文本模式 |
|
||||
| QLineEdit::EchoMode textEchoMode() const; | 获取文本模式 |
|
||||
| void setComboBoxEditable(bool editable); | 设置组合框可编辑 |
|
||||
| bool isComboBoxEditable() const; | 返回组合框是否可以编辑 |
|
||||
| void setComboBoxItems(const QStringList &items); | 设置组合框项目 |
|
||||
| QStringList comboBoxItems() const; | 返回组合框列表 |
|
||||
| void setIntValue(int value); | 设置int类型的值 |
|
||||
| int intValue() const; | 获取int类型的值 |
|
||||
| void setIntMinimum(int min); | 设置int类型的最低值 |
|
||||
| int intMinimum() const; | 获取int最低值 |
|
||||
| void setIntMaximum(int max); | 设置int类型最大值 |
|
||||
| int intMaximum() const; | 获取int最大值 |
|
||||
| void setIntRange(int min, int max); | 设置int范围 |
|
||||
| void setIntStep(int step); | 设置int步数 |
|
||||
| int intStep() const; | 获取int步数 |
|
||||
| void setDoubleValue(double value); | 设置double值 |
|
||||
| double doubleValue() const; | 获取double值 |
|
||||
| void setDoubleMinimum(double min); | 设置double最小值 |
|
||||
| double doubleMinimum() const; | 获取double最小值 |
|
||||
| void setDoubleMaximum(double max); | 设置double最大值 |
|
||||
| double doubleMaximum() const; | 获取double最大值 |
|
||||
| void setDoubleRange(double min, double max); | 设置double范围 |
|
||||
| void setDoubleDecimals(int decimals); | 设置两个小数 |
|
||||
| int doubleDecimals() const; | 返回小数位数 |
|
||||
| void setOkButtonText(const QString &text); | 设置确认按钮文本 |
|
||||
| QString okButtonText() const; | 获取确认按钮文本 |
|
||||
| void setCancelButtonText(const QString &text); | 设置取消按钮文本 |
|
||||
| QString cancelButtonText() const; | 获取取消按钮文本 |
|
||||
| void open(QObject *receiver, const char *member); | 此函数将其信号之一连接到接收器和成员指定的插槽。特定信号取决于在成员中指定的参数。 |
|
||||
| void setVisible(bool visible) override; | 设置是否可见 |
|
||||
| QSize minimumSizeHint() const override; | 最小尺寸提示 |
|
||||
| QSize sizeHint() const override; | 尺寸提示 |
|
||||
| static QString getText(QWidget *parent,const QString &label,QLineEdit::EchoMode echo = QLineEdit::Normal,const QString &text = String(), bool *ok = nullptr,Qt::WindowFlags flags = Qt::WindowFlags(),Qt::InputMethodHints inputMethodHints = Qt::ImhNone); | 获取文本 |
|
||||
| static QString getMultiLineText(QWidget *parent,const QString &label,const QString &text = QString(), bool *ok = nullptr,Qt::WindowFlags flags = Qt::WindowFlags(),Qt::InputMethodHints inputMethodHints = Qt::ImhNone); | 获取多行文本 |
|
||||
| static QString getItem(QWidget *parent,const QString &label,const QStringList &items, int current = 0, bool editable = true,bool *ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags(),Qt::InputMethodHints inputMethodHints = Qt::ImhNone); | 获取项目 |
|
||||
| static int getInt(QWidget *parent,const QString &label, int value = 0,int minValue = -2147483647, int maxValue = 2147483647,int step = 1, bool *ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()) | 获取int型文本 |
|
||||
| static double getDouble(QWidget *parent,const QString &label,double value = 0, double minValue = -2147483647,double maxValue = 2147483647, int decimals = 1, bool *ok = nullptr,Qt::WindowFlags flags = Qt::WindowFlags()); | 获取double类型文本 |
|
||||
| void setDoubleStep(double step); | 设置double步数 |
|
||||
| double doubleStep() const; | 获取double步数 |
|
||||
| void setPlaceholderText(const QString &); | 设置PlaceholderText的文本内容(自1.2.0.12启用) |
|
||||
| InputMode inputMode() const; | get input mode |
|
||||
| void setLabelText(const QString &text); | set label text |
|
||||
| QString labelText() const; | get label text |
|
||||
| void setOption(InputDialogOption option, bool on = true); | Setting Options |
|
||||
| bool testOption(InputDialogOption option) const; | test options |
|
||||
| void setOptions(InputDialogOptions options); | Setting Options |
|
||||
| InputDialogOptions options() const; | Get input box options |
|
||||
| void setTextValue(const QString &text); | set text value |
|
||||
| QString textValue() const; | get text value |
|
||||
| void setTextEchoMode(QLineEdit::EchoMode mode); | set text mode |
|
||||
| QLineEdit::EchoMode textEchoMode() const; | get text mode |
|
||||
| void setComboBoxEditable(bool editable); | Set the combo box to be editable |
|
||||
| bool isComboBoxEditable() const; | Return whether the combo box can be edited |
|
||||
| void setComboBoxItems(const QStringList &items); | Set combo box item |
|
||||
| QStringList comboBoxItems() const; | Return combo box list |
|
||||
| void setIntValue(int value); | Set the value of type int |
|
||||
| int intValue() const; | Get the value of type int |
|
||||
| void setIntMinimum(int min); | Set the lowest value of type int |
|
||||
| int intMinimum() const; | Get the lowest value of int |
|
||||
| void setIntMaximum(int max); | Set the maximum value of int type |
|
||||
| int intMaximum() const; | Get the maximum value of int |
|
||||
| void setIntRange(int min, int max); | set int range |
|
||||
| void setIntStep(int step); | set int steps |
|
||||
| int intStep() const; | Get int steps |
|
||||
| void setDoubleValue(double value); | set double value |
|
||||
| double doubleValue() const; | get double value |
|
||||
| void setDoubleMinimum(double min); | Set the double minimum value |
|
||||
| double doubleMinimum() const; | Get the minimum value of double |
|
||||
| void setDoubleMaximum(double max); | Set the maximum value of double |
|
||||
| double doubleMaximum() const; | Get the maximum value of double |
|
||||
| void setDoubleRange(double min, double max); | set double range |
|
||||
| void setDoubleDecimals(int decimals); | set two decimals |
|
||||
| int doubleDecimals() const; | returns the number of decimal places |
|
||||
| void setOkButtonText(const QString &text); | Set confirm button text |
|
||||
| QString okButtonText() const; | Get the confirm button text |
|
||||
| void setCancelButtonText(const QString &text); | Set cancel button text |
|
||||
| QString cancelButtonText() const; | get cancel button text |
|
||||
| void open(QObject *receiver, const char *member); | This function connects one of its signals to the receiver and the slot specified by the member. The specific signal depends on the parameters specified in the member. |
|
||||
| void setVisible(bool visible) override; | Whether the setting is visible |
|
||||
| QSize minimumSizeHint() const override; | Min Size Tips |
|
||||
| QSize sizeHint() const override; | size tips |
|
||||
| static QString getText(QWidget *parent,const QString &label,QLineEdit::EchoMode echo = QLineEdit::Normal,const QString &text = String(), bool *ok = nullptr,Qt::WindowFlags flags = Qt::WindowFlags(),Qt::InputMethodHints inputMethodHints = Qt::ImhNone); | get text |
|
||||
| static QString getMultiLineText(QWidget *parent,const QString &label,const QString &text = QString(), bool *ok = nullptr,Qt::WindowFlags flags = Qt::WindowFlags(),Qt::InputMethodHints inputMethodHints = Qt::ImhNone); | get multiline text |
|
||||
| static QString getItem(QWidget *parent,const QString &label,const QStringList &items, int current = 0, bool editable = true,bool *ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags(),Qt::InputMethodHints inputMethodHints = Qt::ImhNone); | get item |
|
||||
| static int getInt(QWidget *parent,const QString &label, int value = 0,int minValue = -2147483647, int maxValue = 2147483647,int step = 1, bool *ok = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()) | get int type text |
|
||||
| static double getDouble(QWidget *parent,const QString &label,double value = 0, double minValue = -2147483647,double maxValue = 2147483647, int decimals = 1, bool *ok = nullptr,Qt::WindowFlags flags = Qt::WindowFlags()); | Get double type text |
|
||||
| void setDoubleStep(double step); | Set the number of double steps |
|
||||
| double doubleStep() const; | Get the number of double steps |
|
||||
| void setPlaceholderText(const QString &); | Set the text content of PlaceholderText (enabled since 1.2.0.12) |
|
||||
| QString placeholderText() const; | Get the text content of PlaceholderText (enabled since 1.2.0.12) |
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue