Skip to content

RMdiArea

Class in GUI Module
Header: #include <src/gui/RMdiArea.h>
Inherits: QMdiArea

MDI area with tabbar that features add tab button.

Scriptable: This class is available in script environments.

\generateScriptShell

RMdiArea(QWidget *parent=0)
virtual ~RMdiArea()
Destructor.
QToolButton * getAddTabButton()
void activateTab(int i)
void closeTab(int i)
void updateAddButtonLocation()
void updateTabBar(RMdiChildQt *child=NULL)
void updateTabBarSize()
virtual void keyPressEvent(QKeyEvent *event)
virtual void resizeEvent(QResizeEvent *event)
QToolButton * addTabButton
QWidget * addTabButtonWidget
QTabBar * tabBar
QTabBar * tabBarOri
void addTabClicked()

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.

virtual RMdiArea::~RMdiArea()

virtual

Destructor.

QToolButton * RMdiArea::getAddTabButton()

inline

void RMdiArea::activateTab(int i)

void RMdiArea::closeTab(int i)

void RMdiArea::updateAddButtonLocation()

void RMdiArea::updateTabBar(RMdiChildQt *child=NULL)

void RMdiArea::updateTabBarSize()

virtual void RMdiArea::keyPressEvent(QKeyEvent *event)

virtual protected

virtual void RMdiArea::resizeEvent(QResizeEvent *event)

virtual protected

QToolButton* RMdiArea::addTabButton

private

QWidget* RMdiArea::addTabButtonWidget

private

QTabBar* RMdiArea::tabBar

private

QTabBar* RMdiArea::tabBarOri

private

void RMdiArea::addTabClicked()