|
Scribus
Open source desktop publishing at your fingertips
|
This is inherited QComboBox widget used in MarginWidget as "Preset List". It contains functionality for margins setting in various ways. More...
#include <marginpresetlayout.h>


Public Types | |
| enum | presetID { none = 0, gutenberg = 1, magazine = 2, fibonacci = 3, goldencut = 4, nineparts = 5 } |
| Integerized indexes for tr() strings. | |
Public Member Functions | |
| PresetLayout (QWidget *parent=0) | |
| QComboBox like constructor. Values/names are set here. Tooltip etc. too. | |
| MarginStruct | getMargins (int index, double pageWidth, double pageHeight, double leftMargin) |
| Compute the margins here. More... | |
| bool | needUpdate () const |
| returns updateMargins value | |
This is inherited QComboBox widget used in MarginWidget as "Preset List". It contains functionality for margins setting in various ways.
| MarginStruct PresetLayout::getMargins | ( | int | index, |
| double | pageWidth, | ||
| double | pageHeight, | ||
| double | leftMargin | ||
| ) |