|
svgui
1.9
|
#include <PaneStack.h>


Classes | |
| struct | PaneRec |
Public Types | |
| enum | LayoutStyle { NoPropertyStacks = 0, SinglePropertyStackLayout = 1, PropertyStackPerPaneLayout = 2 } |
Public Slots | |
| void | propertyContainerAdded (PropertyContainer *) |
| void | propertyContainerRemoved (PropertyContainer *) |
| void | propertyContainerSelected (View *client, PropertyContainer *) |
| void | viewSelected (View *v) |
| void | paneInteractedWith () |
| void | rightButtonMenuRequested (QPoint) |
| void | paneDropAccepted (QStringList) |
| void | paneDropAccepted (QString) |
| void | paneDeleteButtonClicked () |
| void | indicatorClicked () |
Signals | |
| void | currentPaneChanged (Pane *pane) |
| void | currentLayerChanged (Pane *pane, Layer *layer) |
| void | rightButtonMenuRequested (Pane *pane, QPoint position) |
| void | propertyStacksResized (int width) |
| void | propertyStacksResized () |
| void | contextHelpChanged (const QString &) |
| void | paneAdded (Pane *pane) |
| void | paneAdded () |
| void | paneHidden (Pane *pane) |
| void | paneHidden () |
| void | paneAboutToBeDeleted (Pane *pane) |
| void | paneDeleted () |
| void | dropAccepted (Pane *pane, QStringList uriList) |
| void | dropAccepted (Pane *pane, QString text) |
| void | paneDeleteButtonClicked (Pane *pane) |
| void | doubleClickSelectInvoked (int frame) |
Public Member Functions | |
| PaneStack (QWidget *parent, ViewManager *viewManager) | |
| Pane * | addPane (bool suppressPropertyBox=false) |
| Pane * | insertPane (int index, bool suppressPropertyBox=false) |
| void | deletePane (Pane *pane) |
| int | getPaneCount () const |
| Pane * | getPane (int n) |
| int | getPaneIndex (Pane *pane) |
| void | hidePane (Pane *pane) |
| void | showPane (Pane *pane) |
| int | getHiddenPaneCount () const |
| Pane * | getHiddenPane (int n) |
| void | setCurrentPane (Pane *pane) |
| void | setCurrentLayer (Pane *pane, Layer *layer) |
| Pane * | getCurrentPane () |
| LayoutStyle | getLayoutStyle () const |
| void | setLayoutStyle (LayoutStyle style) |
| void | setPropertyStackMinWidth (int mw) |
| void | setShowPaneAccessories (bool show) |
| void | sizePanesEqually () |
Protected Member Functions | |
| void | sizePropertyStacks () |
| void | showOrHidePaneAccessories () |
Protected Attributes | |
| Pane * | m_currentPane |
| std::vector< PaneRec > | m_panes |
| std::vector< PaneRec > | m_hiddenPanes |
| bool | m_showAccessories |
| QSplitter * | m_splitter |
| QStackedWidget * | m_propertyStackStack |
| ViewManager * | m_viewManager |
| int | m_propertyStackMinWidth |
| LayoutStyle | m_layoutStyle |
Definition at line 36 of file PaneStack.h.
| Enumerator | |
|---|---|
| NoPropertyStacks | |
| SinglePropertyStackLayout | |
| PropertyStackPerPaneLayout | |
Definition at line 61 of file PaneStack.h.
| PaneStack::PaneStack | ( | QWidget * | parent, |
| ViewManager * | viewManager | ||
| ) |
Definition at line 39 of file PaneStack.cpp.
References m_propertyStackStack, and m_splitter.
| Pane * PaneStack::addPane | ( | bool | suppressPropertyBox = false | ) |
Definition at line 71 of file PaneStack.cpp.
References getPaneCount(), and insertPane().
| Pane * PaneStack::insertPane | ( | int | index, |
| bool | suppressPropertyBox = false |
||
| ) |
Definition at line 77 of file PaneStack.cpp.
References contextHelpChanged(), PaneStack::PaneRec::currentIndicator, doubleClickSelectInvoked(), dropAccepted(), PaneStack::PaneRec::frame, indicatorClicked(), PaneStack::PaneRec::layout, m_currentPane, m_layoutStyle, m_panes, m_propertyStackStack, m_showAccessories, m_splitter, m_viewManager, PaneStack::PaneRec::pane, paneAdded(), paneDeleteButtonClicked(), paneDropAccepted(), paneInteractedWith(), propertyContainerAdded(), propertyContainerRemoved(), propertyContainerSelected(), PaneStack::PaneRec::propertyStack, PropertyStackPerPaneLayout, rightButtonMenuRequested(), setCurrentPane(), View::setViewManager(), showOrHidePaneAccessories(), viewSelected(), and PaneStack::PaneRec::xButton.
Referenced by addPane().
| void PaneStack::deletePane | ( | Pane * | pane | ) |
Definition at line 246 of file PaneStack.cpp.
References m_currentPane, m_hiddenPanes, m_panes, paneAboutToBeDeleted(), paneDeleted(), setCurrentPane(), and showOrHidePaneAccessories().
| int PaneStack::getPaneCount | ( | ) | const |
Definition at line 324 of file PaneStack.cpp.
References m_panes.
Referenced by addPane(), getPaneIndex(), LayerTreeModel::index(), LayerTreeModel::LayerTreeModel(), ModelMetadataModel::ModelMetadataModel(), LayerTreeModel::playParametersAudibilityChanged(), LayerTreeModel::propertyContainerPropertyChanged(), ModelMetadataModel::rebuildModelSet(), LayerTreeModel::rowCount(), and showOrHidePaneAccessories().
| Pane * PaneStack::getPane | ( | int | n | ) |
Definition at line 219 of file PaneStack.cpp.
References m_panes.
Referenced by getPaneIndex(), LayerTreeModel::index(), LayerTreeModel::LayerTreeModel(), ModelMetadataModel::ModelMetadataModel(), LayerTreeModel::playParametersAudibilityChanged(), LayerTreeModel::propertyContainerPropertyChanged(), ModelMetadataModel::rebuildModelSet(), and LayerTreeModel::rowCount().
| int PaneStack::getPaneIndex | ( | Pane * | pane | ) |
Definition at line 229 of file PaneStack.cpp.
References getPane(), and getPaneCount().
Referenced by LayerTreeModel::parent().
| void PaneStack::hidePane | ( | Pane * | pane | ) |
Definition at line 336 of file PaneStack.cpp.
References m_currentPane, m_hiddenPanes, m_panes, paneHidden(), setCurrentPane(), and showOrHidePaneAccessories().
| void PaneStack::showPane | ( | Pane * | pane | ) |
!! update current pane
Definition at line 369 of file PaneStack.cpp.
References m_hiddenPanes, m_panes, and showOrHidePaneAccessories().
| int PaneStack::getHiddenPaneCount | ( | ) | const |
Definition at line 330 of file PaneStack.cpp.
References m_hiddenPanes.
| Pane * PaneStack::getHiddenPane | ( | int | n | ) |
Definition at line 240 of file PaneStack.cpp.
References m_hiddenPanes.
| void PaneStack::setCurrentPane | ( | Pane * | pane | ) |
Definition at line 393 of file PaneStack.cpp.
References currentPaneChanged(), m_currentPane, m_layoutStyle, m_panes, m_propertyStackStack, and PropertyStackPerPaneLayout.
Referenced by deletePane(), hidePane(), indicatorClicked(), insertPane(), paneInteractedWith(), propertyContainerSelected(), setCurrentLayer(), and viewSelected().
Definition at line 433 of file PaneStack.cpp.
References PropertyStack::containsContainer(), currentLayerChanged(), PropertyStack::getContainerIndex(), View::getPropertyContainer(), m_currentPane, m_panes, and setCurrentPane().
| Pane * PaneStack::getCurrentPane | ( | ) |
Definition at line 465 of file PaneStack.cpp.
References m_currentPane.
|
inline |
Definition at line 67 of file PaneStack.h.
References m_layoutStyle.
| void PaneStack::setLayoutStyle | ( | LayoutStyle | style | ) |
Definition at line 185 of file PaneStack.cpp.
References m_layoutStyle, m_panes, m_propertyStackStack, NoPropertyStacks, PropertyStackPerPaneLayout, and SinglePropertyStackLayout.
| void PaneStack::setPropertyStackMinWidth | ( | int | mw | ) |
Definition at line 175 of file PaneStack.cpp.
References m_panes, and m_propertyStackMinWidth.
| void PaneStack::setShowPaneAccessories | ( | bool | show | ) |
Definition at line 65 of file PaneStack.cpp.
References m_showAccessories.
| void PaneStack::sizePanesEqually | ( | ) |
Definition at line 603 of file PaneStack.cpp.
References m_panes, and m_splitter.
|
signal |
Referenced by setCurrentPane().
Referenced by propertyContainerSelected(), and setCurrentLayer().
|
signal |
Referenced by insertPane(), and rightButtonMenuRequested().
|
signal |
|
signal |
Referenced by sizePropertyStacks().
|
signal |
Referenced by insertPane().
|
signal |
|
signal |
Referenced by insertPane().
|
signal |
|
signal |
Referenced by hidePane().
|
signal |
Referenced by deletePane().
|
signal |
Referenced by deletePane().
|
signal |
Referenced by insertPane(), and paneDropAccepted().
|
signal |
|
signal |
|
signal |
Referenced by insertPane().
|
slot |
Definition at line 471 of file PaneStack.cpp.
References sizePropertyStacks().
Referenced by insertPane().
|
slot |
Definition at line 477 of file PaneStack.cpp.
References sizePropertyStacks().
Referenced by insertPane().
|
slot |
Definition at line 483 of file PaneStack.cpp.
References PropertyStack::containsContainer(), currentLayerChanged(), PropertyStack::getClient(), m_currentPane, m_panes, and setCurrentPane().
Referenced by insertPane().
|
slot |
Definition at line 504 of file PaneStack.cpp.
References setCurrentPane().
Referenced by insertPane().
|
slot |
Definition at line 511 of file PaneStack.cpp.
References setCurrentPane().
Referenced by insertPane().
|
slot |
Definition at line 519 of file PaneStack.cpp.
References rightButtonMenuRequested().
|
slot |
Definition at line 565 of file PaneStack.cpp.
References dropAccepted().
Referenced by insertPane().
|
slot |
Definition at line 572 of file PaneStack.cpp.
References dropAccepted().
|
slot |
|
slot |
Definition at line 590 of file PaneStack.cpp.
References m_panes, and setCurrentPane().
Referenced by insertPane().
|
protected |
Definition at line 527 of file PaneStack.cpp.
References m_panes, m_propertyStackMinWidth, m_propertyStackStack, and propertyStacksResized().
Referenced by propertyContainerAdded(), and propertyContainerRemoved().
|
protected |
Definition at line 311 of file PaneStack.cpp.
References getPaneCount(), m_panes, and m_showAccessories.
Referenced by deletePane(), hidePane(), insertPane(), and showPane().
|
protected |
Definition at line 111 of file PaneStack.h.
Referenced by deletePane(), getCurrentPane(), hidePane(), insertPane(), propertyContainerSelected(), setCurrentLayer(), and setCurrentPane().
|
protected |
Definition at line 123 of file PaneStack.h.
Referenced by deletePane(), getPane(), getPaneCount(), hidePane(), indicatorClicked(), insertPane(), paneDeleteButtonClicked(), propertyContainerSelected(), setCurrentLayer(), setCurrentPane(), setLayoutStyle(), setPropertyStackMinWidth(), showOrHidePaneAccessories(), showPane(), sizePanesEqually(), and sizePropertyStacks().
|
protected |
Definition at line 124 of file PaneStack.h.
Referenced by deletePane(), getHiddenPane(), getHiddenPaneCount(), hidePane(), and showPane().
|
protected |
Definition at line 126 of file PaneStack.h.
Referenced by insertPane(), setShowPaneAccessories(), and showOrHidePaneAccessories().
|
protected |
Definition at line 128 of file PaneStack.h.
Referenced by insertPane(), PaneStack(), and sizePanesEqually().
|
protected |
Definition at line 129 of file PaneStack.h.
Referenced by insertPane(), PaneStack(), setCurrentPane(), setLayoutStyle(), and sizePropertyStacks().
|
protected |
Definition at line 131 of file PaneStack.h.
Referenced by insertPane().
|
protected |
Definition at line 132 of file PaneStack.h.
Referenced by setPropertyStackMinWidth(), and sizePropertyStacks().
|
protected |
Definition at line 137 of file PaneStack.h.
Referenced by getLayoutStyle(), insertPane(), setCurrentPane(), and setLayoutStyle().