UI: Add support for property groups

Property groups are implemented in the UI using QGroupBox, which support
both the normal and checkable version of them.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-02-14 17:48:10 +01:00
committed by jp9000
parent 6b6ea575ff
commit 5c0c512fc2
2 changed files with 54 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ private:
void ListChanged(const char *setting);
bool ColorChanged(const char *setting);
bool FontChanged(const char *setting);
void GroupChanged(const char *setting);
void EditableListChanged();
void ButtonClicked();
@@ -103,6 +104,8 @@ private:
void AddFrameRate(obs_property_t *prop, bool &warning,
QFormLayout *layout, QLabel *&label);
void AddGroup(obs_property_t *prop, QFormLayout *layout);
void AddProperty(obs_property_t *property, QFormLayout *layout);
void resizeEvent(QResizeEvent *event) override;