|
| LineStyle (qreal width, const QString &color, qreal shade=100) |
|
| LineStyle (const LineStyle &other) |
|
LineStyle & | operator= (const LineStyle &other) |
|
virtual void | saxx (SaxHandler &handler, const Xml_string &elemtag) const |
|
virtual void | saxx (SaxHandler &handler) const |
|
void | getNamedResources (ResourceCollection &lists) const |
|
void | replaceNamedResources (ResourceCollection &newNames) |
|
QString | displayName () const |
|
void | update (const StyleContext *b) |
|
bool | equiv (const Style &other) const |
|
void | applyLineStyle (const LineStyle &other) |
|
void | eraseLineStyle (const LineStyle &other) |
|
void | setStyle (const LineStyle &other) |
|
void | erase () |
|
QString | asString () const |
|
void | appendSubline (const LineStyle &subline) |
|
| Style (StyleContext *b, QString n) |
|
Style & | operator= (const Style &o) |
|
| Style (const Style &o) |
|
void | saxxAttributes (Xml_attr &attr) const |
|
void | setDefaultStyle (bool ids) |
|
bool | isDefaultStyle () const |
|
QString | name () const |
|
void | setName (const QString &n) |
|
bool | hasName () const |
|
QString | parent () const |
|
void | setParent (const QString &p) |
|
bool | hasParent () const |
|
const Style * | parentStyle () const |
|
virtual void | setContext (const StyleContext *context) |
|
const StyleContext * | context () const |
|
void | validate () const |
|
QString | shortcut () const |
|
void | setShortcut (const QString &shortcut) |
|
virtual bool | operator== (const Style &other) const |
|
virtual bool | operator!= (const Style &other) const |
|
void | applyStyle (const Style &other) |
|
void | eraseStyle (const Style &other) |
|
|
static const Xml_string | saxxDefaultElem |
|
static const QString | INHERIT_PARENT = "\n" |
|
static const Xml_string | saxxDefaultElem |
|
|
bool | m_isDefaultStyle |
|
QString | m_name |
|
const StyleContext * | m_context |
|
int | m_contextversion |
|
QString | m_parent |
|
QString | m_shortcut |
|
bool LineStyle::equiv |
( |
const Style & |
other | ) |
const |
|
virtual |
returns true if both Styles are of the same type, inherit the same attributes, have the same parent, and agree on all attributes which are not inherited. The StyleContext, the name and any inherited attrinutes may be different.
Implements Style.
void LineStyle::erase |
( |
| ) |
|
|
inlinevirtual |
resets all attributes to their defaults and makes them inherited. name and parent are not affected.
Implements Style.
void LineStyle::saxx |
( |
SaxHandler & |
, |
|
|
const Xml_string & |
|
|
) |
| const |
|
virtual |
Writes an XML representation of this object
Implements SaxIO.
virtual void LineStyle::saxx |
( |
SaxHandler & |
| ) |
const |
|
inlinevirtual |
Writes an XML representation of this object using the default element tag, see below
Implements SaxIO.
sets a new StyleContext if b is not NULL and then uses the StyleContext to set all inherited attributes to their valid value.
Reimplemented from Style.
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/styles/linestyle.h
- /Users/ale/src/Scribus/scribus/styles/linestyle.cpp