karbon
KarbonPart Class Reference
#include <karbon_part.h>
Inherits KoDocument.
Detailed Description
Keeps track of visual per document properties.It manages actions performed on this object in a command history. It loads initial settings and applies them to the document and its views. Finally a dcop interface is set up here.
Definition at line 45 of file karbon_part.h.
Public Slots | |
void | repaintAllViews (bool repaint=true) |
void | repaintAllViews (const KoRect &) |
void | slotDocumentRestored () |
void | slotCommandExecuted (VCommand *) |
void | slotUnitChanged (KoUnit::Unit unit) |
Public Member Functions | |
KarbonPart (QWidget *parentWidget=0L, const char *widgetName=0L, QObject *parent=0L, const char *name=0L, bool singleViewMode=false) | |
virtual void | paintContent (QPainter &painter, const QRect &rect, bool transparent=false, double zoomX=1.0, double zoomY=1.0) |
virtual bool | initDoc (InitDocFlags flags, QWidget *parentWidget=0) |
virtual bool | loadXML (QIODevice *, const QDomDocument &document) |
virtual bool | loadOasis (const QDomDocument &doc, KoOasisStyles &styles, const QDomDocument &settings, KoStore *store) |
virtual QDomDocument | saveXML () |
virtual bool | saveOasis (KoStore *store, KoXmlWriter *manifestWriter) |
virtual void | addShell (KoMainWindow *shell) |
virtual DCOPObject * | dcopObject () |
void | insertObject (VObject *object) |
void | addCommand (VCommand *cmd, bool repaint=false) |
VDocument & | document () |
void | clearHistory () |
VCommandHistory * | commandHistory () |
bool | showStatusBar () const |
void | setShowStatusBar (bool b) |
void | reorganizeGUI () |
void | setUndoRedoLimit (int undos) |
void | initConfig () |
unsigned int | maxRecentFiles () const |
void | setPageLayout (KoPageLayout &layout, KoUnit::Unit _unit) |
bool | mergeNativeFormat (const QString &file) |
Protected Member Functions | |
virtual KoView * | createViewInstance (QWidget *parent, const char *name) |
virtual void | removeView (KoView *view) |
void | saveOasisSettings (KoXmlWriter &) |
void | loadOasisSettings (const QDomDocument &settingsDoc) |
Member Function Documentation
bool KarbonPart::initDoc | ( | InitDocFlags | flags, | |
QWidget * | parentWidget = 0 | |||
) | [virtual] |
bool KarbonPart::loadXML | ( | QIODevice * | , | |
const QDomDocument & | document | |||
) | [virtual] |
QDomDocument KarbonPart::saveXML | ( | ) | [virtual] |
void KarbonPart::insertObject | ( | VObject * | object | ) |
void KarbonPart::addCommand | ( | VCommand * | cmd, | |
bool | repaint = false | |||
) |
VCommandHistory* KarbonPart::commandHistory | ( | ) | [inline] |
void KarbonPart::reorganizeGUI | ( | ) |
update attached view(s) on the current doc settings at this time only the status bar is handled
Definition at line 600 of file karbon_part.cc.
void KarbonPart::repaintAllViews | ( | bool | repaint = true |
) | [slot] |
The documentation for this class was generated from the following files: