QElectroTech  0.8-dev
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
MarginsEditDialog Class Reference

The MarginsEditDialog class A simple dialog to edit QMargins. More...

#include <marginseditdialog.h>

Inherits QDialog.

Collaboration diagram for MarginsEditDialog:
Collaboration graph

Public Member Functions

 MarginsEditDialog (QMargins margins=QMargins(), QWidget *parent=nullptr)
 
 ~MarginsEditDialog ()
 
QMargins margins () const
 

Static Public Member Functions

static QMargins getMargins (QMargins margins=QMargins(), bool *accepted=nullptr, QWidget *parent=nullptr)
 MarginsEditDialog::getMargins. More...
 

Private Attributes

Ui::MarginsEditDialog * ui
 

Detailed Description

The MarginsEditDialog class A simple dialog to edit QMargins.

Constructor & Destructor Documentation

◆ MarginsEditDialog()

MarginsEditDialog::MarginsEditDialog ( QMargins  margins = QMargins(),
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~MarginsEditDialog()

MarginsEditDialog::~MarginsEditDialog ( )

Member Function Documentation

◆ getMargins()

QMargins MarginsEditDialog::getMargins ( QMargins  margins = QMargins(),
bool *  accepted = nullptr,
QWidget *  parent = nullptr 
)
static

MarginsEditDialog::getMargins.

Parameters
margins: margins to set by default
accepted: bool to know if dialog is accepted
parent: parent widget.
Returns
The a margins with the edited value if dialog is accepted or a default constructed QMargins() if dialog is rejected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ margins()

QMargins MarginsEditDialog::margins ( ) const
Here is the caller graph for this function:

Member Data Documentation

◆ ui

Ui::MarginsEditDialog* MarginsEditDialog::ui
private

The documentation for this class was generated from the following files: