Add option to limit the number of windows selected in the DialogSubWindowSelector

This commit is contained in:
jfmcarreira committed 2014-05-17 01:05:57 +01:00
1 parent e84525dee7
commit 9630b1d0e5
2 files changed
+20 -6

No files matched your search

+2 -1
View File
@@ -51,7 +51,7 @@ class DialogSubWindowSelector: public QDialog
Q_OBJECT
public:
DialogSubWindowSelector( QWidget *parent = 0, QMdiArea *mdiArea = 0 );
DialogSubWindowSelector( QWidget *parent = 0, QMdiArea *mdiArea = 0, Int numberWindowsSelected = -1 );
Void setSubWindowList( QStringList cWindowListNames );
QStringList getSelectedWindows()
@@ -59,6 +59,7 @@ public:
return m_pcSelectedWindowListNames;
}
private:
Int m_iNumberOfSelectedWindows;
QMdiArea* m_pcMainWindowMdiArea;
QStringList m_pcWindowListNames;
QStringList m_pcSelectedWindowListNames;