|
|
@ -331,7 +331,7 @@ public: |
|
|
|
class UInt16StringItem : public BaseFormattedStringItem { |
|
|
|
class UInt16StringItem : public BaseFormattedStringItem { |
|
|
|
public: |
|
|
|
public: |
|
|
|
UInt16StringItem(ConfigOption option_, QLineEdit* lineEdit_, QString fieldNameTranslated_) : |
|
|
|
UInt16StringItem(ConfigOption option_, QLineEdit* lineEdit_, QString fieldNameTranslated_) : |
|
|
|
BaseFormattedStringItem(option_, lineEdit_, fieldNameTranslated_, QApplication::tr("Must be unsigned 16-bit integer")) {}; |
|
|
|
BaseFormattedStringItem(option_, lineEdit_, fieldNameTranslated_, QApplication::tr("Must be unsigned 16-bit integer.")) {}; |
|
|
|
virtual ~UInt16StringItem(){} |
|
|
|
virtual ~UInt16StringItem(){} |
|
|
|
virtual bool isValid(){ |
|
|
|
virtual bool isValid(){ |
|
|
|
auto str=lineEdit->text(); |
|
|
|
auto str=lineEdit->text(); |
|
|
|