diff --git a/src/libs/timeline/qml/ButtonsBar.qml b/src/libs/timeline/qml/ButtonsBar.qml
index 4f31c15d380..763d4d4e4a9 100644
--- a/src/libs/timeline/qml/ButtonsBar.qml
+++ b/src/libs/timeline/qml/ButtonsBar.qml
@@ -36,12 +36,11 @@ import QtQuick.Controls.Styles 1.2
ToolBar {
id: buttons
- readonly property int buttonWidth: 25
+ readonly property int buttonWidth: 30
signal jumpToPrev()
signal jumpToNext()
signal zoomControlChanged()
- signal filterMenuChanged()
signal rangeSelectChanged()
signal lockChanged()
@@ -113,18 +112,6 @@ ToolBar {
onCheckedChanged: buttons.zoomControlChanged()
}
- ToolButton {
- id: filterButton
- anchors.top: parent.top
- anchors.bottom: parent.bottom
- implicitWidth: buttonWidth
-
- iconSource: "qrc:/timeline/ico_filter.png"
- tooltip: qsTr("Filter Categories")
- checkable: true
- onCheckedChanged: buttons.filterMenuChanged()
- }
-
ToolButton {
id: rangeButton
anchors.top: parent.top
diff --git a/src/libs/timeline/qml/MainView.qml b/src/libs/timeline/qml/MainView.qml
index aa998d3e488..522044512bf 100644
--- a/src/libs/timeline/qml/MainView.qml
+++ b/src/libs/timeline/qml/MainView.qml
@@ -183,7 +183,6 @@ Rectangle {
width: 150
height: 24
onZoomControlChanged: zoomSliderToolBar.visible = !zoomSliderToolBar.visible
- onFilterMenuChanged: filterMenu.visible = !filterMenu.visible
onJumpToNext: {
var next = timelineModelAggregator.nextItem(root.selectedModel, root.selectedItem,
zoomControl.rangeStart);
@@ -370,48 +369,6 @@ Rectangle {
color: "#B0B0B0"
}
- Rectangle {
- id: filterMenu
- color: "#9b9b9b"
- enabled: buttonsBar.enabled
- visible: false
- width: buttonsBar.width
- anchors.left: parent.left
- anchors.top: buttonsBar.bottom
- height: timelineModelAggregator.models.length * buttonsBar.height
-
- Repeater {
- id: filterMenuInner
- model: timelineModelAggregator.models
- CheckBox {
- anchors.left: filterMenu.left
- anchors.right: filterMenu.right
- height: buttonsBar.height
- y: index * height
- enabled: !modelData.empty
- checked: true
- onCheckedChanged: modelData.hidden = !checked
-
- style: CheckBoxStyle {
- label: Text {
- width: filterMenu.width - implicitHeight * 1.5
- color: control.enabled ? "black" : "#808080"
- text: modelData.displayName
- textFormat: Text.PlainText
- elide: Text.ElideRight
- renderType: Text.NativeRendering
- }
- }
-
- Connections {
- target: modelData
- onEmptyChanged: checked = true
- }
- }
- }
-
- }
-
Rectangle {
id: zoomSliderToolBar
objectName: "zoomSliderToolBar"
diff --git a/src/libs/timeline/qml/ico_filter.png b/src/libs/timeline/qml/ico_filter.png
deleted file mode 100644
index edfb9fc86b6..00000000000
Binary files a/src/libs/timeline/qml/ico_filter.png and /dev/null differ
diff --git a/src/libs/timeline/qml/timeline.qrc b/src/libs/timeline/qml/timeline.qrc
index 540244538c0..98df66cb561 100644
--- a/src/libs/timeline/qml/timeline.qrc
+++ b/src/libs/timeline/qml/timeline.qrc
@@ -25,7 +25,6 @@
ico_rangeselected.png
ico_note.png
ButtonsBar.qml
- ico_filter.png
timelineitems.vert
timelineitems.frag
notes.vert