-
Notifications
You must be signed in to change notification settings - Fork 79
Filter floating chip #4427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev/filtering
Are you sure you want to change the base?
Filter floating chip #4427
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -591,25 +591,6 @@ Item { | |
| } | ||
| } | ||
|
|
||
| // Filter indicator button - left side, 20% from top | ||
| MMMapButton { | ||
| id: filterIndicatorButton | ||
|
|
||
| visible: root.state === "view" && root.filterController && (root.filterController.hasActiveFilters || AppSettings.alwaysShowFilterButton) | ||
| iconSource: root.filterController && root.filterController.hasActiveFilters ? __style.filterFilledIcon : __style.filterIcon | ||
| bgndColor: root.filterController && root.filterController.hasActiveFilters ? __style.sandColor : __style.polarColor | ||
|
|
||
| anchors { | ||
| left: parent.left | ||
| top: parent.top | ||
| topMargin: parent.height * 0.2 | ||
| } | ||
|
|
||
| onClicked: { | ||
| root.openFiltersPanel() | ||
| } | ||
| } | ||
|
|
||
| Item { | ||
| // bottom buttons group | ||
| width: parent.width | ||
|
|
@@ -879,6 +860,18 @@ Item { | |
| } | ||
| } | ||
|
|
||
| MMMapButton { | ||
| id: filterIndicatorButton | ||
|
|
||
| visible: root.state === "view" && root.filterController && root.filterController.hasActiveFilters | ||
| iconSource: __style.filterIcon | ||
| bgndColor: __style.positiveColor | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be also tied to "active filters state"
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's say |
||
|
|
||
| onClicked: { | ||
| root.openFiltersPanel() | ||
| } | ||
|
Comment on lines
+870
to
+872
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we could either add double click listener here (and also into |
||
| } | ||
|
|
||
| MMMapButton { | ||
| id: gpsButton | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will just need a small change to reflect the new way of accessing
filterController