Creates a dialog from ui-type file.
More...
#include <FormDialog.h>
|
| FormDialog (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) |
| Constructor.
|
|
QSize | sizeHint () const override |
| Overridden to return the size of the contained UI file.
|
|
void | load (QFile file) |
| Loads a UI-file into the dialog.
|
|
void | loadAlt (QFile file) |
| Alternative for loading UI-file in the dialog.
|
|
Q_SIGNAL void | resizing (QResizeEvent *event) |
| Signal to resize content.
|
|
|
void | resizeEvent (QResizeEvent *event) override |
| Overridden to emit resizing signal.
|
|
Creates a dialog from ui-type file.
◆ FormDialog()
sf::FormDialog::FormDialog |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = Qt::WindowFlags() |
|
) |
| |
|
explicit |
◆ load()
void sf::FormDialog::load |
( |
QFile |
file | ) |
|
Loads a UI-file into the dialog.
◆ loadAlt()
void sf::FormDialog::loadAlt |
( |
QFile |
file | ) |
|
Alternative for loading UI-file in the dialog.
◆ resizeEvent()
void sf::FormDialog::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
overrideprotected |
Overridden to emit resizing signal.
◆ resizing()
Q_SIGNAL void sf::FormDialog::resizing |
( |
QResizeEvent * |
event | ) |
|
Signal to resize content.
◆ sizeHint()
QSize sf::FormDialog::sizeHint |
( |
| ) |
const |
|
override |
Overridden to return the size of the contained UI file.
The documentation for this class was generated from the following file: