|
Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
DialogManager manages all the device dialogs. More...
Public Member Functions | |
| void | closeAll () |
| Closes all the device dialogs. More... | |
| DeviceDialog | getCurrentDialog () |
| Returns the currently focused dialog. More... | |
| DeviceDialog | getDialog (string) |
| Returns the device dialog with the specified device name. More... | |
| void | dialogOpened (QString) |
| This event is emitted when the dialog for the specified device is opened. More... | |
| void | dialogClosed (QString) |
| This event is emitted when the dialog for the specified device is closed. More... | |
| void | dialogFocused (QString) |
| This event is emitted when a dialog gets focused. More... | |
| QString | getFocusedDialogName () |
| Returns the device name of the dialog that is currently in focus. More... | |
DialogManager manages all the device dialogs.
| void DialogManager::closeAll | ( | ) |
Closes all the device dialogs.
| void DialogManager::dialogClosed | ( | QString | ) |
This event is emitted when the dialog for the specified device is closed.
IPC event.
| void DialogManager::dialogFocused | ( | QString | ) |
| void DialogManager::dialogOpened | ( | QString | ) |
This event is emitted when the dialog for the specified device is opened.
IPC event.
| DeviceDialog DialogManager::getCurrentDialog | ( | ) |
Returns the currently focused dialog.
| DeviceDialog DialogManager::getDialog | ( | string | ) |
Returns the device dialog with the specified device name.
| deviceName,the | name of the device of interest. |
| QString DialogManager::getFocusedDialogName | ( | ) |
Returns the device name of the dialog that is currently in focus.