ProjectWindow: Make kit activation easier

Add a [+] icon for inactive kit entries, add a "Click to activate" to
the tool tip, and allow single click activation.

Change-Id: I1219eb54b4e3a077ef133afaf71134bb35e14fb7
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2016-09-16 13:27:22 +02:00
committed by hjk
parent 8c76f08ce4
commit b259939755
2 changed files with 27 additions and 5 deletions

View File

@@ -44,6 +44,7 @@
#include <utils/qtcassert.h>
#include <utils/styledbar.h>
#include <utils/treemodel.h>
#include <utils/basetreeview.h>
#include <QApplication>
#include <QComboBox>
@@ -430,7 +431,7 @@ public:
// SelectorTree
//
class SelectorTree : public NavigationTreeView
class SelectorTree : public BaseTreeView
{
public:
SelectorTree()