search for effects
i'll keep this and if the owner wants it i'll submit a PR. but i really did this to see if i could.
This commit is contained in:
+116
-23
@@ -63,7 +63,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Effect Profile Constraints</property>
|
||||
<property name="description" translatable="yes">Define when the current effect settings should be used.</property>
|
||||
<property name="description" translatable="yes">Define when the current effect
|
||||
settings should be used.</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
@@ -181,7 +182,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">High Priority</property>
|
||||
<property name="subtitle" translatable="yes">Use this profile even if there are better matching profiles.</property>
|
||||
<property name="subtitle" translatable="yes">Use this profile even if there are
|
||||
better matching profiles.</property>
|
||||
<property name="subtitle-lines">1</property>
|
||||
<property name="activatable-widget">profile-high-priority</property>
|
||||
<child>
|
||||
@@ -214,39 +216,130 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
</child>
|
||||
</object>
|
||||
|
||||
|
||||
|
||||
|
||||
<object class="AdwPreferencesPage" id="general-prefs">
|
||||
<property name="margin-top">20</property>
|
||||
<property name="margin-bottom">20</property>
|
||||
<property name="margin-start">20</property>
|
||||
<property name="margin-end">20</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup" id="effects-group">
|
||||
<property name="margin-top">20</property>
|
||||
<property name="margin-bottom">20</property>
|
||||
<property name="margin-start">20</property>
|
||||
<property name="margin-end">20</property>
|
||||
<property name="title" translatable="yes">Effect Selection</property>
|
||||
<property name="description" translatable="yes">If multiple are selected, one is chosen randomly.</property>
|
||||
|
||||
<child type="header-suffix">
|
||||
<object class="GtkBox">
|
||||
<property name="valign">center</property>
|
||||
<style>
|
||||
<class name="linked" />
|
||||
</style>
|
||||
<object class="AdwPreferencesGroup" id="">
|
||||
|
||||
<child>
|
||||
<object class="GtkGrid" id="selection-controls">
|
||||
<property name="row-spacing">5</property>
|
||||
<property name="column-spacing">5</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="choose-all-effects-button">
|
||||
<property name="label" translatable="yes">All</property>
|
||||
<object class="AdwPreferencesGroup" id="header-text">
|
||||
<property name="title" translatable="yes">Effect Selection</property>
|
||||
<property name="description" translatable="yes">If multiple are selected, one is chosen randomly.</property>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
<property name="row">0</property>
|
||||
<property name="column-span">8</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="choose-no-effects-button">
|
||||
<property name="label" translatable="yes">None</property>
|
||||
</object>
|
||||
</child>
|
||||
<!-- Search Entry -->
|
||||
<child>
|
||||
<object class="GtkSearchEntry" id="search_entry">
|
||||
<property name="placeholder-text">Search...</property>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
<property name="row">1</property>
|
||||
<property name="column-span">5</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
|
||||
<!-- maybe later add a way to only show enabled|disabled|both -->
|
||||
<!-- <child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">horizontal</property>
|
||||
<layout>
|
||||
<property name="column">5</property>
|
||||
<property name="row">1</property>
|
||||
</layout>
|
||||
|
||||
<style>
|
||||
<class name="linked" />
|
||||
</style>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="filter-enabled">
|
||||
<property name="label" translatable="yes">enabled</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="filter-disabled">
|
||||
<property name="label" translatable="yes">disabled</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="filter-all">
|
||||
<property name="label" translatable="yes">both</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child> -->
|
||||
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="homogeneous">true</property>
|
||||
<layout>
|
||||
<property name="column">5</property>
|
||||
<property name="row">1</property>
|
||||
<property name="column-span">4</property>
|
||||
</layout>
|
||||
|
||||
<style>
|
||||
<class name="linked" />
|
||||
</style>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="choose-all-effects-button">
|
||||
<property name="label" translatable="yes">All</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="choose-no-effects-button">
|
||||
<property name="label" translatable="yes">None</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup" id="effects-group">
|
||||
<property name="margin-top">10</property>
|
||||
<property name="margin-bottom">0</property>
|
||||
<property name="margin-start">0</property>
|
||||
<property name="margin-end">0</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
|
||||
|
||||
|
||||
|
||||
</interface>
|
||||
Reference in New Issue
Block a user