Dialog for displaying the list of the application's windows.
More...
#include <WindowsDialog.h>
|
| void | currentWindowChanged (const QModelIndex ¤t, const QModelIndex &previous) |
| | Enables the close button according to the current selection in the list of windows.
|
| |
| void | activateSelectedWindow () |
| | Activates the currently selected window.
|
| |
| void | closeSelectedWindow () |
| | Closes the currently selected window.
|
| |
|
| QStandardItemModel * | m_windowListModel |
| | The model that contains the list of the application's windows.
|
| |
| QItemSelectionModel * | m_selectionModel |
| | The selection model that works on the list of the application's windows.
|
| |
Dialog for displaying the list of the application's windows.
Inheritance Diagram
| Frapper::WindowsDialog::WindowsDialog |
( |
QStandardItemModel * |
windowListModel, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
Constructor of the WindowsDialog class.
- Parameters
-
| windowListModel | The model that contains the list of the application's windows. |
| parent | A parent widget the created instance will be child of. |
| Frapper::WindowsDialog::~WindowsDialog |
( |
| ) |
|
|
virtual |
Destructor of the WindowsDialog class.
Defined virtual to guarantee that the destructor of a derived class will be called if the instance of the derived class is saved in a variable of its parent class type.
| void Frapper::WindowsDialog::currentWindowChanged |
( |
const QModelIndex & |
current, |
|
|
const QModelIndex & |
previous |
|
) |
| |
|
slot |
Enables the close button according to the current selection in the list of windows.
Private Slots.
- Parameters
-
| current | The index of the currently selected item. |
| previous | The index of the previously selected item. |
Enables the close button according to the current selection in the list of windows.
- Parameters
-
| current | The index of the currently selected item. |
| previous | The index of the previously selected item. |
| void Frapper::WindowsDialog::activateSelectedWindow |
( |
| ) |
|
|
slot |
Activates the currently selected window.
| void Frapper::WindowsDialog::closeSelectedWindow |
( |
| ) |
|
|
slot |
Closes the currently selected window.
| QStandardItemModel* Frapper::WindowsDialog::m_windowListModel |
|
private |
The model that contains the list of the application's windows.
| QItemSelectionModel* Frapper::WindowsDialog::m_selectionModel |
|
private |
The selection model that works on the list of the application's windows.
The documentation for this class was generated from the following files: