Subversion Repositories Scribus

Rev

Rev 14216 | Rev 14226 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13762 cbradney 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
 
8
#include "newmarginwidget.h"
14221 cbradney 9
#include "scrspinbox.h"
10
#include "units.h"
11
#include "ui/marginpresetlayout.h"
12
#include "ui/useprintermarginsdialog.h"
13762 cbradney 13
 
14
NewMarginWidget::NewMarginWidget(QWidget* parent)
15
        : QWidget(parent)
16
{
17
        setupUi(this);
18
 
19
}
20
 
21
NewMarginWidget::~NewMarginWidget()
22
{
23
}
24
 
14221 cbradney 25
void NewMarginWidget::setup(const MarginStruct& margs, int unitIndex, bool showPreset)
26
{
27
        marginData=margs;
28
        savedMarginData=margs;
29
        savedPresetItem=PresetLayout::none;//we dont recheck if we are using a layout but always start at none
30
}
31
 
14216 cbradney 32
void NewMarginWidget::setPageWidth(double)
33
{
34
 
35
}
36
 
37
void NewMarginWidget::setPageHeight(double)
38
{
39
 
40
}
41
 
42
void NewMarginWidget::setPageSize(const QString &newSize)
43
{
44
 
45
}
46
 
47
void NewMarginWidget::setNewUnitIndex(int newIndex)
48
{
49
 
50
}