Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
propertywidget_textcolor.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 PROPERTYWIDGET_TEXTCOLOR_H
8
#define PROPERTYWIDGET_TEXTCOLOR_H
9
10
#include "ui_propertywidget_textcolorbase.h"
11
12
#include "propertywidgetbase.h"
13
14
class
ScribusDoc
;
15
class
ScribusMainWindow
;
16
17
class
PropertyWidget_TextColor
:
public
QFrame, Ui::PropertyWidget_TextColorBase,
18
public
PropertyWidgetBase
19
{
20
Q_OBJECT
21
22
public
:
23
PropertyWidget_TextColor
(QWidget* parent);
24
~
PropertyWidget_TextColor
() {};
25
26
void
updateColorList();
27
void
setCurrentItem(
PageItem
*i);
28
29
protected
:
30
PageItem
* m_item;
31
ScribusMainWindow
* m_ScMW;
32
33
void
connectSignals();
34
void
disconnectSignals();
35
36
void
configureWidgets(
void
);
37
38
virtual
void
changeEvent(QEvent *e);
39
40
public
slots:
41
void
setMainWindow(
ScribusMainWindow
*mw);
42
void
setDoc(
ScribusDoc
*d);
43
44
void
handleSelectionChanged();
45
void
handleUpdateRequest(
int
);
46
47
void
languageChange();
48
void
unitChange() {};
49
50
void
showOutlineW(
double
x);
51
void
showShadowOffset(
double
x,
double
y);
52
void
showStrikeThru(
double
p,
double
w);
53
void
showTextColors(QString p, QString b,
double
shp,
double
shb);
54
void
showTextEffects(
int
s);
55
void
showUnderline(
double
p,
double
w);
56
57
void
updateCharStyle(
const
CharStyle
& charStyle);
58
void
updateStyle(
const
ParagraphStyle
& newCurrent);
59
60
private
slots:
61
void
handleOutlineWidth();
62
void
handleShadowOffs();
63
void
handleStrikeThru();
64
void
handleTextFill();
65
void
handleTextShade();
66
void
handleTextStroke();
67
void
handleTextDirection();
68
void
handleTypeStyle(
int
s);
69
void
handleUnderline();
70
};
71
72
#endif
CharStyle
Definition:
charstyle.h:78
PropertyWidget_TextColor
Definition:
propertywidget_textcolor.h:17
ScribusMainWindow
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition:
scribus.h:123
ParagraphStyle
Definition:
paragraphstyle.h:27
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
PropertyWidgetBase
Definition:
propertywidgetbase.h:16
PageItem
Definition:
pageitem.h:92
scribus
ui
propertywidget_textcolor.h
Generated on Tue Sep 29 2015 09:15:23 for Scribus by
1.8.9.1