Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
marginpresetlayout.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
#ifndef MARGINPRESETLAYOUT_H
8
#define MARGINPRESETLAYOUT_H
9
10
#include "scribusapi.h"
11
#include "scribusstructs.h"
12
13
#include <QComboBox>
14
19
class
SCRIBUS_API
PresetLayout
:
public
QComboBox
20
{
21
Q_OBJECT
22
23
public
:
25
PresetLayout
(QWidget *parent = 0);
26
~
PresetLayout
(){};
27
34
MarginStruct
getMargins(
int
index,
double
pageWidth,
double
pageHeight,
double
leftMargin);
35
37
enum
presetID
38
{
39
none = 0,
40
gutenberg = 1,
41
magazine = 2,
42
fibonacci = 3,
43
goldencut = 4,
44
nineparts = 5
45
};
46
48
bool
needUpdate()
const
;
49
50
private
:
52
bool
updateMargins;
53
};
54
55
56
#endif
MarginStruct
Pagemargins and bleeds.
Definition:
margins.h:25
PresetLayout
This is inherited QComboBox widget used in MarginWidget as "Preset List". It contains functionality f...
Definition:
marginpresetlayout.h:19
PresetLayout::presetID
presetID
Integerized indexes for tr() strings.
Definition:
marginpresetlayout.h:37
scribus
ui
marginpresetlayout.h
Generated on Tue Sep 29 2015 09:15:20 for Scribus by
1.8.9.1