12 #ifndef CXOPTIONSWIDGET_H_
13 #define CXOPTIONSWIDGET_H_
15 #include "cxResourceWidgetsExport.h"
17 #include <QStackedLayout>
41 void setOptions(QString uid, std::vector<PropertyPtr> options,
bool showAdvanced);
42 void setOptions(QString uid, std::vector<SelectDataStringPropertyBasePtr> options,
bool showAdvanced);
43 QString getCurrentUid();
44 void showAdvanced(
bool show);
46 bool hasOptions()
const;
47 bool hasAdvancedOptions()
const;
50 void toggleAdvanced();
54 void populate(
bool showAdvanced);
55 QWidget* createGroupHeaderWidget(QString title);
57 QStackedLayout* mStackedLayout;
58 std::vector<PropertyPtr> mOptions;