[rkward] rkward/misc: Use right and down, instead of down and up arrows to indicate expandable collapsible headers.

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Sat Nov 14 21:06:18 UTC 2015


Git commit 2659dd16d4720ed270aaace662e925498d2e79fc by Thomas Friedrichsmeier.
Committed on 14/11/2015 at 21:05.
Pushed by tfry into branch 'master'.

Use right and down, instead of down and up arrows to indicate expandable collapsible headers.
To be in line with the standard decoration in QTreeView.

M  +1    -1    rkward/misc/rkobjectlistview.cpp
M  +3    -2    rkward/misc/rkstandardicons.cpp
M  +1    -0    rkward/misc/rkstandardicons.h

http://commits.kde.org/rkward/2659dd16d4720ed270aaace662e925498d2e79fc

diff --git a/rkward/misc/rkobjectlistview.cpp b/rkward/misc/rkobjectlistview.cpp
index c19162e..f497602 100644
--- a/rkward/misc/rkobjectlistview.cpp
+++ b/rkward/misc/rkobjectlistview.cpp
@@ -269,7 +269,7 @@ QWidget* RKObjectListViewSettings::filterWidget (QWidget *parent) {
 	sline->setProxy (this);
 	hlayout->addWidget (sline);
 	QPushButton* expander = new QPushButton (filter_widget);
-	expander->setIcon (RKStandardIcons::getIcon (RKStandardIcons::ActionExpandDown));
+	expander->setIcon (RKStandardIcons::getIcon (RKStandardIcons::ActionConfigureGeneric));
 	expander->setCheckable (true);
 	hlayout->addWidget (expander);
 
diff --git a/rkward/misc/rkstandardicons.cpp b/rkward/misc/rkstandardicons.cpp
index 6a2c53a..0e1bd4b 100644
--- a/rkward/misc/rkstandardicons.cpp
+++ b/rkward/misc/rkstandardicons.cpp
@@ -44,6 +44,7 @@ void RKStandardIcons::initIcons () {
 	icons[ActionCDToScript] = KIcon ("folder-txt");
 
 	icons[ActionConfigurePackages] = KIcon ("utilities-file-archiver");
+	icons[ActionConfigureGeneric] = KIcon ("configure");
 	icons[ActionSearch] = KIcon ("edit-find");
 
 	icons[ActionDeleteRow] = KIcon ("edit-delete");
@@ -64,8 +65,8 @@ void RKStandardIcons::initIcons () {
 	icons[ActionMoveUp] = KIcon ("go-up");
 	icons[ActionMoveDown] = KIcon ("go-down");
 
-	icons[ActionExpandDown] = KIcon ("arrow-down");
-	icons[ActionCollapseUp] = KIcon ("arrow-up");
+	icons[ActionExpandDown] = KIcon ("arrow-right");
+	icons[ActionCollapseUp] = KIcon ("arrow-down");
 
 	icons[ActionDocumentInfo] = KIcon ("documentinfo.png");
 	icons[ActionFlagGreen] = KIcon ("flag-green.png");
diff --git a/rkward/misc/rkstandardicons.h b/rkward/misc/rkstandardicons.h
index cb9ee70..b70d30a 100644
--- a/rkward/misc/rkstandardicons.h
+++ b/rkward/misc/rkstandardicons.h
@@ -44,6 +44,7 @@ public:
 		ActionCDToScript,
 
 		ActionConfigurePackages,
+		ActionConfigureGeneric,
 		ActionSearch,
 
 		ActionDeleteRow,



More information about the rkward-tracker mailing list