API Documentation
Loading...
Searching...
No Matches
PopupInfo Struct Reference

Class which is used to pass arguments and requests for creating a popup dialog or widget. You can request things like fullscreen, whether or not the dialog is closable, etc, as well as the animation origin for the popup. More...

#include <PopupInfo.h>

Public Member Functions

 PopupInfo ()
 
 PopupInfo (const QRect &rect)
 
 PopupInfo (QWidget *widget)
 

Public Attributes

bool allow_title_autohide = false
 
int animation_speed = -1
 
bool closable = false
 
bool delete_on_hide = false
 
std::function< void()> finished_callback
 
bool fullscreen = false
 
bool hideable = false
 
bool is_popup_menu = false
 
bool make_call_widget_dialog = false
 
Qt::WindowModality modality = Qt::WindowModality::NonModal
 
QWidget * parent_widget = nullptr
 
QRect rect
 
bool request_dock = false
 
bool request_margins = false
 
QWidget * widget = nullptr
 
bool windowable = false
 

Detailed Description

Class which is used to pass arguments and requests for creating a popup dialog or widget. You can request things like fullscreen, whether or not the dialog is closable, etc, as well as the animation origin for the popup.


Constructor & Destructor Documentation

◆ PopupInfo() [1/3]

PopupInfo ( )
inline

◆ PopupInfo() [2/3]

PopupInfo ( const QRect & rect)
inline

◆ PopupInfo() [3/3]

PopupInfo ( QWidget * widget)

Member Data Documentation

◆ allow_title_autohide

bool allow_title_autohide = false

◆ animation_speed

int animation_speed = -1

◆ closable

bool closable = false

◆ delete_on_hide

bool delete_on_hide = false

◆ finished_callback

std::function<void()> finished_callback

◆ fullscreen

bool fullscreen = false

◆ hideable

bool hideable = false

◆ is_popup_menu

bool is_popup_menu = false

◆ make_call_widget_dialog

bool make_call_widget_dialog = false

◆ modality

Qt::WindowModality modality = Qt::WindowModality::NonModal

◆ parent_widget

QWidget* parent_widget = nullptr

◆ rect

QRect rect

◆ request_dock

bool request_dock = false

◆ request_margins

bool request_margins = false

◆ widget

QWidget* widget = nullptr

◆ windowable

bool windowable = false

The documentation for this struct was generated from the following file: