The MarginsEditDialog class A simple dialog to edit QMargins.
More...
#include <marginseditdialog.h>
Inherits QDialog.
|
Ui::MarginsEditDialog * | ui |
|
The MarginsEditDialog class A simple dialog to edit QMargins.
◆ MarginsEditDialog()
MarginsEditDialog::MarginsEditDialog |
( |
QMargins |
margins = QMargins() , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~MarginsEditDialog()
MarginsEditDialog::~MarginsEditDialog |
( |
| ) |
|
◆ 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
◆ margins()
QMargins MarginsEditDialog::margins |
( |
| ) |
const |
◆ ui
Ui::MarginsEditDialog* MarginsEditDialog::ui |
|
private |
The documentation for this class was generated from the following files: