QCAD
Open Source 2D CAD
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-2017 by Andrew Mustun. More...
 
virtual ~RMdiArea ()
 Destructor. More...
 

Protected Member Functions

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:
This class is available in script environments.

Constructor & Destructor Documentation

RMdiArea::RMdiArea ( QWidget *  parent = 0)

Copyright (c) 2011-2017 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 ( )
virtual

Destructor.

Member Function Documentation

void RMdiArea::activateTab ( int  i)
slot
void RMdiArea::addTabClicked ( )
signal
void RMdiArea::closeTab ( int  i)
slot
QToolButton* RMdiArea::getAddTabButton ( )
inline
void RMdiArea::resizeEvent ( QResizeEvent *  event)
protectedvirtual
void RMdiArea::updateAddButtonLocation ( )
slot
void RMdiArea::updateTabBar ( RMdiChildQt child = NULL)
slot
void RMdiArea::updateTabBarSize ( )
slot

Member Data Documentation

QToolButton* RMdiArea::addTabButton
private
QWidget* RMdiArea::addTabButtonWidget
private
QTabBar* RMdiArea::tabBar
private
QTabBar* RMdiArea::tabBarOri
private

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