RMdiArea
Class in GUI Module
Header: #include <src/gui/RMdiArea.h>
Inherits: QMdiArea
Description
Section titled “Description”MDI area with tabbar that features add tab button.
Scriptable: This class is available in script environments.
\generateScriptShell
Public Functions
Section titled “Public Functions”RMdiArea(QWidget *parent=0) |
|
| virtual | ~RMdiArea()Destructor. |
| QToolButton * | getAddTabButton() |
Public Slots
Section titled “Public Slots”| void | activateTab(int i) |
| void | closeTab(int i) |
| void | updateAddButtonLocation() |
| void | updateTabBar(RMdiChildQt *child=NULL) |
| void | updateTabBarSize() |
Protected Functions
Section titled “Protected Functions”| virtual void | keyPressEvent(QKeyEvent *event) |
| virtual void | resizeEvent(QResizeEvent *event) |
Private Attributes
Section titled “Private Attributes”| QToolButton * | addTabButton |
| QWidget * | addTabButtonWidget |
| QTabBar * | tabBar |
| QTabBar * | tabBarOri |
Signals
Section titled “Signals”| void | addTabClicked() |
Member Documentation
Section titled “Member Documentation”RMdiArea
Section titled “RMdiArea”RMdiArea::RMdiArea(QWidget *parent=0)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. Default Constructor.
~RMdiArea
Section titled “~RMdiArea”virtual RMdiArea::~RMdiArea()virtual
Destructor.
getAddTabButton
Section titled “getAddTabButton”QToolButton * RMdiArea::getAddTabButton()inline
activateTab
Section titled “activateTab”void RMdiArea::activateTab(int i)closeTab
Section titled “closeTab”void RMdiArea::closeTab(int i)updateAddButtonLocation
Section titled “updateAddButtonLocation”void RMdiArea::updateAddButtonLocation()updateTabBar
Section titled “updateTabBar”void RMdiArea::updateTabBar(RMdiChildQt *child=NULL)updateTabBarSize
Section titled “updateTabBarSize”void RMdiArea::updateTabBarSize()keyPressEvent
Section titled “keyPressEvent”virtual void RMdiArea::keyPressEvent(QKeyEvent *event)virtual protected
resizeEvent
Section titled “resizeEvent”virtual void RMdiArea::resizeEvent(QResizeEvent *event)virtual protected
addTabButton
Section titled “addTabButton”QToolButton* RMdiArea::addTabButtonprivate
addTabButtonWidget
Section titled “addTabButtonWidget”QWidget* RMdiArea::addTabButtonWidgetprivate
tabBar
Section titled “tabBar”QTabBar* RMdiArea::tabBarprivate
tabBarOri
Section titled “tabBarOri”QTabBar* RMdiArea::tabBarOriprivate
addTabClicked
Section titled “addTabClicked”void RMdiArea::addTabClicked()