tdemdichildfrmcaption.h
virtual void mousePressEvent(TQMouseEvent *)
The same as KMdiChildFrmCaption::slot_moveViaSystemMenu.
Definition tdemdichildfrmcaption.cpp:86
TQString abbreviateText(TQString origStr, int maxWidth)
Computes a new abbreviated string from a given string depending on a given maximum width.
Definition tdemdichildfrmcaption.cpp:261
bool m_bChildInDrag
True if the child knows that it is currently being dragged.
Definition tdemdichildfrmcaption.h:137
TQPoint m_offset
the position offset related to its parent widget (internally used for translating mouse move position...
Definition tdemdichildfrmcaption.h:132
int heightHint()
Returns the caption bar height depending on the used font.
Definition tdemdichildfrmcaption.cpp:198
virtual void mouseReleaseEvent(TQMouseEvent *)
Restore the normal mouse cursor, set the state variable back to 'not moving'.
Definition tdemdichildfrmcaption.cpp:106
void setCaption(const TQString &text)
Repaint with a new caption bar title.
Definition tdemdichildfrmcaption.cpp:190
void setActive(bool bActive)
Repaint the caption bar in active background colors.
Definition tdemdichildfrmcaption.cpp:171
virtual void mouseMoveEvent(TQMouseEvent *e)
Checks if out of move range of the KMdiChildArea and calls KMdiChildFrm::move.
Definition tdemdichildfrmcaption.cpp:131
virtual void paintEvent(TQPaintEvent *e)
Draws the caption bar and its title using the settings.
Definition tdemdichildfrmcaption.cpp:227
void slot_moveViaSystemMenu()
Grabs the mouse, a move cursor, sets a move indicator variable to true and keeps the global mouse pos...
Definition tdemdichildfrmcaption.cpp:310
virtual void mouseDoubleClickEvent(TQMouseEvent *)
Calls maximizePressed of the parent widget ( KMdiChildFrm ).
Definition tdemdichildfrmcaption.cpp:303
bool m_bActive
state variable indicating whether activated or not activated
Definition tdemdichildfrmcaption.h:127
Trinity API Reference