1.8 |
Popup window. More...
Public Member Functions | |
PopupType (const Size &size={}, const Point &point={}) noexcept | |
PopupType (Serializer::Properties &props) noexcept | |
void | hide () override |
Hide the Widget. More... | |
void | show () override |
Show the Widget. More... | |
virtual void | show_centered () |
Show the window centered. More... | |
virtual void | show_modal (bool center=false) |
Show the window in modal mode. More... | |
Protected Member Functions | |
PopupType (Serializer::Properties &props, bool is_derived) noexcept | |
Popup window.
This is a utility class that manages a popup window with extra features like automatic centering and modal mode.
size | The size of the Window. |
point | The origin point of the window. |
|
inlineexplicitnoexcept |
|
inlineexplicitprotectednoexcept |
|
inlineoverride |
|
inlineoverride |
Show the Widget.
Always move the widget to the top.
|
inlinevirtual |
Show the window centered.
Position the window the center of its parent, or if it has no parent, the screen.
Reimplemented in FileSaveDialog, and FileDialog.
|
inlinevirtual |
Show the window in modal mode.
This means it will explicitly steal all input events as long as it is visible.