QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RMdiChildQt Class Reference

MDI child window. More...

#include <RMdiChildQt.h>

Inheritance diagram for RMdiChildQt:
RModifiedListener

List of all members.

Signals

void closeRequested (RMdiChildQt *mdiChild)
void modifiedStatusChanged (RMdiChildQt *mdiChild)

Public Member Functions

RDocumentgetDocument ()
RDocumentInterfacegetDocumentInterface ()
RGraphicsViewQtgetLastKnownViewWithFocus ()
 RMdiChildQt (QWidget *parent=NULL)
 Creates a new MDI child window for interaction with the given document.
void setCloseEventAccepted ()
void setCloseEventRejected ()
void setDocumentInterface (RDocumentInterface *di)
virtual void updateModifiedListener (const RStorage *storage)
 Called by the document whenever the current transaction stack changes.
virtual ~RMdiChildQt ()
- Public Member Functions inherited from RModifiedListener
virtual ~RModifiedListener ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *closeEvent)
virtual bool event (QEvent *event)
virtual QSize sizeHint () const

Private Attributes

bool closeEventAccepted
RDocumentInterfacedocumentInterface

Static Private Attributes

static RDocumentInterfacediLast = NULL

Detailed Description

MDI child window.

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

RMdiChildQt::RMdiChildQt ( QWidget *  parent = NULL)

Creates a new MDI child window for interaction with the given document.

The MDI window takes ownership of the document.

RMdiChildQt::~RMdiChildQt ( )
virtual

Member Function Documentation

void RMdiChildQt::closeEvent ( QCloseEvent *  closeEvent)
protectedvirtual
void RMdiChildQt::closeRequested ( RMdiChildQt mdiChild)
signal
bool RMdiChildQt::event ( QEvent *  event)
protectedvirtual
RDocument * RMdiChildQt::getDocument ( )
RDocumentInterface * RMdiChildQt::getDocumentInterface ( )
RGraphicsViewQt * RMdiChildQt::getLastKnownViewWithFocus ( )
void RMdiChildQt::modifiedStatusChanged ( RMdiChildQt mdiChild)
signal
void RMdiChildQt::setCloseEventAccepted ( )
inline
void RMdiChildQt::setCloseEventRejected ( )
inline
void RMdiChildQt::setDocumentInterface ( RDocumentInterface di)
QSize RMdiChildQt::sizeHint ( ) const
protectedvirtual
void RMdiChildQt::updateModifiedListener ( const RStorage storage)
virtual

Called by the document whenever the current transaction stack changes.

Implements RModifiedListener.


Member Data Documentation

bool RMdiChildQt::closeEventAccepted
private
RDocumentInterface * RMdiChildQt::diLast = NULL
staticprivate
RDocumentInterface* RMdiChildQt::documentInterface
private

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