17 #include <QtCore/qglobal.h> 19 #include <QtCore/QString> 20 #include <QtCore/QStack> 21 #include <QtCore/QScopedPointer> 23 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 24 #include <QtGui/QWidget> 25 #include <QtGui/QVBoxLayout> 26 #include <QtGui/QHBoxLayout> 27 #include <QtGui/QStackedLayout> 29 #include <QtWidgets/QWidget> 30 #include <QtWidgets/QVBoxLayout> 31 #include <QtWidgets/QHBoxLayout> 32 #include <QtWidgets/QStackedLayout> 87 void showRunningWidget(
const QString &fileName,
int scriptId);
89 void hideRunningWidget(
int scriptId);
91 void showError(
const QString &error,
int scriptId);
93 void hideGraphicsWidget();
95 void hideScriptWidgets();
97 void updateStack(
int removedWidget);
105 void expandMainWidget();
108 void unexpandMainWidget();
110 const QMargins mDefaultMargins{11, 11, 11, 11};
113 QVBoxLayout mMainLayout;
114 QHBoxLayout mStatusBarLayout;
115 QStackedLayout mMainWidgetsLayout;
123 QScopedPointer<LazyMainWidget> mBrickDisplayWidgetWrapper;
125 QStack<int> mMainWidgetIndex;
Provides backend features like Qt Script runner for frontend.
Definition: controller.h:35
Abstract class for widgets which will be used for conversation with user.
Definition: mainWidget.h:28
A label that shows wifi connection status.
Definition: wiFiIndicator.h:25
Definition: abstractIndicator.h:21
A label that shows gamepad connection status.
Definition: gamepadIndicator.h:25
A label that shows whether or not some connection is open (for example, Mailbox connection) ...
Definition: openSocketIndicator.h:28
Abstract class for widgets which will be used for conversation with user (but when it doesn't want to...
Definition: lazyMainWidget.h:31
Label showing battery voltage.
Definition: batteryIndicator.h:32