Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/panel/panel.hpp"
Public Member Functions | |
Gdl::DockItem & | getDockItem () |
workspace::PanelManager & | getPanelManager () |
void | iconify () |
bool | is_iconified () const |
bool | is_locked () const |
bool | is_shown () const |
void | lock (bool show=true) |
Locks or unlocks the panel against modifications. | |
void | show (bool show=true) |
Shows or hides the panel. More... | |
sigc::signal< void > & | signal_hidePanel () |
fires when the dock item gets hidden. More... | |
Protected Member Functions | |
Panel (workspace::PanelManager &, Gdl::DockItem &, const gchar *longName, const gchar *stockID) | |
workspace::WorkspaceWindow & | getWorkspaceWindow () |
Protected Attributes | |
Gdl::DockItem & | dockItem_ |
owner dock item widget that will host the widgets in this panel. More... | |
sigc::signal< void > | hidePanelSignal_ |
signal that fires when the dock item is hidden. More... | |
widget::PanelBar | panelBar_ |
panel bar to attach to the panel grip. More... | |
workspace::PanelManager & | panelManager_ |
The owner panel manager object. More... | |
Private Member Functions | |
void | on_item_hidden () |
event handler when dockItem is hidden. More... | |
|
protected |
panel_manager | owner panel manager widget |
dock_item | GdlDockItem that will host this panel |
long_name | title of this panel |
stock_id | ID of this panel |
Definition at line 41 of file panel.cpp.
References Panel::dockItem_, Panel::on_item_hidden(), Panel::panelBar_, and Panel::panelManager_.
Gdl::DockItem & getDockItem | ( | ) |
Definition at line 95 of file panel.cpp.
References Panel::dockItem_.
Referenced by PanelManager::createPanels(), DockArea::createPanels(), PanelManager::splitPanel(), DockArea::splitPanel(), PanelManager::switchPanel(), and DockArea::switchPanel().
void show | ( | bool | show = true | ) |
Shows or hides the panel.
Definition at line 101 of file panel.cpp.
References Panel::dockItem_.
Referenced by InfoBoxPanel::getLog(), and PanelBar::on_hide().
bool is_iconified | ( | ) | const |
Gdlmm as of v1.30.0 does not have a facility for checking the whether a dock item is iconified or not ////////////////////TODO explicit usings please!
Definition at line 122 of file panel.cpp.
References Panel::dockItem_.
Referenced by PanelManager::on_panel_shown(), and DockArea::on_panel_shown().
workspace::PanelManager & getPanelManager | ( | ) |
Definition at line 148 of file panel.cpp.
References PanelManager::getWorkspaceWindow(), and Panel::panelManager_.
Referenced by PanelBar::on_panel_type(), and PanelBar::on_split_panel().
sigc::signal< void > & signal_hidePanel | ( | ) |
fires when the dock item gets hidden.
Definition at line 160 of file panel.cpp.
References Panel::hidePanelSignal_.
Referenced by PanelManager::createPanel_by_index(), and DockArea::createPanel_by_index().
|
private |
event handler when dockItem is hidden.
Definition at line 166 of file panel.cpp.
References Panel::hidePanelSignal_.
Referenced by Panel::Panel().
|
protected |
The owner panel manager object.
Definition at line 103 of file panel.hpp.
Referenced by Panel::getPanelManager(), and Panel::Panel().
|
protected |
owner dock item widget that will host the widgets in this panel.
Definition at line 106 of file panel.hpp.
Referenced by Panel::getDockItem(), Panel::is_iconified(), Panel::lock(), Panel::Panel(), and Panel::show().
|
protected |
signal that fires when the dock item is hidden.
Definition at line 109 of file panel.hpp.
Referenced by Panel::on_item_hidden(), and Panel::signal_hidePanel().
|
protected |
panel bar to attach to the panel grip.
Definition at line 112 of file panel.hpp.
Referenced by Panel::Panel().