Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
delpages.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 DELPAGES_H
8
#define DELPAGES_H
9
10
#include "scribusapi.h"
11
#include <QVBoxLayout>
12
#include <QHBoxLayout>
13
#include <QDialog>
14
15
class
QLabel;
16
class
QPushButton;
17
class
ScrSpinBox
;
18
19
class
SCRIBUS_API
DelPages
:
public
QDialog
20
{
21
Q_OBJECT
22
23
public
:
24
DelPages
( QWidget* parent,
int
currentPage,
int
maxPage );
25
~
DelPages
() {};
26
27
int
getFromPage()
const
;
28
int
getToPage()
const
;
29
30
private
:
31
QVBoxLayout* dialogLayout;
32
QHBoxLayout* fromToLayout;
33
QHBoxLayout* okCancelLayout;
34
35
QPushButton* cancelButton;
36
QPushButton* okButton;
37
QLabel* fromLabel;
38
QLabel* toLabel;
39
ScrSpinBox
* toPageData;
40
ScrSpinBox
* fromPageData;
41
42
private
slots:
43
virtual
void
fromChanged();
44
virtual
void
toChanged();
45
};
46
47
#endif // DELPAGES_H
ScrSpinBox
ScrSpinBox is a Qt4 replacement for our old ScrSpinBox using Qt3.
Definition:
scrspinbox.h:21
DelPages
Definition:
delpages.h:19
scribus
ui
delpages.h
Generated on Tue Sep 29 2015 09:15:18 for Scribus by
1.8.9.1