Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
DlgDesktopSize.h
1#ifndef DLGDESKTOPSIZE_H
2#define DLGDESKTOPSIZE_H
3
4#include <QDialog>
5#include <QStandardItemModel>
6
7namespace Ui {
9}
10
11class CDlgDesktopSize : public QDialog
12{
13 Q_OBJECT
14
15public:
16 explicit CDlgDesktopSize(QWidget *parent = nullptr);
17 virtual ~CDlgDesktopSize();
18
19 void SetDesktopSizes(const QStringList& lstSize);
20 const QStringList GetDesktopSize();
21
22private slots:
23 void on_pbAdd_clicked();
24 void on_pbRemove_clicked();
25 void slotItemChanged(QStandardItem *item);
26
27private:
28 bool checkFormat(QString size);
29
30private:
31 Ui::CDlgDesktopSize *ui;
32
33 QStringList m_lstDesktopSize;
34 QStandardItemModel* m_pModel;
35};
36
37#endif // DLGDESKTOPSIZE_H