Scribus
Open source desktop publishing at your fingertips
|
#include <stylecontextproxy.h>
Public Member Functions | |
const Style * | resolve (const QString &name) const |
StyleContextProxy (const Style *style) | |
StyleContextProxy (const StyleContextProxy &other) | |
StyleContextProxy & | operator= (const StyleContextProxy &other) |
const Style * | defaultStyle () const |
void | setDefaultStyle (const Style *def) |
bool | checkConsistency () const |
bool | contextContained (const StyleContext *context) const |
Public Member Functions inherited from StyleContext | |
StyleContext (const StyleContext &o) | |
StyleContext & | operator= (const StyleContext &o) |
int | version () const |
void | invalidate () |
bool | connect (QObject *receiver, const char *member) const |
bool | disconnect (QObject *receiver, const char *member=0) const |
Public Member Functions inherited from Observable< StyleContext > | |
Observable (UpdateManager *um=NULL) | |
virtual void | update () |
Public Member Functions inherited from MassObservable< StyleContext * > | |
MassObservable (UpdateManager *um=NULL) | |
void | setUpdateManager (UpdateManager *um) |
virtual void | update (StyleContext *what) |
virtual void | updateLayout (StyleContext *what) |
void | connectObserver (Observer< StyleContext * > *o) |
bool | connectObserver (QObject *o, const char *slot) |
void | disconnectObserver (Observer< StyleContext * > *o) |
bool | disconnectObserver (QObject *o, const char *slot=0) |
Additional Inherited Members | |
Protected Member Functions inherited from MassObservable< StyleContext * > | |
virtual void | updateNow (UpdateMemento *what) |
Protected Attributes inherited from StyleContext | |
int | m_version |
int | m_cnt |
Protected Attributes inherited from MassObservable< StyleContext * > | |
QSet< Observer< StyleContext * > * > | m_observers |
Private_Signal * | changedSignal |
UpdateManager * | m_um |
This class turns a style into a new stylecontext: it maps the empty name "" to the given default style and uses the style's context to resolve all other names.