Marco Martin
ea546d6b61
relayout the icon when changing the text and the icon is not visible
...
this avoid "funny" sizes when the icon is shown
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840300
2008-07-31 20:50:15 +00:00
Alex Merry
4335bba59c
Remove two FIXMEs: apparently this is needed after all (it screws up the device notifier at least without it).
...
SVN_SILENT
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840155
2008-07-31 14:03:22 +00:00
Sebastian Sauer
5e831bce34
fix crash on startup. second part of r838918, fixes r839403
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839409
2008-07-30 00:30:03 +00:00
Sebastian Sauer
6d407b6bad
initialize activeMargins, now it asserts on startup on icon_p.h#282 rather then crashing what should help to fix the prob ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839403
2008-07-30 00:11:41 +00:00
Marco Martin
424e4e1c21
SVN_SILENT style fix
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839105
2008-07-29 11:51:57 +00:00
Marco Martin
235b643d03
fix mem leak
...
should i backport it to 4.1?
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839007
2008-07-29 09:10:14 +00:00
Marco Martin
9eb10b594f
now PushButton has a pretty animated svg theme (uses button.svgz)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838998
2008-07-29 08:37:25 +00:00
Aaron J. Seigo
8eb05ee061
let's not crash.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838918
2008-07-29 03:02:04 +00:00
Alex Merry
11951249b0
Add a new Plasma::Slider widget based on QSlider.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838893
2008-07-29 00:31:28 +00:00
Alex Merry
5bda02b4c3
Make the icon adjust its size when the text changes.
...
CCMAIL: panel-devel@kde.org
Please backport.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838892
2008-07-29 00:28:59 +00:00
Bram Schoenmakers
2fc6f26c86
Remove unused variable.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838503
2008-07-28 00:33:41 +00:00
Aaron J. Seigo
e52ca538e0
styleSheet
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833657
2008-07-17 09:30:19 +00:00
Anne-Marie Mahfouf
4ce38c254d
consistency with Qt: stylesheet() -> styleSheet() and setStylesheet() -> setStyleSheet()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833427
2008-07-16 20:07:34 +00:00
Alexis Ménard
44c8ede79e
remove old stuff of tooltips
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833275
2008-07-16 15:17:57 +00:00
William Viana Soares
b828a0efd4
Repaint the widget on request. Among other things now the scroll works well.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832013
2008-07-13 20:50:53 +00:00
Andrew Lake
5fd5e739d2
painter translation in drawTextLayout causes text to be draw slightly lower than shadow.
...
Adjusted shadow offset to compensate. Result is closer pixel-wise to folderview text.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827897
2008-07-04 05:06:57 +00:00
Aaron J. Seigo
922c85c705
it makes no sense to have the blur stuff in one header/namespace and the roundedRectangle stuff in another: it's all painting related. putting them together, however, makes "ImageEffects" really not accurate. ImageEffects will also clash, concept-wise, with a real effects lib.
...
therefore, introducing Plasma::PaintUtils.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827859
2008-07-03 23:50:13 +00:00
Aaron J. Seigo
1c0edaceb7
you can't include CamelCase includes from files in kdebase: the CamelCase includes aren't available until kdebase is installed.
...
CCMAIL:notmart@gmail.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827810
2008-07-03 20:43:00 +00:00
Marco Martin
c6d8e7e8c1
blur radius and displacement same as folderview, and when the shadow is
...
light it becomes an halo (displacement 0)
this could even be decided by the theme?
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827783
2008-07-03 19:22:49 +00:00
Marco Martin
4c7e3d1d0b
drop shadow behind the icon text,
...
so now the icon background is gone and appears only on mouse over
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827715
2008-07-03 17:04:56 +00:00
Marijn Kruisselbrink
21b148b963
change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
a4ba7d48f2
put dataUpdated magic back into the text displayers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826536
2008-06-30 22:05:11 +00:00
Laurent Montel
c4b662c910
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826237
2008-06-30 07:15:37 +00:00
Aaron J. Seigo
6db6dafee6
sync the api with QtWebkit changes in 4.4.0
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825691
2008-06-29 00:20:31 +00:00
Aaron J. Seigo
03d7946373
update with the theme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823768
2008-06-24 03:15:56 +00:00
William Viana Soares
f8aa360b28
Replaced wrong signal name from wrong class (probably qt api change). Now the widget works again.
...
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823375
2008-06-23 07:50:33 +00:00
Pino Toscano
abcf85970e
QUrl is needed here
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822732
2008-06-21 09:32:15 +00:00
Marco Martin
7d0889002c
only emit pressed when the press event is inside the widget, don't know
...
why it got passed in the first place but caused kickoff to being
activated when clicking on the taskbar on some circumstances
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822626
2008-06-20 20:48:49 +00:00
Aaron J. Seigo
28a27433a4
we also want the qbytearray version; use it with QWebFrame::setContent is all. this prevents unecessary QString/QByteArray conversions.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821515
2008-06-17 17:01:08 +00:00
Davide Bettio
289941dece
replaced QByteArray with a QString, using a QByteArray could be dangerous and also Qt uses a QString.
...
If we use a QByteArray we do something like this: QString -> QByteArray -> QString.
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821509
2008-06-17 16:42:48 +00:00
Davide Bettio
fa1cd976ad
added missing "= QUrl()".
...
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821503
2008-06-17 16:23:29 +00:00
Davide Bettio
2f2efc43df
QPushButton, QLineEdit, QTextEdit and QComboBox -> K*
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821270
2008-06-16 23:53:05 +00:00
Gilles Chauvin
834003d0dc
Make widgets aware of qresources.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816435
2008-06-03 21:08:52 +00:00
Anne-Marie Mahfouf
4f2624b36a
more consistency in naming: stylesheet -> styleSheet
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815812
2008-06-02 15:36:44 +00:00
Anne-Marie Mahfouf
b2b1283fa6
consistency with Qt naming, using same CamelCase
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815775
2008-06-02 15:09:10 +00:00
Anne-Marie Mahfouf
4c0377428f
typo
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815705
2008-06-02 14:36:31 +00:00
Pau Garcia i Quiles
71c0cee2fa
MSVC
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814860
2008-05-31 13:58:05 +00:00
Pino Toscano
f706960801
QtModule/QClass for Qt includes in public headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812730
2008-05-26 09:10:11 +00:00
Aaron J. Seigo
83a0bdac74
and unhover without anims.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812650
2008-05-25 21:47:09 +00:00
Aaron J. Seigo
f0da40111e
don't draw multiple times if we aren't going to actually fade anything in
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812647
2008-05-25 21:38:22 +00:00
Chani Armitage
3dcf445db4
convert the toolbox to use qactions. this makes the toolbox act a bit more reliably, makes some other bugs more annoying, and makes it easier to fix them.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811914
2008-05-24 01:48:36 +00:00
Alex Merry
9178353bb4
Fix inclusion guards for future widgets.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810532
2008-05-20 22:36:28 +00:00
Richard Dale
c3aa6bec48
* Fix the broken guard macros in the widget* headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810412
2008-05-20 17:29:23 +00:00
Laurent Montel
47183f095f
SVN_SILENT:
...
Typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810151
2008-05-20 06:24:52 +00:00
Aaron J. Seigo
c413c02ca7
export these files too
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810070
2008-05-19 23:25:56 +00:00
Aaron J. Seigo
9abfe2e1d0
export the classes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810061
2008-05-19 23:17:44 +00:00
Chani Armitage
f6d290849f
add groupbox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809979
2008-05-19 20:18:46 +00:00
Chani Armitage
50889239d6
add combobox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809932
2008-05-19 19:10:58 +00:00
Chani Armitage
ec2bcd9010
add textedit
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809903
2008-05-19 18:17:12 +00:00
Pino Toscano
a2e1e54c73
add quotes around #include file name
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809700
2008-05-19 09:31:40 +00:00