Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
pagepalette_masterpages.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 PAGEPALETTE_MASTERPAGES_H
8
#define PAGEPALETTE_MASTERPAGES_H
9
10
class
QCloseEvent;
11
class
QHBoxLayout;
12
class
QListWidget;
13
class
QListWidgetItem;
14
class
QToolButton;
15
class
QVBoxLayout;
16
17
#include "scribusapi.h"
18
#include "ui_pagepalette_masterpagesbase.h"
19
class
ScribusDoc
;
20
class
ScribusView
;
21
22
25
class
SCRIBUS_API
PagePalette_MasterPages
:
public
QWidget, Ui::PagePalette_MasterPagesBase
26
{
27
Q_OBJECT
28
29
friend
class
PagePalette
;
30
31
public
:
32
PagePalette_MasterPages
( QWidget* parent,
ScribusView
*pCurrentView, QString masterPageName);
33
~
PagePalette_MasterPages
() {};
34
35
void
setView(
ScribusView
* view, QString masterPageName =
""
);
36
37
void
updateMasterPageList(
void
);
38
void
updateMasterPageList(QString MasterPageName);
39
40
public
slots:
41
void
languageChange();
42
void
styleChange();
43
void
selectMasterPage(QString name);
44
45
private
:
46
QString m_currentPage;
47
ScribusDoc
*m_doc;
48
ScribusView
*m_view;
49
50
protected
:
51
void
connectSignals();
52
void
disconnectSignals();
53
54
virtual
void
changeEvent(QEvent *e);
55
56
private
slots:
57
void
duplicateMasterPage();
58
void
deleteMasterPage();
59
void
newMasterPage();
60
void
renameMasterPage(QListWidgetItem * item);
61
void
importPage();
62
void
selectMasterPage(QListWidgetItem *item);
63
64
signals:
65
void
removePage(
int
);
66
void
finished();
67
};
68
69
#endif // MUSTERPAGES_H
PagePalette
Definition:
pagepalette.h:33
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
PagePalette_MasterPages
A dialog to manage/edit Master Pages.
Definition:
pagepalette_masterpages.h:25
ScribusView
Definition:
scribusview.h:87
scribus
ui
pagepalette_masterpages.h
Generated on Tue Sep 29 2015 09:15:20 for Scribus by
1.8.9.1