Logo Search packages:      
Sourcecode: kbear version File versions  Download package

QextMdiChildFrm Class Reference

#include <qextmdichildfrm.h>

List of all members.

Detailed Description

Internal class. It's an MDI child frame widget. It contains a view widget and a frame caption. Usually you derive from its view.

Definition at line 144 of file qextmdichildfrm.h.

Public Types

enum  MdiWindowState { Normal, Maximized, Minimized }

Public Slots

void slot_resizeViaSystemMenu ()

Public Member Functions

const QString & caption ()
int captionHeight ()
void enableClose (bool bEnable)
QPixmap * icon ()
bool isInDrag () const
bool isInResize () const
QRect mdiAreaContentsRect () const
 QextMdiChildFrm (QextMdiChildArea *parent)
void raiseAndActivate ()
void redecorateButtons ()
QRect restoreGeometry () const
void setCaption (const QString &text)
void setClient (QextMdiChildView *w)
void setIcon (const QPixmap &pxm)
virtual void setMinimumSize (int minw, int minh)
void setRestoreGeometry (const QRect &newRestGeo)
void setState (MdiWindowState state, bool bAnimate=TRUE)
MdiWindowState state ()
QPopupMenu * systemMenu ()
void unsetClient (QPoint positionOffset=QPoint(0, 0))
void updateRects ()
 ~QextMdiChildFrm ()

Public Attributes


Protected Slots

void closePressed ()
void maximizePressed ()
void minimizePressed ()
void restorePressed ()
void showSystemMenu ()
void undockPressed ()

Protected Member Functions

void doResize ()
virtual bool eventFilter (QObject *, QEvent *)
int getResizeCorner (int ax, int ay)
virtual void leaveEvent (QEvent *)
void linkChildren (QDict< FocusPolicy > *pFocPolDict)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *)
virtual void moveEvent (QMoveEvent *me)
virtual void resizeEvent (QResizeEvent *)
void resizeWindow (int resizeCorner, int x, int y)
void setResizeCursor (int resizeCorner)
virtual void switchToMinimizeLayout ()
QDict< QWidget::FocusPolicy > * unlinkChildren ()
void unsetResizeCursor ()

Protected Attributes

bool m_bDragging
bool m_bResizing
int m_iLastCursorCorner
int m_iResizeCorner
QSize m_oldClientMaxSize
QSize m_oldClientMinSize
QLayout::ResizeMode m_oldLayoutResizeMode
QToolButton * m_pClose
QPixmap * m_pCloseButtonPixmap
QPixmap * m_pIconButtonPixmap
QPixmap * m_pMaxButtonPixmap
QToolButton * m_pMaximize
QPixmap * m_pMinButtonPixmap
QToolButton * m_pMinimize
QPixmap * m_pRestoreButtonPixmap
QPopupMenu * m_pSystemMenu
QToolButton * m_pUndock
QPixmap * m_pUndockButtonPixmap
QToolButton * m_pUnixIcon
QRect m_restoredRect
MdiWindowState m_state
QTime m_timeMeasure
int m_windowMenuID


class QextMdiChildArea
class QextMdiChildFrmCaption

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index