10 #ifndef SMTABLESTYLES_H
11 #define SMTABLESTYLES_H
15 #include "styleitem.h"
16 #include "styles/styleset.h"
17 #include "styles/tablestyle.h"
41 QList<StyleName>
styles(
bool reloadFromDoc =
true);
45 void selected(
const QStringList &styleNames);
53 QString
newStyle(
const QString &fromStyle);
63 QString
shortcut(
const QString &styleName)
const;
78 void selectionDirty();
82 SMTableStyleWidget *m_page;
85 QList<TableStyle*> m_selection;
86 QList<RemoveItem> m_deleted;
87 bool m_selectionIsDirty;
89 void updateStylesCache();
90 void setupConnections();
91 void removeConnections();
96 void slotParentChanged(
const QString &parent);
99 #endif // SMTABLESTYLES_H
SMTableStyle()
Constructor.
Definition: smtablestyle.cpp:18
void apply()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:187
void setDefaultStyle(bool isDefaultStyle)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:236
QString newStyle()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:152
QList< StyleName > styles(bool reloadFromDoc=true)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:79
void languageChange()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:385
Definition: smtablestyle.h:23
Represents a style type that can be added to the Style Manager.
Definition: styleitem.h:37
void setCurrentDoc(ScribusDoc *doc)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:53
void reload()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:111
QString getUniqueName(const QString &name)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:358
the Document Class
Definition: scribusdoc.h:90
void toSelection(const QString &styleName) const
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:147
void editMode(bool isOn)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:212
QTabWidget * widget()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:38
void nameChanged(const QString &newName)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:305
QString typeNameSingular()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:48
QString fromSelection() const
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:141
QString typeNamePlural()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:43
QString shortcut(const QString &styleName) const
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:251
void deleteStyles(const QList< RemoveItem > &removeList)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:285
void unitChange()
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:394
bool isDefaultStyle(const QString &styleName) const
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:218
~SMTableStyle()
Destructor.
Definition: smtablestyle.cpp:30
void setShortcut(const QString &shortcut)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:270
void selected(const QStringList &styleNames)
Reimplemented from StyleItem.
Definition: smtablestyle.cpp:116