The WindowTab class.
More...
#include <windowtab.h>
◆ WindowTab() [1/3]
◆ WindowTab() [2/3]
◆ WindowTab() [3/3]
◆ ~WindowTab()
◆ getUiData()
virtual ui::TabData getUiData |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ setUiData()
void setUiData |
( |
const ui::TabData & |
data | ) |
|
|
virtualnoexcept |
◆ activate()
virtual void activate |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ deactivate()
virtual void deactivate |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ trigger()
void trigger |
( |
ui::TabAction |
a | ) |
|
|
virtualnoexcept |
◆ renderScene()
slint::Image renderScene |
( |
float |
width, |
|
|
float |
height, |
|
|
int |
scene |
|
) |
| |
|
virtualnoexcept |
◆ processScenePointerEvent()
bool processScenePointerEvent |
( |
const QPointF & |
pos, |
|
|
slint::private_api::PointerEvent |
e |
|
) |
| |
|
virtualnoexcept |
◆ processSceneScrolled()
bool processSceneScrolled |
( |
const QPointF & |
pos, |
|
|
slint::private_api::PointerScrollEvent |
e |
|
) |
| |
|
virtualnoexcept |
◆ processSceneKeyEvent()
bool processSceneKeyEvent |
( |
const slint::private_api::KeyEvent & |
e | ) |
|
|
virtualnoexcept |
◆ requestClose()
virtual bool requestClose |
( |
| ) |
|
|
inlinevirtualnoexcept |
Request to close the tab.
If there are unsaved changes to the tab, this method will ask the user whether the changes should be saved or not. If the user clicks on "cancel" or the changes could not be saved successfully, this method will return false. If there were no unsaved changes or they were successfully saved, the method returns true.
- Return values
-
true | Tab is safe to be closed. |
false | Tab still has unsaved changes. |
Reimplemented in ComponentCategoryTab, PackageCategoryTab, and SymbolTab.
◆ operator=()
◆ panelPageRequested
void panelPageRequested |
( |
ui::PanelPage |
p | ) |
|
|
signal |
◆ closeRequested
◆ closeEnforced
◆ statusBarMessageChanged
void statusBarMessageChanged |
( |
const QString & |
message, |
|
|
int |
timeoutMs |
|
) |
| |
|
signal |
◆ cursorCoordinatesChanged
void cursorCoordinatesChanged |
( |
const Point & |
pos, |
|
|
const LengthUnit & |
unit |
|
) |
| |
|
signal |
◆ onUiDataChanged
◆ mApp
The documentation for this class was generated from the following files: