forked from qt-creator/qt-creator
Clean up sidebar tabs
Killed the divider lines for improved aestetics Made the hover a bit more subtle
This commit is contained in:
@@ -44,7 +44,7 @@ QT_END_NAMESPACE
|
||||
namespace Core {
|
||||
namespace Internal {
|
||||
|
||||
struct FancyTab {
|
||||
struct FancyTab{
|
||||
QIcon icon;
|
||||
QString text;
|
||||
QString toolTip;
|
||||
@@ -81,6 +81,7 @@ public:
|
||||
tab.text = label;
|
||||
m_tabs.insert(index, tab);
|
||||
}
|
||||
void setEnabled(int index, bool enabled);
|
||||
void removeTab(int index) {
|
||||
m_tabs.removeAt(index);
|
||||
}
|
||||
@@ -95,7 +96,6 @@ public:
|
||||
int count() const {return m_tabs.count(); }
|
||||
QRect tabRect(int index) const;
|
||||
|
||||
|
||||
signals:
|
||||
void currentChanged(int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user