RCadToolBar
Class in GUI Module
Header: #include <src/gui/RCadToolBar.h>
Inherits: QToolBar
Description
Section titled “Description”Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RCadToolBar(const QString &title, QWidget *parent=0) |
|
| RCadToolBarPanel * | getCurrentPanel() const |
| QString | getCurrentPanelName() const |
| RCadToolBarPanel * | getPanel(const QString &title, const QString &objectName, bool hasBackButton=true) |
| void | showPanel(const QString &name, bool isBack=false) |
| void | updateIconSize() |
Public Slots
Section titled “Public Slots”| bool | back() |
| void | toggleVerticalWhenFloating(bool on) |
Protected Functions
Section titled “Protected Functions”| virtual void | contextMenuEvent(QContextMenuEvent *event) |
Private Attributes
Section titled “Private Attributes”| QStackedLayout * | stackedLayout |
| QWidget * | widget |
Member Documentation
Section titled “Member Documentation”RCadToolBar
Section titled “RCadToolBar”RCadToolBar::RCadToolBar(const QString &title, 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.
getCurrentPanel
Section titled “getCurrentPanel”RCadToolBarPanel * RCadToolBar::getCurrentPanel() constconst
getCurrentPanelName
Section titled “getCurrentPanelName”QString RCadToolBar::getCurrentPanelName() constconst
getPanel
Section titled “getPanel”RCadToolBarPanel * RCadToolBar::getPanel(const QString &title, const QString &objectName, bool hasBackButton=true)showPanel
Section titled “showPanel”void RCadToolBar::showPanel(const QString &name, bool isBack=false)updateIconSize
Section titled “updateIconSize”void RCadToolBar::updateIconSize()bool RCadToolBar::back()toggleVerticalWhenFloating
Section titled “toggleVerticalWhenFloating”void RCadToolBar::toggleVerticalWhenFloating(bool on)contextMenuEvent
Section titled “contextMenuEvent”virtual void RCadToolBar::contextMenuEvent(QContextMenuEvent *event)virtual protected
stackedLayout
Section titled “stackedLayout”QStackedLayout* RCadToolBar::stackedLayoutprivate
widget
Section titled “widget”QWidget* RCadToolBar::widgetprivate