Lumiera  0.pre.03
»edit your freedom«
InfoBoxPanel Class Reference

Description

Definition at line 48 of file infobox-panel.hpp.

Public Member Functions

 InfoBoxPanel (workspace::PanelManager &, Gdl::DockItem &)
 Build a new InfoBox-Panel. More...
 
widget::ErrorLogDisplaygetLog ()
 on demand allocate display of information / error log More...
 
- Public Member Functions inherited from Panel
Gdl::DockItem & getDockItem ()
 
workspace::PanelManagergetPanelManager ()
 
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...
 

Static Public Member Functions

static const gchar * getStockID ()
 
static const char * getTitle ()
 

Private Member Functions

void reflect_LogErrorState (bool)
 

Private Attributes

Gtk::Button buttonClear_
 
Gtk::Button buttonClearErr_
 
Gtk::Button buttonClearInfo_
 
Gtk::ButtonBox buttons_
 
Gtk::Frame frame_
 
Gtk::Expander logExpander_
 
std::unique_ptr< widget::ErrorLogDisplaytheLog_
 
Gtk::Box twoParts_
 

Additional Inherited Members

- Protected Member Functions inherited from Panel
 Panel (workspace::PanelManager &, Gdl::DockItem &, const gchar *longName, const gchar *stockID)
 
workspace::WorkspaceWindowgetWorkspaceWindow ()
 
- Protected Attributes inherited from Panel
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::PanelManagerpanelManager_
 The owner panel manager object. More...
 

Constructor & Destructor Documentation

◆ InfoBoxPanel()

InfoBoxPanel ( workspace::PanelManager panelManager,
Gdl::DockItem &  dockItem 
)

Build a new InfoBox-Panel.

Parameters
PanelManagerThe owner panel manager widget.
DockItemThe GdlDockItem that will host this panel.
Todo:
just used as place for the error log as of 10/2017. More to come...

Definition at line 39 of file infobox-panel.cpp.

Member Function Documentation

◆ getTitle()

const char * getTitle ( )
static
Deprecated:
need better design of the PanelManager /////TICKET #1026

Definition at line 88 of file infobox-panel.cpp.

◆ getLog()

ErrorLogDisplay & getLog ( )

on demand allocate display of information / error log

Note
we assume it stays alive until the panel itself is closed.
Remarks
the ErrorLogDisplay widget exposes a Expander functor, which is wired here with the Gtk::Expander container holding the Log. This setup allows to trigger the expand/collapse functionality and query the expansion state directly on the widget. Especially NotificationHub relies on this configuration.

Definition at line 109 of file infobox-panel.cpp.

References Panel::show().

+ Here is the call graph for this function:
+ Inheritance diagram for InfoBoxPanel:
+ Collaboration diagram for InfoBoxPanel:

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