DialogSubWindowSelector can force a min and max number of windows
This commit is contained in:
1 parent
356840f6ab
commit
58b19940f3
3 files changed
+42
-25
No files matched your search
@@ -49,7 +49,7 @@ class DialogSubWindowSelector: public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DialogSubWindowSelector( QWidget *parent = 0, QMdiArea *mdiArea = 0, Int numberWindowsSelected = -1 );
|
||||
DialogSubWindowSelector( QWidget *parent = 0, QMdiArea *mdiArea = 0, Int minWindowsSelected = 0, Int maxWindowsSelected = -1 );
|
||||
|
||||
Void setSubWindowList( QStringList cWindowListNames );
|
||||
QStringList getSelectedWindows()
|
||||
@@ -57,12 +57,14 @@ public:
|
||||
return m_pcSelectedWindowListNames;
|
||||
}
|
||||
private:
|
||||
Int m_iNumberOfSelectedWindows;
|
||||
Int m_iMinSelectedWindows;
|
||||
Int m_iMaxSlectedWindows;
|
||||
QMdiArea* m_pcMainWindowMdiArea;
|
||||
QStringList m_pcWindowListNames;
|
||||
QStringList m_pcSelectedWindowListNames;
|
||||
|
||||
QComboBox* m_comboBoxWindowList;
|
||||
QDialogButtonBox* m_pushButtonOkCancel;
|
||||
QPushButton* m_pushButtonAdd;
|
||||
QPushButton* m_pushButtonAddAll;
|
||||
QPushButton* m_pushButtonRemove;
|
||||
|
||||
Reference in new issue
Block a user