35 #ifndef QUICKCONTROLVIEW_H
36 #define QUICKCONTROLVIEW_H
42 #include "../disp_global.h"
60 class QuickControlViewWidget;
87 typedef QSharedPointer<QuickControlView>
SPtr;
88 typedef QSharedPointer<const QuickControlView>
ConstSPtr;
100 const QString& name =
"",
101 Qt::WindowFlags flags = Qt::Window | Qt::WindowStaysOnTopHint,
102 QWidget *parent = Q_NULLPTR,
103 bool bDraggable =
true);
117 QVBoxLayout* findTabWidgetLayout(
const QString& sTabName);
130 void addWidgets(
const QList<QWidget*>& lWidgets,
131 const QString& sTabName,
132 bool bAddToEnd =
false);
143 void addWidget(QWidget* pWidget,
144 const QString& sTabName,
145 bool bAddToEnd =
false);
157 void addGroupBox(QWidget* pWidget,
158 const QString& sGroupBoxName,
159 const QString& sTabName,
160 bool bAddToEnd =
false);
174 void addGroupBoxWithTabs(QWidget* pWidget,
175 const QString& sGroupBoxName,
176 const QString& sTabNameGroupBox,
177 const QString& sTabName,
178 bool bAddToEnd =
false);
186 void setOpacityValue(
int opactiy);
194 int getOpacityValue();
202 void setVisiblityHideOpacityClose(
bool bVisibility);
223 void onOpacityChange(qint32 value);
226 QString m_sSettingsPath;
228 Ui::QuickControlViewWidget* m_pUi;
234 #endif // QUICKCONTROLVIEW_H