48 switch (OpenFlipper::Options::loggerState()) {
49 case OpenFlipper::Options::InScene:
50 OpenFlipper::Options::loggerState(OpenFlipper::Options::Normal);
52 case OpenFlipper::Options::Normal:
53 OpenFlipper::Options::loggerState(OpenFlipper::Options::Hidden);
55 case OpenFlipper::Options::Hidden:
56 OpenFlipper::Options::loggerState(OpenFlipper::Options::InScene);
61 showLogger(OpenFlipper::Options::loggerState());
75 case OpenFlipper::Options::InScene: {
84 case OpenFlipper::Options::Normal: {
94 case OpenFlipper::Options::Hidden: {
118 if(wsizes.size() > 1) {
142 int totalHeight = wsizes[0] + wsizes[1];
LoggerWidget * logWidget_
Textedit at the bottom for log messages.
QSplitter * splitter_
Spliter between toplevel objects and the textedit at the bottom.
LoggerState
State of the logging widget.
void showLogger(OpenFlipper::Options::LoggerState _state)
Change visibility of the logger.
int originalLoggerSize_
Size of the logging window ( defaults to 240 )
void detachWidget()
detach child widget
void updateGeometry()
recalculate geometry
QtSlideWindow * slidingLogger_
Class that holds the animated log widget.
void updateInSceneLoggerGeometry()
Set in-scene logger geometry right.
OpenFlipper::Options::LoggerState loggerState_
Show logger in splitter or not.
void showLoggerInSplitView(bool _show)
Show logger in splitter or not.
void toggleLogger()
Hide or show logging area.
void attachWidget(QWidget *_m)
attach a child widget