1.10 |
Popup window. More...
#include <popup.h>
Public Member Functions | |
PopupType (const Size &size={}, const Point &point={}) noexcept | |
PopupType (Serializer::Properties &props) noexcept | |
void | hide () override |
Hide the Widget. | |
void | show () override |
Show the Widget. | |
virtual void | show_centered () |
Show the window centered. | |
virtual void | show_modal (bool center=false) |
Show the window in modal mode. | |
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.
|
inlineexplicitnoexcept |
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 FileDialog, and FileSaveDialog.
|
inlinevirtual |
Show the window in modal mode.
This means it will explicitly steal all input events as long as it is visible.