Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::FormDialog Class Referencefinal

Creates a dialog from ui-type file. More...

#include <FormDialog.h>

Inheritance diagram for sf::FormDialog:
Collaboration diagram for sf::FormDialog:

Public Member Functions

 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.
 

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
 Overridden to emit resizing signal.
 

Detailed Description

Creates a dialog from ui-type file.

Constructor & Destructor Documentation

◆ FormDialog()

sf::FormDialog::FormDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = Qt::WindowFlags() 
)
explicit

Constructor.

Member Function Documentation

◆ 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: