You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
758 B

#ifndef LISTEDITORDIALOG_H
#define LISTEDITORDIALOG_H
#include <QDialog>
#include <QString>
#include <QChar>
#include <QList>
#include <QStringList>
namespace Ui {
class ListEditorDialog;
}
class ListEditorDialog : public QDialog
{
Q_OBJECT
public:
explicit ListEditorDialog(QWidget *parent = nullptr, QString listStr = "", QChar separator = '\0');
~ListEditorDialog();
QString list();
private slots:
void onAddItemButtonClicked();
void onRemoveItemButtonClicked();
void onMoveUpItemButtonClicked();
void onMoveDownItemButtonClicked();
void onOkButtonClicked();
void onCancelButtonClicked();
private:
Ui::ListEditorDialog *ui;
QString origListStr;
bool listModified;
};
#endif // LISTEDITORDIALOG_H