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

#include <RCadToolBar.h>

Inheritance diagram for RCadToolBar:

Public Slots

bool back ()
 
void toggleVerticalWhenFloating (bool on)
 

Public Member Functions

RCadToolBarPanelgetCurrentPanel () const
 
QString getCurrentPanelName () const
 
RCadToolBarPanelgetPanel (const QString &title, const QString &objectName, bool hasBackButton=true)
 
 RCadToolBar (const QString &title, QWidget *parent=0)
 Copyright (c) 2011-2022 by Andrew Mustun.
 
void showPanel (const QString &name, bool isBack=false)
 
void updateIconSize ()
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event)
 

Private Attributes

QStackedLayout * stackedLayout
 
QWidget * widget
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RCadToolBar()

RCadToolBar::RCadToolBar ( const QString & title,
QWidget * parent = 0 )

Copyright (c) 2011-2022 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.

Member Function Documentation

◆ back

bool RCadToolBar::back ( )
slot

◆ contextMenuEvent()

void RCadToolBar::contextMenuEvent ( QContextMenuEvent * event)
protectedvirtual

◆ getCurrentPanel()

RCadToolBarPanel * RCadToolBar::getCurrentPanel ( ) const

◆ getCurrentPanelName()

QString RCadToolBar::getCurrentPanelName ( ) const

◆ getPanel()

RCadToolBarPanel * RCadToolBar::getPanel ( const QString & title,
const QString & objectName,
bool hasBackButton = true )

◆ showPanel()

void RCadToolBar::showPanel ( const QString & name,
bool isBack = false )

◆ toggleVerticalWhenFloating

void RCadToolBar::toggleVerticalWhenFloating ( bool on)
slot

◆ updateIconSize()

void RCadToolBar::updateIconSize ( )

Member Data Documentation

◆ stackedLayout

QStackedLayout* RCadToolBar::stackedLayout
private

◆ widget

QWidget* RCadToolBar::widget
private

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