KWPartFrameSet.h
64 virtual void createEmptyRegion( const TQRect &crect, TQRegion &emptyRegion, KWViewMode *viewMode );
Class: KWCanvas This class is responsible for the rendering of the frames to the screen as well as th...
Definition KWCanvas.h:61
This object is created to edit a particular frameset in a particular view The view's canvas creates i...
Definition KWFrameSetEdit.h:51
Class: KWFrameSet Base type, a frameset holds content as well as frames to show that content.
Definition KWFrameSet.h:62
TQString name() const
get/set frameset name. For tables in particular, this must be unique
Definition KWFrameSet.h:428
A frameset that contains an embedded object (a KWDocumentChild)
Definition KWPartFrameSet.h:30
virtual void createEmptyRegion(const TQRect &crect, TQRegion &emptyRegion, KWViewMode *viewMode)
Let the caller know which parts of emptyRegion we do not claim, and thus the caller is free to paint ...
virtual void drawFrameContents(KWFrame *frame, TQPainter *painter, const TQRect &fcrect, const TQColorGroup &cg, bool onlyChanged, bool resetChanged, KWFrameSetEdit *edit, KWViewMode *viewMode)
Implement this one instead of drawFrame to benefit from double-buffering AND transparency handling (p...
Definition KWPartFrameSet.cpp:96
virtual void load(TQDomElement &attributes, bool loadFrames=true)
load from XML - when loading
Definition KWPartFrameSet.cpp:180
void updateChildGeometry()
Update the geometry of m_child based on the geometry of the frame.
Definition KWPartFrameSet.cpp:126
virtual void moveFloatingFrame(int frameNum, const KoPoint &position)
Move the frame 'frameNum' to the given position and move the document child window with it This is ca...
Definition KWPartFrameSet.cpp:213
void startEditing()
Called by KWView when the object is being edited (activated).
Definition KWPartFrameSet.cpp:185
virtual TQDomElement save(TQDomElement &parentElem, bool saveFrames=true)
save to XML - when saving
Definition KWPartFrameSet.cpp:153
void endEditing()
Called by KWView when the object is not being edited anymore (deactivated).
Definition KWPartFrameSet.cpp:202
virtual void saveOasis(KoXmlWriter &writer, KoSavingContext &context, bool saveFrames) const
Save to OASIS format.
Definition KWPartFrameSet.cpp:164
void deleteFrame(unsigned int num, bool remove=true, bool recalc=true)
Delete a frame from the set of frames this frameSet has.
Definition KWPartFrameSet.cpp:252
virtual KWFrameSetEdit * createFrameSetEdit(KWCanvas *)
Create a framesetedit object to edit this frameset in canvas.
Definition KWPartFrameSet.cpp:224
