kivio
KivioDoc Class Reference
List of all members.Detailed Description
Definition at line 65 of file kivio_doc.h.
Public Slots | |
void | updateView (KivioPage *) |
void | slotDeleteStencilSet (DragBarButton *, QWidget *, KivioStackBar *) |
void | slotSelectionChanged () |
void | setDefaultFont (const QFont &f) |
void | updateGuideLines (KoView *sender) |
void | updateGuideLines (KivioPage *page) |
virtual void | initEmpty () |
Signals | |
void | sig_selectionChanged () |
void | sig_addPage (KivioPage *) |
void | sig_addSpawnerSet (KivioStencilSpawnerSet *) |
void | sig_updateView (KivioPage *) |
void | sig_pageNameChanged (KivioPage *, const QString &) |
void | sig_deleteStencilSet (DragBarButton *, QWidget *, KivioStackBar *) |
void | sig_updateGrid () |
void | initProgress () |
void | progress (int) |
void | endProgress () |
void | loadingFinished () |
Public Member Functions | |
KivioDoc (QWidget *parentWidget=0, const char *widgetName=0, QObject *parent=0, const char *name=0, bool singleViewMode=false) | |
~KivioDoc () | |
virtual DCOPObject * | dcopObject () |
virtual QDomDocument | saveXML () |
virtual bool | saveOasis (KoStore *store, KoXmlWriter *manifestWriter) |
virtual bool | loadXML (QIODevice *, const QDomDocument &doc) |
virtual bool | loadOasis (const QDomDocument &doc, KoOasisStyles &oasisStyles, const QDomDocument &settings, KoStore *) |
virtual bool | initDoc (InitDocFlags flags, QWidget *parentWidget=0) |
virtual QCString | mimeType () const |
KivioPage * | createPage () |
void | addPage (KivioPage *page) |
void | addSpawnerSet (const QString &) |
void | addSpawnerSetDuringLoad (const QString &dirName, bool hidden) |
bool | removeSpawnerSet (KivioStencilSpawnerSet *) |
QPtrList< KivioStencilSpawnerSet > * | spawnerSets () const |
KivioStencilSpawner * | findStencilSpawner (const QString &setId, const QString &stencilId) |
KivioStencilSpawner * | findInternalStencilSpawner (const QString &title) |
void | addInternalStencilSpawner (KivioStencilSpawner *spawner) |
KivioStencilSpawnerSet * | internalSpawnerSet () |
KivioMap * | map () const |
bool | isLoading () const |
virtual void | paintContent (QPainter &painter, const QRect &rect, bool transparent=false, double zoomX=1.0, double zoomY=1.0) |
void | paintContent (KivioPainter &painter, const QRect &rect, bool transparent, KivioPage *page, QPoint, KoZoomHandler *, bool, bool) |
void | printContent (KPrinter &prn) |
KivioGridData | grid () |
void | initConfig () |
void | saveConfig () |
void | updateButton () |
void | addCommand (KCommand *cmd) |
int | undoRedoLimit () const |
void | setUndoRedoLimit (int val) |
KoCommandHistory * | commandHistory () const |
void | insertPage (KivioPage *page) |
void | takePage (KivioPage *page) |
void | resetLayerPanel () |
void | updateProtectPanelCheckBox () |
QFont | defaultFont () const |
Static Public Member Functions | |
static QPtrList< KivioDoc > & | documents () |
Protected Slots | |
void | slotDocumentRestored () |
void | slotCommandExecuted () |
void | loadStencil () |
virtual void | openExistingFile (const QString &file) |
virtual void | openTemplate (const QString &file) |
Protected Member Functions | |
bool | checkStencilsForSpawnerSet (KivioStencilSpawnerSet *) |
bool | checkGroupForSpawnerSet (KivioStencil *, KivioStencilSpawnerSet *) |
KivioStencilSpawnerSet * | findSpawnerSet (const QString &dirName, const QString &name) |
void | saveOasisSettings (KoXmlWriter &) |
void | loadOasisSettings (const QDomDocument &settingsDoc) |
KoView * | createViewInstance (QWidget *parent, const char *name) |
bool | loadStencilSpawnerSet (const QString &id, bool hidden) |
virtual bool | completeLoading (KoStore *) |
Protected Attributes | |
QPtrList< KivioStencilSpawnerSet > * | m_pLstSpawnerSets |
KivioMap * | m_pMap |
int | m_iPageId |
QString | m_strFileURL |
bool | m_bLoading |
KivioStencilSpawnerSet * | m_pInternalSet |
KivioGridData | gridData |
DCOPObject * | dcop |
KoCommandHistory * | m_commandHistory |
QFont | m_font |
QTimer * | m_loadTimer |
unsigned int | m_currentFile |
KivioStencilSpawnerSet * | m_currentSet |
QValueList< KivioStencilSpawnerSet * > | m_stencilSetLoadQueue |
bool | m_docOpened |
Static Protected Attributes | |
static QPtrList< KivioDoc > * | s_docs = 0 |
static int | s_docId = 0 |
Friends | |
class | KivioPage |
Member Function Documentation
|
Adds a KivioPage to the GUI and makes it active. In addition the KivioPage is added to the map.
Definition at line 638 of file kivio_doc.cpp. |
|
Adds a KivioStencilSpawnerSet to the list of spawner sets and make it active.
Definition at line 742 of file kivio_doc.cpp. |
|
Checks if any stencils in the document use this spawner.
Definition at line 867 of file kivio_doc.cpp. |
|
Overloaded function of KoDocument.
Definition at line 619 of file kivio_doc.cpp. |
|
Definition at line 627 of file kivio_doc.cpp. |
|
Definition at line 120 of file kivio_doc.h. |
|
Loads a KivioStencilSpawnerSet based on it's id.
Definition at line 553 of file kivio_doc.cpp. |
|
Iterates through all spawner objects in the stencil set checking if they exist in any of the pages.
Definition at line 848 of file kivio_doc.cpp. |
Member Data Documentation
|
true if loading is in process, otherwise false. This flag is used to avoid updates etc. during loading.
Definition at line 236 of file kivio_doc.h. |
|
This variable is used to give every KivioPage a unique default name.
Definition at line 220 of file kivio_doc.h. |
|
List of stencil spawner sets.
Definition at line 197 of file kivio_doc.h. |
|
Pointer to the map that holds all the pages.
Definition at line 213 of file kivio_doc.h. |
|
The URL of the this part. This variable is only set if the load function had been called with an URL as argument.
Definition at line 228 of file kivio_doc.h. |
The documentation for this class was generated from the following files: