Widget for Margins setting. Used e.g. in "New Doc Dialog" or "Preferences".
More...
#include <marginwidget.h>
|
void | setTop () |
| Recompute the values after spinbox change.
|
|
void | setBottom () |
|
void | setLeft () |
|
void | setRight () |
|
void | setPreset () |
| Recompute margins in PresetLayout combobox and disable/enable widgets.
|
|
void | slotLinkBleeds () |
|
void | slotLinkMargins () |
|
void | changeBleeds () |
|
|
virtual void | setMarginsToPrinterMargins () |
|
|
void | updateMarginSpinValues () |
|
|
QGridLayout * | GroupLayout |
|
QHBoxLayout * | marginsForPagesLayout |
|
QGridLayout * | BleedGroupLayout |
|
QString | m_pageSize |
|
int | m_unitIndex |
|
double | m_unitRatio |
|
bool | facingPages |
| if the outer facing palette points to the facing pages item
|
|
bool | useBleeds |
|
int | pageType |
|
MarginStruct | savedMargins |
|
int | savedPresetItem |
|
Widget for Margins setting. Used e.g. in "New Doc Dialog" or "Preferences".
MarginWidget::MarginWidget |
( |
QWidget * |
parent, |
|
|
QString |
title, |
|
|
const MarginStruct * |
margs, |
|
|
int |
unitIndex, |
|
|
bool |
showChangeAll = false , |
|
|
bool |
showBleeds = true |
|
) |
| |
It creates an user interface for base margin settings for the document.
- Parameters
-
parent | Parent widget (used as standard in Qt) |
title | Title of the Group box |
margs | A reference to the margins in the preferences. |
unitIndex | and index of the unit combobox |
showChangeAll | show "apply to all pages" related items |
Fix Me to move this to the prefsmanager.cpp someday
double MarginWidget::bottom |
( |
void |
| ) |
const |
Bottom Margin.
- Return values
-
double MarginWidget::bottomBleed |
( |
| ) |
const |
Bottom Bleed.
- Return values
-
bool MarginWidget::getMarginsForAllPages |
( |
| ) |
const |
Return marginsForAllPages property.
- Return values
-
bool | true to apply for all pages |
double MarginWidget::left |
( |
| ) |
const |
Left Margin.
- Return values
-
double MarginWidget::leftBleed |
( |
| ) |
const |
Left Bleed.
- Return values
-
double MarginWidget::right |
( |
| ) |
const |
Right Margin.
- Return values
-
double MarginWidget::rightBleed |
( |
| ) |
const |
Right Bleed.
- Return values
-
set new bleed values for the dialog
- Parameters
-
set new margin values for the dialog It calls overridden setTop(), setBottom() etc. slots itself via signals emitted from spinboxes.
- Parameters
-
double MarginWidget::top |
( |
void |
| ) |
const |
Top Margin.
- Return values
-
double MarginWidget::topBleed |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/ui/marginwidget.h
- /Users/ale/src/Scribus/scribus/ui/marginwidget.cpp