Allow empty string as argument and increase max length of argument

This commit is contained in:
WarmUpTill
2023-07-30 22:36:57 +02:00
committed by WarmUpTill
parent 211eac5313
commit 5be2cd278f
3 changed files with 12 additions and 6 deletions

View File

@@ -25,7 +25,8 @@ class StringListEdit : public QWidget {
public:
StringListEdit(QWidget *parent, const QString &addString = "",
const QString &addStringDescription = "");
const QString &addStringDescription = "",
int maxStringSize = 170, bool allowEmtpy = false);
void SetStringList(const StringList &);
void SetMaxStringSize(int);
@@ -55,6 +56,7 @@ private:
QString _addString;
QString _addStringDescription;
int _maxStringSize = 170;
bool _allowEmpty = false;
};
} // namespace advss