QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RMdiArea Class Reference

MDI area with tabbar that features add tab button. More...

#include <RMdiArea.h>

Inheritance diagram for RMdiArea:

Public Slots

void activateTab (int i)
 
void closeTab (int i)
 
void updateAddButtonLocation ()
 
void updateTabBar (RMdiChildQt *child=NULL)
 
void updateTabBarSize ()
 

Signals

void addTabClicked ()
 

Public Member Functions

QToolButton * getAddTabButton ()
 
 RMdiArea (QWidget *parent=0)
 Copyright (c) 2011-2018 by Andrew Mustun.
 
virtual ~RMdiArea ()
 Destructor.
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Private Attributes

QToolButton * addTabButton
 
QWidget * addTabButtonWidget
 
QTabBar * tabBar
 
QTabBar * tabBarOri
 

Detailed Description

MDI area with tabbar that features add tab button.

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

Constructor & Destructor Documentation

◆ RMdiArea()

RMdiArea::RMdiArea ( QWidget * parent = 0)

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. Default Constructor.

◆ ~RMdiArea()

RMdiArea::~RMdiArea ( )
virtual

Destructor.

Member Function Documentation

◆ activateTab

void RMdiArea::activateTab ( int i)
slot

◆ addTabClicked

void RMdiArea::addTabClicked ( )
signal

◆ closeTab

void RMdiArea::closeTab ( int i)
slot

◆ getAddTabButton()

QToolButton * RMdiArea::getAddTabButton ( )
inline

◆ keyPressEvent()

void RMdiArea::keyPressEvent ( QKeyEvent * event)
protectedvirtual

◆ resizeEvent()

void RMdiArea::resizeEvent ( QResizeEvent * event)
protectedvirtual

◆ updateAddButtonLocation

void RMdiArea::updateAddButtonLocation ( )
slot

◆ updateTabBar

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

◆ updateTabBarSize

void RMdiArea::updateTabBarSize ( )
slot

Member Data Documentation

◆ addTabButton

QToolButton* RMdiArea::addTabButton
private

◆ addTabButtonWidget

QWidget* RMdiArea::addTabButtonWidget
private

◆ tabBar

QTabBar* RMdiArea::tabBar
private

◆ tabBarOri

QTabBar* RMdiArea::tabBarOri
private

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