Lumiera  0.pre.03
»edit your freedom«
infobox-panel.hpp
Go to the documentation of this file.
1 /*
2  infobox-panel.hpp - A dockable panel to expose information and parameters
3 
4  Copyright (C)
5  2017, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 */
13 
14 
25 #ifndef STAGE_PANEL_INFOBOX_PANEL_H
26 #define STAGE_PANEL_INFOBOX_PANEL_H
27 
28 
29 #include "stage/panel/panel.hpp"
30 
31 #include <memory>
32 
33 namespace stage {
34 namespace widget {
35  class ErrorLogDisplay;
36 }
37 namespace panel{
38 
40  : public Panel
41  {
42  public:
50  InfoBoxPanel (workspace::PanelManager&, Gdl::DockItem&);
51 
52 
53  static const char* getTitle();
54  static const gchar* getStockID();
55 
56  widget::ErrorLogDisplay& getLog();
57 
58  private:
59  Gtk::Box twoParts_;
60  Gtk::ButtonBox buttons_;
61  Gtk::Button buttonClear_, buttonClearInfo_, buttonClearErr_;
62  Gtk::Frame frame_;
63  Gtk::Expander logExpander_;
64 
65  std::unique_ptr<widget::ErrorLogDisplay> theLog_;
66 
67  void reflect_LogErrorState (bool);
68  };
69 
70 
71 }}// namespace stage::panel
72 #endif /*STAGE_PANEL_INFOBOX_PANEL_H*/
A class to manage DockItem objects for WorkspaceWindow.
The base class for all dockable panels.
Definition: panel.hpp:40
Base class and interface for all dockable panels.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
Widget to display log and error messages.