Clean up sidebar tabs

Killed the divider lines for improved aestetics
Made the hover a bit more subtle
This commit is contained in:
Jens Bache-Wiig
2010-02-17 17:20:31 +01:00
parent 015ffe2835
commit 915923a17c
3 changed files with 44 additions and 32 deletions

View File

@@ -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);