comparison include/gui/widgets/sidebar.h @ 294:99cbc51433e4

*: cleanup uses of QPalette I didn't know about setBackgroundRole() which is very useful in 99% of the cases where I even needed to edit the palette
author Paper <paper@paper.us.eu.org>
date Sun, 12 May 2024 18:16:08 -0400
parents 3ec7804abf17
children
comparison
equal deleted inserted replaced
293:703fb7d7c917 294:99cbc51433e4
14 QListWidgetItem* AddItem(QString name, QIcon icon = QIcon()); 14 QListWidgetItem* AddItem(QString name, QIcon icon = QIcon());
15 QListWidgetItem* AddSeparator(); 15 QListWidgetItem* AddSeparator();
16 int GetCurrentItem(); 16 int GetCurrentItem();
17 bool IndexIsSeparator(QModelIndex index) const; 17 bool IndexIsSeparator(QModelIndex index) const;
18 static QIcon CreateIcon(const char* file); 18 static QIcon CreateIcon(const char* file);
19 void SetBackgroundColor(QColor color); 19 void SetBackgroundTransparent(bool yes);
20 20
21 signals: 21 signals:
22 void CurrentItemChanged(int index); 22 void CurrentItemChanged(int index);
23 23
24 public slots: 24 public slots: