summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-19 05:06:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-19 05:06:16 +0000
commit06969072e57d2b915d307fe458485970ed1768f6 (patch)
tree78cd4773a6dee8a9b1d97e6433d175ff40698de4
parent0ee1f62b1333c5bccc4cba4db8afa50e80bd4fc2 (diff)
downloadgtk-qt-engine-06969072e57d2b915d307fe458485970ed1768f6.tar.gz
gtk-qt-engine-06969072e57d2b915d307fe458485970ed1768f6.zip
Add notes to gtk engine on how to fix the Tree View...when GTK fixes it first!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1259600 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--src/qt_qt_wrapper.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp
index 6ada4ed..4b01622 100644
--- a/src/qt_qt_wrapper.cpp
+++ b/src/qt_qt_wrapper.cpp
@@ -2119,6 +2119,11 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
stream << parse_rc_string("xthickness = 1", "*.GtkButton.*");
stream << parse_rc_string("ythickness = 1", "*.GtkButton.*");
+// stream << parse_rc_string("GtkTreeView::allow-rules = 0", "*");
+// stream << parse_rc_string("GtkTreeView::tree-line-width = 1", "*");
+// stream << parse_rc_string("GtkTreeView::vertical-separator = 30", "*");
+// //stream << parse_rc_string("GtkTreeView::odd-row-color = { 0.0, 0.0, 0.0 }", "*");
+
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkToolbar*GtkButton*");
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkToolbar*GtkToggleButton*");
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkNotebook*GtkButton*");
@@ -2126,10 +2131,10 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
// Qt calls them tab boxes, GTK calls them notebooks (!??!?) Either way they are a pain...
stream << parse_rc_string("GtkNotebook::tab-overlap = 1", "*");
-
+
// This one may not work...
//insertIntProperty(rc_style, "GtkCheckButton", "indicator-size", tqApp->tqstyle().tqpixelMetric(TQStyle::PM_IndicatorHeight) );
-
+
// For icons
// Build the list of icon theme directories.
@@ -2144,7 +2149,7 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
}
stream << "\npixmap_path \"" + iconThemeDirs.join( ":" ) + "\"\n\n";
-
+
stream << "style \"KDE-icons\" {\n";
stream << doIconMapping("gtk-about", "actions/about_kde.png");
stream << doIconMapping("gtk-add", "actions/add.png");