Mailinglist Archive: opensuse-commit (875 mails)

< Previous Next >
commit qtcurve-kde4
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 21 Jul 2008 23:36:46 +0200
  • Message-id: <20080721213646.BEEF2678185@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package qtcurve-kde4
checked in at Mon Jul 21 23:36:46 CEST 2008.


--------
--- KDE/qtcurve-kde4/qtcurve-kde4.changes 2008-06-16 09:29:38.000000000
+0200
+++ qtcurve-kde4/qtcurve-kde4.changes 2008-07-21 10:28:55.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Jul 21 10:28:27 CEST 2008 - stbinner@xxxxxxx
+
+- update to 0.59.5:
+ * Fix corners of scrolbars in plasma 4.1's folderview.
+ * Fix the dock widget titlebar buttons in KOffice 2
+ * Dont activate menubar when Alt key is pressed alone - matches Gtk.
+ * Make KOffice's dock widget titlebars look the same as Dolphin's.
+
+-------------------------------------------------------------------



Old:
----
QtCurve-KDE4-0.59.3.tar.bz2

New:
----
QtCurve-KDE4-0.59.5.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qtcurve-kde4.spec ++++++
--- /var/tmp/diff_new_pack.j19189/_old 2008-07-21 23:33:59.000000000 +0200
+++ /var/tmp/diff_new_pack.j19189/_new 2008-07-21 23:33:59.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package qtcurve-kde4 (Version 0.59.3)
+# spec file for package qtcurve-kde4 (Version 0.59.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -17,7 +17,7 @@
License: GPL v2 or later
Group: System/GUI/KDE
Summary: QtCurve style for KDE 4
-Version: 0.59.3
+Version: 0.59.5
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: QtCurve-KDE4-%{version}.tar.bz2
@@ -59,6 +59,12 @@
%_kde_share_dir/apps/color-schemes/QtCurve.colors

%changelog
+* Mon Jul 21 2008 stbinner@xxxxxxx
+- update to 0.59.5:
+ * Fix corners of scrolbars in plasma 4.1's folderview.
+ * Fix the dock widget titlebar buttons in KOffice 2
+ * Dont activate menubar when Alt key is pressed alone - matches Gtk.
+ * Make KOffice's dock widget titlebars look the same as Dolphin's.
* Mon Jun 16 2008 stbinner@xxxxxxx
- update to 0.59.3:
* Override Qt file dialogs with KDE ones.

++++++ QtCurve-KDE4-0.59.3.tar.bz2 -> QtCurve-KDE4-0.59.5.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/QtCurve-KDE4-0.59.3/ChangeLog
new/QtCurve-KDE4-0.59.5/ChangeLog
--- old/QtCurve-KDE4-0.59.3/ChangeLog 2008-06-03 23:30:29.000000000 +0200
+++ new/QtCurve-KDE4-0.59.5/ChangeLog 2008-07-18 00:11:11.000000000 +0200
@@ -1,14 +1,26 @@
+0.59.5
+------
+1. Fix corners of scrolbars in plasma 4.1's folderview.
+2. Fix the dock widget titlebar buttons in KOffice 2
+3. Dont activate menubar when Alt key is pressed alone - matches Gtk.
+4. Make KOffice's dock widget titlebars look the same as Dolphin's.
+
+0.59.4
+------
+1. If linked against KDE, honour the single/double click setting for
+ listviews.
+
0.59.3
------
1. Fix Arora location field.
- 2. Override Qt file dialogs iwth KDE ones. This can be disabled by
+ 2. Override Qt file dialogs with KDE ones. This can be disabled by
calling cmake with:

-DQTC_DISABLE_KDEFILEDIALOG_CALLS=true

3. Link to KDE libraries (if KDE4 is installed) to read kwin settings,
control the icons on buttons setting, and to load some icons. Disable
- bycalling cmake with:
+ by calling cmake with:

-DQTC_NO_KDE4_LINKING=true

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/QtCurve-KDE4-0.59.3/CMakeLists.txt
new/QtCurve-KDE4-0.59.5/CMakeLists.txt
--- old/QtCurve-KDE4-0.59.3/CMakeLists.txt 2008-06-03 23:30:29.000000000
+0200
+++ new/QtCurve-KDE4-0.59.5/CMakeLists.txt 2008-07-18 00:11:11.000000000
+0200
@@ -8,7 +8,7 @@
set(CPACK_SOURCE_GENERATOR "TBZ2")
set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "59")
-set(CPACK_PACKAGE_VERSION_PATCH "3")
+set(CPACK_PACKAGE_VERSION_PATCH "5")
set(CPACK_PACKAGE_CONTACT "Craig Drummond <Craig.Drummond@xxxxxxxxxxx>")
set(QTCURVE_VERSION
"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
set(QTCURVE_VERSION_FULL "${QTCURVE_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/QtCurve-KDE4-0.59.3/style/qtcurve.cpp
new/QtCurve-KDE4-0.59.5/style/qtcurve.cpp
--- old/QtCurve-KDE4-0.59.3/style/qtcurve.cpp 2008-06-03 23:30:29.000000000
+0200
+++ new/QtCurve-KDE4-0.59.5/style/qtcurve.cpp 2008-07-18 00:11:11.000000000
+0200
@@ -1227,7 +1227,6 @@
qobject_cast<QRadioButton *>(widget) ||
qobject_cast<QSplitterHandle *>(widget) ||
qobject_cast<QSlider *>(widget) ||
- qobject_cast<QScrollBar *>(widget) ||
qobject_cast<QHeaderView *>(widget) ||
qobject_cast<QTabBar *>(widget) ||
// qobject_cast<QDockWidget *>(widget) ||
@@ -1236,6 +1235,13 @@
widget->inherits("QDockWidgetSeparator") ||
widget->inherits("Q3DockWindowResizeHandle")))
widget->setAttribute(Qt::WA_Hover, true);
+ else if (qobject_cast<QScrollBar *>(widget))
+ {
+ if(enableMouseOver)
+ widget->setAttribute(Qt::WA_Hover, true);
+ if(QTC_ROUNDED)
+ widget->setAttribute(Qt::WA_OpaquePaintEvent, true);
+ }
else if (qobject_cast<QProgressBar *>(widget))
{
if(widget->palette().color(QPalette::Inactive,
QPalette::HighlightedText)!=widget->palette().color(QPalette::Active,
QPalette::HighlightedText))
@@ -1373,7 +1379,6 @@
qobject_cast<QRadioButton *>(widget) ||
qobject_cast<QSplitterHandle *>(widget) ||
qobject_cast<QSlider *>(widget) ||
- qobject_cast<QScrollBar *>(widget) ||
qobject_cast<QHeaderView *>(widget) ||
qobject_cast<QTabBar *>(widget) ||
// qobject_cast<QDockWidget *>(widget) ||
@@ -1382,6 +1387,12 @@
widget->inherits("QDockWidgetSeparator") ||
widget->inherits("Q3DockWindowResizeHandle"))
widget->setAttribute(Qt::WA_Hover, false);
+ else if (qobject_cast<QScrollBar *>(widget))
+ {
+ widget->setAttribute(Qt::WA_Hover, false);
+ if(QTC_ROUNDED)
+ widget->setAttribute(Qt::WA_OpaquePaintEvent, false);
+ }
else if (qobject_cast<QProgressBar *>(widget))
widget->removeEventFilter(this);
else if (widget->inherits("Q3Header"))
@@ -1861,7 +1872,12 @@
case SH_DialogButtonBox_ButtonsHaveIcons:
checkKComponentData();
return KGlobalSettings::showIconsOnPushButtons();
+ case SH_ItemView_ActivateItemOnSingleClick:
+ checkKComponentData();
+ return KGlobalSettings::singleClick();
#endif
+ case SH_MenuBar_AltKeyNavigation:
+ return false;
default:
return QTC_BASE_STYLE::styleHint(hint, option, widget, returnData);
}
@@ -2643,7 +2659,8 @@
}
case PE_IndicatorButtonDropDown: // This should never be called, but
just in case - draw as a normal toolbutton...
{
- bool dwt(widget && widget->inherits("QDockWidgetTitleButton"));
+ bool dwt(widget && (widget->inherits("QDockWidgetTitleButton") ||
+ (widget->parentWidget() &&
widget->parentWidget()->inherits("KoDockWidgetTitleBar"))));

if( ((state&State_Enabled) || !(state&State_AutoRaise)) &&
(!widget || !dwt || (state&State_MouseOver)) )
@@ -3372,14 +3389,17 @@
case CE_DockWidgetTitle:
if (const QStyleOptionDockWidget *dwOpt = qstyleoption_cast<const
QStyleOptionDockWidget *>(option))
{
- painter->save();
+ // This section fixes the look of KOffice's dock widget
titlebars...
+ QRect fillRect(r);
+ if(widget && widget->inherits("KoDockWidgetTitleBar"))
+ fillRect.adjust(-r.x(), -r.y(), r.x(), r.y());

+ painter->save();
#if QT_VERSION >= 0x040300
- painter->fillRect(r, palette.background().color().darker(105));
+ painter->fillRect(fillRect,
palette.background().color().darker(105));
#else
- painter->fillRect(r, palette.background().color().dark(105));
+ painter->fillRect(fillRect,
palette.background().color().dark(105));
#endif
-
if (!dwOpt->title.isEmpty())
{
#if QT_VERSION >= 0x040300
@@ -4764,7 +4784,8 @@
}

painter->save();
- painter->fillRect(r, palette.background());
+ if(!widget || !widget->testAttribute(Qt::WA_NoSystemBackground))
+ painter->fillRect(r, palette.brush(QPalette::Background));

QStyleOption opt(*option);

@@ -5647,7 +5668,9 @@
#endif

painter->save();
- painter->fillRect(r, palette.background());
+
+ if(!widget ||
!widget->testAttribute(Qt::WA_NoSystemBackground))
+ painter->fillRect(r, palette.brush(QPalette::Background));
#if 0
//painter->setClipRegion(QRegion(s2)+QRegion(addpage));



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages