8 #ifndef SMPSTYLEWIDGET_H
9 #define SMPSTYLEWIDGET_H
13 #include "ui_smpstylewidget.h"
15 #include "styles/styleset.h"
16 #include "ui/charselectenhanced.h"
18 class SMPStyleWidget :
public QWidget, Ui::SMPStyleWidget
25 virtual void changeEvent(QEvent *e);
27 void show(
ParagraphStyle *pstyle, QList<ParagraphStyle> &pstyles, QList<CharStyle> &cstyles,
int unitIndex,
const QString &defLang);
28 void show(QList<ParagraphStyle*> &pstyles, QList<ParagraphStyle> &pstylesAll, QList<CharStyle> &cstyles,
int unitIndex,
const QString &defLang);
31 void languageChange();
32 void unitChange(
double oldRatio,
double newRatio,
int unitIndex);
38 bool m_parentDC, m_parentBul, m_parentNum;
41 QString m_currFontName;
45 void fillBulletStrEditCombo();
46 void fillNumFormatCombo();
47 void fillNumerationsCombo();
48 void fillNumRestartCombo();
49 void checkParEffectState();
50 void showLineSpacing(QList<ParagraphStyle*> &pstyles);
51 void showSpaceAB(QList<ParagraphStyle*> &pstyles,
int unitIndex);
52 void showDropCap(QList<ParagraphStyle*> &pstyles, QList<CharStyle> &cstyles,
int unitIndex);
53 void showBullet(QList<ParagraphStyle*> &pstyles, QList<CharStyle> &cstyles,
int unitIndex);
54 void showNumeration(QList<ParagraphStyle*> &pstyles, QList<CharStyle> &cstyles,
int unitIndex);
55 void showAlignment(QList<ParagraphStyle*> &pstyles);
56 void showOpticalMargin(QList<ParagraphStyle*> &pstyles);
57 void showMinSpace(QList<ParagraphStyle*> &pstyles);
58 void showMinGlyphExt(QList<ParagraphStyle*> &pstyles);
59 void showMaxGlyphExt(QList<ParagraphStyle*> &pstyles);
60 void showTabs(QList<ParagraphStyle*> &pstyles,
int unitIndex);
61 void showCStyle(QList<ParagraphStyle*> &pstyles, QList<CharStyle> &cstyles,
const QString &defLang,
int unitIndex);
62 void showParent(QList<ParagraphStyle*> &pstyles);
63 void setOpticalMargins(
int o,
bool inhO=
false,
const ParagraphStyle *parent=NULL);
66 void closeEnhanced(
bool show =
false);
67 void connectPESignals();
68 void disconnectPESignals();
73 void slotLineSpacingModeChanged(
int);
74 void slotDropCap(
bool isOn);
75 void slotBullets(
bool isOn);
76 void insertSpecialChars(
const QString &);
77 void slotNumbering(
bool isOn);
78 void slotParentParEffects();
79 void slotDefaultOpticalMargins();
80 void slotParentOpticalMargins();
82 void on_bulletCharTableButton_toggled(
bool checked);
83 void handleUpdateRequest(
int);
86 void useParentParaEffects();
87 void useParentOptMargins();
Definition: charstyle.h:78
Character Palette for batch glyphs inserting. Enhanced instance is created/destroyed on every call fr...
Definition: charselectenhanced.h:20
Definition: smtextstyles.h:20
Definition: paragraphstyle.h:27
the Document Class
Definition: scribusdoc.h:90