Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
propertiespalette_group.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 PROPERTIESPALETTE_GROUP_H
8
#define PROPERTIESPALETTE_GROUP_H
9
10
#include "ui_propertiespalette_groupbase.h"
11
12
#include "scribusapi.h"
13
#include "pageitem.h"
14
#include "scguardedptr.h"
15
16
class
ScribusDoc
;
17
class
ScribusMainWindow
;
18
class
Selection
;
19
20
class
SCRIBUS_API
PropertiesPalette_Group
:
public
QWidget, Ui::PropertiesPalette_GroupBase
21
{
22
Q_OBJECT
23
24
public
:
25
PropertiesPalette_Group
(QWidget* parent);
26
~
PropertiesPalette_Group
() {};
27
28
virtual
void
changeEvent(QEvent *e);
29
30
void
showTextFlowMode(
PageItem::TextFlowMode
mode);
31
32
void
updateColorList();
33
void
updateColorSpecialGradient();
34
35
protected
:
36
37
bool
m_haveDoc;
38
bool
m_haveItem;
39
bool
m_userActionOn;
40
double
m_unitRatio;
41
int
m_unitIndex;
42
43
PageItem
*m_item;
44
ScribusMainWindow
* m_ScMW;
45
ScGuardedPtr<ScribusDoc>
m_doc;
46
Selection
* m_tmpSelection;
47
48
private
:
49
50
PageItem
* currentItemFromSelection();
51
52
public
slots:
53
void
setMainWindow(
ScribusMainWindow
*mw);
54
55
void
setDoc(
ScribusDoc
*d);
56
void
setCurrentItem(
PageItem
*i);
57
void
unsetDoc();
58
void
unsetItem();
59
60
void
handleSelectionChanged();
61
void
handleUpdateRequest(
int
);
62
63
void
languageChange();
64
void
unitChange();
65
66
private
slots:
67
68
void
handleGradientChanged();
69
void
handleGroupTransparency(
double
trans);
70
void
handleGroupBlending(
int
blend);
71
void
handleGroupGradMask(
int
typ);
72
void
handleGroupPatternMask(QString pattern);
73
void
handleGroupPatternMaskProps(
double
,
double
,
double
,
double
,
double
,
double
,
double
,
bool
,
bool
);
74
75
void
handleTextFlow();
76
void
handleNewShape(
int
f,
int
c, qreal *vals);
77
78
void
handleFillRule();
79
void
handleClipping();
80
void
handleShapeEdit();
81
void
handleShapeEditEnded();
82
83
void
handleSpecialGradient(
double
,
double
,
double
,
double
,
double
,
double
,
double
,
double
);
84
void
handleGradientEdit();
85
86
signals:
87
void
shapeChanged(
int
);
88
void
shapeEditStarted();
89
};
90
91
#endif
PropertiesPalette_Group
Definition:
propertiespalette_group.h:20
ScribusMainWindow
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition:
scribus.h:123
PageItem::TextFlowMode
TextFlowMode
Text flow mode.
Definition:
pageitem.h:198
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
PageItem
Definition:
pageitem.h:92
ScGuardedPtr< ScribusDoc >
Selection
Definition:
selection.h:34
scribus
ui
propertiespalette_group.h
Generated on Tue Sep 29 2015 09:15:22 for Scribus by
1.8.9.1