QCAD
Open Source 2D CAD
RMainWindow Class Referenceabstract

Base class for an MDI main application window. More...

#include <RMainWindow.h>

Inheritance diagram for RMainWindow:
RProgressHandler RMessageHandler RMainWindowQt

Public Member Functions

void addBlockListener (RBlockListener *l)
 Adds a listener for block change / add / remove events. More...
 
void addCoordinateListener (RCoordinateListener *l)
 Adds a listener for coordinate events. More...
 
void addEntityExportListener (REntityExportListener *l)
 
void addExportListener (RExportListener *l)
 Adds a listener for export events. More...
 
void addFocusListener (RFocusListener *l)
 Adds a listener for focus changes. More...
 
void addImportListener (RImportListener *l)
 Adds a listener for import events. More...
 
void addInterTransactionListener (RInterTransactionListener *l)
 Adds a listener for transaction in progress events. More...
 
void addKeyListener (RKeyListener *l)
 Adds a listener for key changes. More...
 
void addLayerListener (RLayerListener *l)
 Adds a listener for layer change / add / remove events. More...
 
void addNewDocumentListener (RNewDocumentListener *l)
 Adds a listener for transaction in progress events. More...
 
void addPaletteListener (RPaletteListener *l)
 Adds a listener for palette change events. More...
 
void addPenListener (RPenListener *l)
 Adds a listener for pen change events. More...
 
void addPreferencesListener (RPreferencesListener *l)
 Adds a listener for preferences changes. More...
 
void addPropertyListener (RPropertyListener *l)
 Adds a listener for property events. More...
 
void addSelectionListener (RSelectionListener *l)
 Adds a listener for selection events. More...
 
void addSnapListener (RSnapListener *l)
 Adds a listener for snap mode changes. More...
 
void addTransactionListener (RTransactionListener *l)
 Adds a listener for transaction events. More...
 
void addUcsListener (RUcsListener *l)
 Adds a listener for UCS change / add / remove events. More...
 
void addViewFocusListener (RViewFocusListener *l)
 Adds a listener for view focus changes. More...
 
void addViewListener (RViewListener *l)
 Adds a listener for view change / add / remove events. More...
 
virtual void disable ()
 
virtual void enable ()
 
virtual void escapeEvent ()=0
 
QVariant eval (const QString &ext, const QString &script)
 
virtual QWidget * getChildWidget (const QString &name)=0
 
virtual RDocumentgetDocument ()=0
 
virtual RDocumentInterfacegetDocumentInterface ()=0
 
virtual int getHeight ()=0
 
virtual int getPositionX ()=0
 
virtual int getPositionY ()=0
 
virtual int getWidth ()=0
 
virtual void handleUserCommand (const QString &message, bool escape=true)
 
virtual void handleUserInfo (const QString &message, bool escape=true)
 
virtual void handleUserMessage (const QString &message, bool escape=true)
 
virtual void handleUserWarning (const QString &message, bool messageBox=false, bool escape=true)
 
virtual void move (int x, int y)=0
 Moves the application window to the given x / y position. More...
 
void notifyBlockListeners (RDocumentInterface *documentInterface)
 Notifies all block listeners that at least one block object has changed. More...
 
void notifyBlockListenersCurrentBlock (RDocumentInterface *documentInterface)
 
void notifyCoordinateListeners (RDocumentInterface *documentInterface)
 Notifies all coordinate listeners that the coordinate has changed to position. More...
 
void notifyEntityExportListeners (RExporter *exporter, REntity *entity)
 
void notifyExportListenersEnd (RExporter *exporter)
 Notifies all Export listeners about end of export event. More...
 
void notifyExportListenersPost (RDocumentInterface *documentInterface)
 Notifies all Export listeners about post export event. More...
 
void notifyExportListenersPre (RDocumentInterface *documentInterface)
 Notifies all Export listeners about pre export event. More...
 
void notifyFocusListeners (RDocumentInterface *documentInterface)
 Notifies all focus listeners. More...
 
void notifyImportListenersPost (RDocumentInterface *documentInterface)
 Notifies all import listeners about post import event. More...
 
void notifyImportListenersPre (RDocumentInterface *documentInterface)
 Notifies all import listeners about pre import event. More...
 
void notifyInterTransactionListeners (RDocument *document, RTransaction *transaction=NULL)
 Notifies all transaction in progress listeners. More...
 
void notifyKeyListeners (QKeyEvent *event)
 Notifies all key listeners. More...
 
void notifyLayerListeners (RDocumentInterface *documentInterface, QList< RLayer::Id > &layerIds)
 Notifies all layer listeners that at least one layer object has changed. More...
 
void notifyLayerListenersCurrentLayer (RDocumentInterface *documentInterface, RLayer::Id previousLayerId)
 
void notifyListeners (bool withNull=false)
 
void notifyNewDocumentListeners (RDocument *document, RTransaction *transaction, bool beforeLoad)
 Notifies all transaction in progress listeners. More...
 
void notifyPaletteListeners ()
 Notifies all palette listeners that the current palette has changed. More...
 
void notifyPenListeners (RDocumentInterface *documentInterface)
 Notifies all pen listeners that the current pen has changed. More...
 
void notifyPreferencesListeners (RDocumentInterface *documentInterface)
 Notifies all preferences listeners. More...
 
void notifyPropertyListeners ()
 Notifies all property listeners that no properties are currently relevant. More...
 
void notifyPropertyListeners (RDocument &document, REntity &entity)
 Notifies all property listeners that the current property is the given entity. More...
 
void notifyPropertyListeners (RDocument *document, bool onlyChanges=false, RS::EntityType entityTypeFilter=RS::EntityUnknown)
 Notifies all property listeners that the current property has changed. More...
 
void notifySelectionListeners (RDocumentInterface *documentInterface)
 Notifies all selection listeners that the current selection has changed. More...
 
void notifySnapListeners (RDocumentInterface *documentInterface)
 Notifies all snap mode listeners. More...
 
void notifyTransactionListeners (RDocument *document, RTransaction *transaction=NULL)
 Notifies all transaction listeners. More...
 
void notifyUcsListeners (RDocumentInterface *documentInterface)
 Notifies all UCS listeners that at least one UCS object has changed. More...
 
void notifyViewFocusListeners (RGraphicsView *view)
 Notifies all view focus listeners. More...
 
void notifyViewListeners (RDocumentInterface *documentInterface)
 Notifies all view listeners that at least one view object has changed. More...
 
virtual void postCloseEvent ()=0
 
virtual void postPropertyEvent (RPropertyTypeId propertyTypeId, const QVariant &value, RS::EntityType entityTypeFilter=RS::EntityAll)=0
 
virtual void postSelectionChangedEvent ()=0
 
virtual void postTransactionEvent (RTransaction &t, bool onlyChanges=false, RS::EntityType entityTypeFilter=RS::EntityAll)=0
 
void propertyChangeEvent (RPropertyEvent &event)
 
virtual void quit ()=0
 Closes the application window. More...
 
void removeBlockListener (RBlockListener *l)
 
void removeCoordinateListener (RCoordinateListener *l)
 
void removeEntityExportListener (REntityExportListener *l)
 
void removeExportListener (RExportListener *l)
 
void removeFocusListener (RFocusListener *l)
 
void removeImportListener (RImportListener *l)
 
void removeInterTransactionListener (RInterTransactionListener *l)
 
void removeKeyListener (RKeyListener *l)
 
void removeLayerListener (RLayerListener *l)
 
void removeNewDocumentListener (RNewDocumentListener *l)
 
void removePaletteListener (RPaletteListener *l)
 
void removePenListener (RPenListener *l)
 
void removePreferencesListener (RPreferencesListener *l)
 
void removePropertyListener (RPropertyListener *l)
 
void removeSelectionListener (RSelectionListener *l)
 
void removeSnapListener (RSnapListener *l)
 
void removeTransactionListener (RTransactionListener *l)
 
void removeUcsListener (RUcsListener *l)
 
void removeViewFocusListener (RViewFocusListener *l)
 
void removeViewListener (RViewListener *l)
 
virtual void resize (int width, int height)=0
 Resizes the application window to the given width and height. More...
 
 RMainWindow ()
 
virtual void setCommandPrompt (const QString &text="")=0
 
virtual void setGraphicsViewCursor (const QCursor &cursor)=0
 Sets the cursor of all graphics views in all MDI children. More...
 
virtual void setLeftMouseTip (const QString &text="")=0
 
virtual void setRightMouseTip (const QString &text="")=0
 
void ucsSetEvent (const QString &ucsName)
 Called immediately after the user has activated a new UCS to be used as current UCS. More...
 
virtual ~RMainWindow ()
 
- Public Member Functions inherited from RProgressHandler
 RProgressHandler ()
 
virtual void setProgress (int value)=0
 
virtual void setProgressEnabled (bool on)
 
virtual void setProgressEnd ()=0
 
virtual void setProgressText (const QString &text="")=0
 

Static Public Member Functions

static RDocumentInterfacegetDocumentInterfaceStatic ()
 
static RMainWindowgetMainWindow ()
 
static bool hasMainWindow ()
 
static void installMessageHandler ()
 
static void messageHandler (QtMsgType type, const char *msg)
 

Protected Member Functions

virtual bool readSettings ()
 Restores the application window settings (size, position, ...). More...
 
virtual void writeSettings ()
 Stores the application window settings (size, position, ...). More...
 

Protected Attributes

QList< RBlockListener * > blockListeners
 
QList< RCoordinateListener * > coordinateListeners
 
QList< REntityExportListener * > entityExportListeners
 
QList< RExportListener * > exportListeners
 
QList< RFocusListener * > focusListeners
 
QList< RImportListener * > importListeners
 
QList< RInterTransactionListener * > interTransactionListeners
 
QList< RKeyListener * > keyListeners
 
QList< RLayerListener * > layerListeners
 
QMutex mutex
 
QList< RNewDocumentListener * > newDocumentListeners
 
QList< RPaletteListener * > paletteListeners
 
QList< RPenListener * > penListeners
 
QList< RPreferencesListener * > preferencesListeners
 
QList< RPropertyListener * > propertyListeners
 
QList< RSelectionListener * > selectionListeners
 
QList< RSnapListener * > snapListeners
 
QList< RTransactionListener * > transactionListeners
 
QList< RUcsListener * > ucsListeners
 
QList< RViewFocusListener * > viewFocusListeners
 
QList< RViewListener * > viewListeners
 
- Protected Attributes inherited from RProgressHandler
bool progressEnabled
 

Static Protected Attributes

static RMainWindowmainWindow = NULL
 Copyright (c) 2011-2018 by Andrew Mustun. More...
 

Detailed Description

Base class for an MDI main application window.

Scriptable:\nThis class is available in script environments.\n

Constructor & Destructor Documentation

◆ RMainWindow()

RMainWindow::RMainWindow ( )

◆ ~RMainWindow()

RMainWindow::~RMainWindow ( )
virtual

Member Function Documentation

◆ addBlockListener()

void RMainWindow::addBlockListener ( RBlockListener l)

Adds a listener for block change / add / remove events.

◆ addCoordinateListener()

void RMainWindow::addCoordinateListener ( RCoordinateListener l)

Adds a listener for coordinate events.

This can for example be a widget that displays the current coordinate.

◆ addEntityExportListener()

void RMainWindow::addEntityExportListener ( REntityExportListener l)

◆ addExportListener()

void RMainWindow::addExportListener ( RExportListener l)

Adds a listener for export events.

◆ addFocusListener()

void RMainWindow::addFocusListener ( RFocusListener l)

Adds a listener for focus changes.

◆ addImportListener()

void RMainWindow::addImportListener ( RImportListener l)

Adds a listener for import events.

◆ addInterTransactionListener()

void RMainWindow::addInterTransactionListener ( RInterTransactionListener l)

Adds a listener for transaction in progress events.

◆ addKeyListener()

void RMainWindow::addKeyListener ( RKeyListener l)

Adds a listener for key changes.

◆ addLayerListener()

void RMainWindow::addLayerListener ( RLayerListener l)

Adds a listener for layer change / add / remove events.

◆ addNewDocumentListener()

void RMainWindow::addNewDocumentListener ( RNewDocumentListener l)

Adds a listener for transaction in progress events.

◆ addPaletteListener()

void RMainWindow::addPaletteListener ( RPaletteListener l)

Adds a listener for palette change events.

◆ addPenListener()

void RMainWindow::addPenListener ( RPenListener l)

Adds a listener for pen change events.

◆ addPreferencesListener()

void RMainWindow::addPreferencesListener ( RPreferencesListener l)

Adds a listener for preferences changes.

◆ addPropertyListener()

void RMainWindow::addPropertyListener ( RPropertyListener l)

Adds a listener for property events.

This can for example be a widget that displays the properties of selected entities or the current action.

◆ addSelectionListener()

void RMainWindow::addSelectionListener ( RSelectionListener l)

Adds a listener for selection events.

This can for example be a widget that displays the number of selected entities.

◆ addSnapListener()

void RMainWindow::addSnapListener ( RSnapListener l)

Adds a listener for snap mode changes.

This can for example be a snap status widget.

◆ addTransactionListener()

void RMainWindow::addTransactionListener ( RTransactionListener l)

Adds a listener for transaction events.

This can for example be an undo or redo button.

◆ addUcsListener()

void RMainWindow::addUcsListener ( RUcsListener l)

Adds a listener for UCS change / add / remove events.

This can for example be a widget that displays all UCS objects.

◆ addViewFocusListener()

void RMainWindow::addViewFocusListener ( RViewFocusListener l)

Adds a listener for view focus changes.

◆ addViewListener()

void RMainWindow::addViewListener ( RViewListener l)

Adds a listener for view change / add / remove events.

◆ disable()

virtual void RMainWindow::disable ( )
inlinevirtual

Reimplemented in RMainWindowQt.

◆ enable()

virtual void RMainWindow::enable ( )
inlinevirtual

Reimplemented in RMainWindowQt.

◆ escapeEvent()

virtual void RMainWindow::escapeEvent ( )
pure virtual

Implemented in RMainWindowQt.

◆ eval()

QVariant RMainWindow::eval ( const QString &  ext,
const QString &  script 
)

◆ getChildWidget()

virtual QWidget* RMainWindow::getChildWidget ( const QString &  name)
pure virtual

Implemented in RMainWindowQt.

◆ getDocument()

virtual RDocument* RMainWindow::getDocument ( )
pure virtual
Returns
Pointer to the document that is currently open and has the focus or NULL if no document is open.

Implemented in RMainWindowQt.

◆ getDocumentInterface()

virtual RDocumentInterface* RMainWindow::getDocumentInterface ( )
pure virtual
Returns
Pointer to the document interface of the document that is currently open and has the focus or NULL if no document is open.

Implemented in RMainWindowQt.

◆ getDocumentInterfaceStatic()

RDocumentInterface * RMainWindow::getDocumentInterfaceStatic ( )
static
Returns
Pointer to the document interface of the current document (e.g. the active MDI window) or NULL if no document is open.

◆ getHeight()

virtual int RMainWindow::getHeight ( )
pure virtual
Returns
Height of the main application window.

Implemented in RMainWindowQt.

◆ getMainWindow()

RMainWindow * RMainWindow::getMainWindow ( )
static

◆ getPositionX()

virtual int RMainWindow::getPositionX ( )
pure virtual
Returns
X position of the main application window (distance from left of screen).

Implemented in RMainWindowQt.

◆ getPositionY()

virtual int RMainWindow::getPositionY ( )
pure virtual
Returns
Y position of the main application window (distance from top of screen).

Implemented in RMainWindowQt.

◆ getWidth()

virtual int RMainWindow::getWidth ( )
pure virtual
Returns
Width of the main application window.

Implemented in RMainWindowQt.

◆ handleUserCommand()

virtual void RMainWindow::handleUserCommand ( const QString &  message,
bool  escape = true 
)
inlinevirtual

Implements RMessageHandler.

Reimplemented in RMainWindowQt.

◆ handleUserInfo()

virtual void RMainWindow::handleUserInfo ( const QString &  message,
bool  escape = true 
)
inlinevirtual

Implements RMessageHandler.

Reimplemented in RMainWindowQt.

◆ handleUserMessage()

virtual void RMainWindow::handleUserMessage ( const QString &  message,
bool  escape = true 
)
inlinevirtual

Implements RMessageHandler.

Reimplemented in RMainWindowQt.

◆ handleUserWarning()

virtual void RMainWindow::handleUserWarning ( const QString &  message,
bool  messageBox = false,
bool  escape = true 
)
inlinevirtual

Implements RMessageHandler.

Reimplemented in RMainWindowQt.

◆ hasMainWindow()

bool RMainWindow::hasMainWindow ( )
static

◆ installMessageHandler()

void RMainWindow::installMessageHandler ( )
static

◆ messageHandler()

void RMainWindow::messageHandler ( QtMsgType  type,
const char *  msg 
)
static
Non-Scriptable:\nThis function is not available in script environments.\n

◆ move()

virtual void RMainWindow::move ( int  x,
int  y 
)
pure virtual

Moves the application window to the given x / y position.

Implemented in RMainWindowQt.

◆ notifyBlockListeners()

void RMainWindow::notifyBlockListeners ( RDocumentInterface documentInterface)

Notifies all block listeners that at least one block object has changed.

◆ notifyBlockListenersCurrentBlock()

void RMainWindow::notifyBlockListenersCurrentBlock ( RDocumentInterface documentInterface)

◆ notifyCoordinateListeners()

void RMainWindow::notifyCoordinateListeners ( RDocumentInterface documentInterface)

Notifies all coordinate listeners that the coordinate has changed to position.

◆ notifyEntityExportListeners()

void RMainWindow::notifyEntityExportListeners ( RExporter exporter,
REntity entity 
)

◆ notifyExportListenersEnd()

void RMainWindow::notifyExportListenersEnd ( RExporter exporter)

Notifies all Export listeners about end of export event.

◆ notifyExportListenersPost()

void RMainWindow::notifyExportListenersPost ( RDocumentInterface documentInterface)

Notifies all Export listeners about post export event.

◆ notifyExportListenersPre()

void RMainWindow::notifyExportListenersPre ( RDocumentInterface documentInterface)

Notifies all Export listeners about pre export event.

◆ notifyFocusListeners()

void RMainWindow::notifyFocusListeners ( RDocumentInterface documentInterface)

Notifies all focus listeners.

◆ notifyImportListenersPost()

void RMainWindow::notifyImportListenersPost ( RDocumentInterface documentInterface)

Notifies all import listeners about post import event.

◆ notifyImportListenersPre()

void RMainWindow::notifyImportListenersPre ( RDocumentInterface documentInterface)

Notifies all import listeners about pre import event.

◆ notifyInterTransactionListeners()

void RMainWindow::notifyInterTransactionListeners ( RDocument document,
RTransaction transaction = NULL 
)

Notifies all transaction in progress listeners.

◆ notifyKeyListeners()

void RMainWindow::notifyKeyListeners ( QKeyEvent *  event)

Notifies all key listeners.

◆ notifyLayerListeners()

void RMainWindow::notifyLayerListeners ( RDocumentInterface documentInterface,
QList< RLayer::Id > &  layerIds 
)

Notifies all layer listeners that at least one layer object has changed.

◆ notifyLayerListenersCurrentLayer()

void RMainWindow::notifyLayerListenersCurrentLayer ( RDocumentInterface documentInterface,
RLayer::Id  previousLayerId 
)

◆ notifyListeners()

void RMainWindow::notifyListeners ( bool  withNull = false)

◆ notifyNewDocumentListeners()

void RMainWindow::notifyNewDocumentListeners ( RDocument document,
RTransaction transaction,
bool  beforeLoad 
)

Notifies all transaction in progress listeners.

◆ notifyPaletteListeners()

void RMainWindow::notifyPaletteListeners ( )

Notifies all palette listeners that the current palette has changed.

◆ notifyPenListeners()

void RMainWindow::notifyPenListeners ( RDocumentInterface documentInterface)

Notifies all pen listeners that the current pen has changed.

◆ notifyPreferencesListeners()

void RMainWindow::notifyPreferencesListeners ( RDocumentInterface documentInterface)

Notifies all preferences listeners.

◆ notifyPropertyListeners() [1/3]

void RMainWindow::notifyPropertyListeners ( )

Notifies all property listeners that no properties are currently relevant.

◆ notifyPropertyListeners() [2/3]

void RMainWindow::notifyPropertyListeners ( RDocument document,
REntity entity 
)

Notifies all property listeners that the current property is the given entity.

◆ notifyPropertyListeners() [3/3]

void RMainWindow::notifyPropertyListeners ( RDocument document,
bool  onlyChanges = false,
RS::EntityType  entityTypeFilter = RS::EntityUnknown 
)

Notifies all property listeners that the current property has changed.

◆ notifySelectionListeners()

void RMainWindow::notifySelectionListeners ( RDocumentInterface documentInterface)

Notifies all selection listeners that the current selection has changed.

◆ notifySnapListeners()

void RMainWindow::notifySnapListeners ( RDocumentInterface documentInterface)

Notifies all snap mode listeners.

◆ notifyTransactionListeners()

void RMainWindow::notifyTransactionListeners ( RDocument document,
RTransaction transaction = NULL 
)

Notifies all transaction listeners.

◆ notifyUcsListeners()

void RMainWindow::notifyUcsListeners ( RDocumentInterface documentInterface)

Notifies all UCS listeners that at least one UCS object has changed.

◆ notifyViewFocusListeners()

void RMainWindow::notifyViewFocusListeners ( RGraphicsView view)

Notifies all view focus listeners.

◆ notifyViewListeners()

void RMainWindow::notifyViewListeners ( RDocumentInterface documentInterface)

Notifies all view listeners that at least one view object has changed.

◆ postCloseEvent()

virtual void RMainWindow::postCloseEvent ( )
pure virtual

Implemented in RMainWindowQt.

◆ postPropertyEvent()

virtual void RMainWindow::postPropertyEvent ( RPropertyTypeId  propertyTypeId,
const QVariant &  value,
RS::EntityType  entityTypeFilter = RS::EntityAll 
)
pure virtual

Implemented in RMainWindowQt.

◆ postSelectionChangedEvent()

virtual void RMainWindow::postSelectionChangedEvent ( )
pure virtual

Implemented in RMainWindowQt.

◆ postTransactionEvent()

virtual void RMainWindow::postTransactionEvent ( RTransaction t,
bool  onlyChanges = false,
RS::EntityType  entityTypeFilter = RS::EntityAll 
)
pure virtual

Implemented in RMainWindowQt.

◆ propertyChangeEvent()

void RMainWindow::propertyChangeEvent ( RPropertyEvent event)

◆ quit()

virtual void RMainWindow::quit ( )
pure virtual

Closes the application window.

◆ readSettings()

bool RMainWindow::readSettings ( )
protectedvirtual

Restores the application window settings (size, position, ...).

Reimplemented in RMainWindowQt.

◆ removeBlockListener()

void RMainWindow::removeBlockListener ( RBlockListener l)

◆ removeCoordinateListener()

void RMainWindow::removeCoordinateListener ( RCoordinateListener l)

◆ removeEntityExportListener()

void RMainWindow::removeEntityExportListener ( REntityExportListener l)

◆ removeExportListener()

void RMainWindow::removeExportListener ( RExportListener l)

◆ removeFocusListener()

void RMainWindow::removeFocusListener ( RFocusListener l)

◆ removeImportListener()

void RMainWindow::removeImportListener ( RImportListener l)

◆ removeInterTransactionListener()

void RMainWindow::removeInterTransactionListener ( RInterTransactionListener l)

◆ removeKeyListener()

void RMainWindow::removeKeyListener ( RKeyListener l)

◆ removeLayerListener()

void RMainWindow::removeLayerListener ( RLayerListener l)

◆ removeNewDocumentListener()

void RMainWindow::removeNewDocumentListener ( RNewDocumentListener l)

◆ removePaletteListener()

void RMainWindow::removePaletteListener ( RPaletteListener l)

◆ removePenListener()

void RMainWindow::removePenListener ( RPenListener l)

◆ removePreferencesListener()

void RMainWindow::removePreferencesListener ( RPreferencesListener l)

◆ removePropertyListener()

void RMainWindow::removePropertyListener ( RPropertyListener l)

◆ removeSelectionListener()

void RMainWindow::removeSelectionListener ( RSelectionListener l)

◆ removeSnapListener()

void RMainWindow::removeSnapListener ( RSnapListener l)

◆ removeTransactionListener()

void RMainWindow::removeTransactionListener ( RTransactionListener l)

◆ removeUcsListener()

void RMainWindow::removeUcsListener ( RUcsListener l)

◆ removeViewFocusListener()

void RMainWindow::removeViewFocusListener ( RViewFocusListener l)

◆ removeViewListener()

void RMainWindow::removeViewListener ( RViewListener l)

◆ resize()

virtual void RMainWindow::resize ( int  width,
int  height 
)
pure virtual

Resizes the application window to the given width and height.

Implemented in RMainWindowQt.

◆ setCommandPrompt()

virtual void RMainWindow::setCommandPrompt ( const QString &  text = "")
pure virtual

Implemented in RMainWindowQt.

◆ setGraphicsViewCursor()

virtual void RMainWindow::setGraphicsViewCursor ( const QCursor &  cursor)
pure virtual

Sets the cursor of all graphics views in all MDI children.

Necessary as workaround for Qt cursor bug (cursor inconsistent with multiple widgets on top of each other in MDI area).

Implemented in RMainWindowQt.

◆ setLeftMouseTip()

virtual void RMainWindow::setLeftMouseTip ( const QString &  text = "")
pure virtual

Implemented in RMainWindowQt.

◆ setRightMouseTip()

virtual void RMainWindow::setRightMouseTip ( const QString &  text = "")
pure virtual

Implemented in RMainWindowQt.

◆ ucsSetEvent()

void RMainWindow::ucsSetEvent ( const QString &  ucsName)

Called immediately after the user has activated a new UCS to be used as current UCS.

◆ writeSettings()

void RMainWindow::writeSettings ( )
protectedvirtual

Stores the application window settings (size, position, ...).

Reimplemented in RMainWindowQt.

Member Data Documentation

◆ blockListeners

QList<RBlockListener*> RMainWindow::blockListeners
protected

◆ coordinateListeners

QList<RCoordinateListener*> RMainWindow::coordinateListeners
protected

◆ entityExportListeners

QList<REntityExportListener*> RMainWindow::entityExportListeners
protected

◆ exportListeners

QList<RExportListener*> RMainWindow::exportListeners
protected

◆ focusListeners

QList<RFocusListener*> RMainWindow::focusListeners
protected

◆ importListeners

QList<RImportListener*> RMainWindow::importListeners
protected

◆ interTransactionListeners

QList<RInterTransactionListener*> RMainWindow::interTransactionListeners
protected

◆ keyListeners

QList<RKeyListener*> RMainWindow::keyListeners
protected

◆ layerListeners

QList<RLayerListener*> RMainWindow::layerListeners
protected

◆ mainWindow

RMainWindow * RMainWindow::mainWindow = NULL
staticprotected

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

◆ mutex

QMutex RMainWindow::mutex
protected

◆ newDocumentListeners

QList<RNewDocumentListener*> RMainWindow::newDocumentListeners
protected

◆ paletteListeners

QList<RPaletteListener*> RMainWindow::paletteListeners
protected

◆ penListeners

QList<RPenListener*> RMainWindow::penListeners
protected

◆ preferencesListeners

QList<RPreferencesListener*> RMainWindow::preferencesListeners
protected

◆ propertyListeners

QList<RPropertyListener*> RMainWindow::propertyListeners
protected

◆ selectionListeners

QList<RSelectionListener*> RMainWindow::selectionListeners
protected

◆ snapListeners

QList<RSnapListener*> RMainWindow::snapListeners
protected

◆ transactionListeners

QList<RTransactionListener*> RMainWindow::transactionListeners
protected

◆ ucsListeners

QList<RUcsListener*> RMainWindow::ucsListeners
protected

◆ viewFocusListeners

QList<RViewFocusListener*> RMainWindow::viewFocusListeners
protected

◆ viewListeners

QList<RViewListener*> RMainWindow::viewListeners
protected

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