Commit Graph

9 Commits (b2e30979e2afdfe7127a63f490b3a50e615e5121)

Author SHA1 Message Date
Mavridis Philippe c28a87c7d2
KTabBar: add way to revert tab color to default
This commit adds a resetTabColor(...) method to TQTabBar and TQTabWidget which allows the color of the appropriate tab to be reset to the default as specified by the desktop color scheme.

It also changes how invalid color values are handled; before, an invalid value would be used as a valid color, resulting in 0,0,0 (black). Seeing that an invalid color is returned by KColorDialog when the default color checkbox is checked, it makes more sense to ignore invalid colors, using the appropriate color from the color scheme instead.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Michele Calgaro 8eb500c4e8
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 2e0398f755
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro f52b584fa9 Removed unrequired comments.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 6b1b515330 Add option to control scroll tabs on mouse wheel 11 years ago
Timothy Pearson fe43761567 Update TQt3 property/enum macros 13 years ago
Timothy Pearson 3b1405169d Additional renaming of kde to tde 13 years ago
Timothy Pearson 46850422d6 Rename additional instances of KDE to TDE 13 years ago
Timothy Pearson e16866e072 Actually move the kde files that were renamed in the last commit 13 years ago