Commit Graph

27 Commits

Author SHA1 Message Date
Stephen Kelly
b1b68adb7d Don't use the QtGui module name in includes.
In Qt5, many of them are moved to QtWidgets, so this is the only
way to be source compatible with both Qt 4 and Qt 5.
2012-02-02 10:35:53 +01:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Matthias Fuchs
d9568fb2c5 Adds a setTabHighlighted and a isTabHighligted method to Plasma::TabBar.
When a tab is highlighted the text is drawn with a different color.
The icon will then have an active effect and a pressed button will be drawn at its background.

REVIEW:101264
2011-05-04 13:01:30 +02:00
Marco Martin
6bc40f06d0 notify the current index changed
svn path=/trunk/KDE/kdelibs/; revision=1189378
2010-10-24 21:36:50 +00:00
Giulio Camuffo
8002b2415b add support for adding two qgw on the sides of the tabbar
svn path=/trunk/KDE/kdelibs/; revision=1148951
2010-07-12 08:29:49 +00:00
Igor Trindade Oliveira
157711c581 port tabbar to new animation api.
svn path=/trunk/KDE/kdelibs/; revision=1078747
2010-01-22 19:31:42 +00:00
Aaron J. Seigo
642ac28d10 scripting friendlyness
svn path=/trunk/KDE/kdelibs/; revision=1048880
2009-11-14 03:58:33 +00:00
Marco Martin
c71cd00557 delay cuurentchanged after the animation, use a preferredsize policy for the
pages

svn path=/trunk/KDE/kdelibs/; revision=1042395
2009-10-29 18:31:27 +00:00
Marco Martin
4418fb8971 revert last bogus commit
svn path=/trunk/KDE/kdelibs/; revision=1042383
2009-10-29 17:58:52 +00:00
Marco Martin
7e8d330582 some qgraphicslayout hack to return a meaningful size hint, pretty
unfortunate

svn path=/trunk/KDE/kdelibs/; revision=1042375
2009-10-29 17:50:44 +00:00
Marco Martin
67515c758a always use plasma::theme font, unless somebody call setFont on the
widget                                                                                
round two: sync the native widgets fonts with the plasma::theme font,                 
unless setFont was called

svn path=/trunk/KDE/kdelibs/; revision=1023050
2009-09-13 19:18:29 +00:00
Marco Martin
462f323042 add tabAt(int) function
actually the correspondent qtabwidget is widget(), but on a
qgraphicsproxywidget it is taken, maybe needs a beter name?
CCMAIL: plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1019013
2009-09-02 15:54:18 +00:00
Marco Martin
6257d4b7a8 takeTab(), removes a tab and returns the tab contents
svn path=/trunk/KDE/kdelibs/; revision=1004310
2009-07-29 20:30:07 +00:00
Marco Martin
96fdff9468 SVN_SILENT: add @since 4.3 to the shiny new stuff
svn path=/trunk/KDE/kdelibs/; revision=921029
2009-02-04 10:59:15 +00:00
Marco Martin
9c971e11ba ability to hide the tabbar, now can be used like it's a QStackedWidget :)
svn path=/trunk/KDE/kdelibs/; revision=921018
2009-02-04 10:32:20 +00:00
Marco Martin
9cfe6246ec make the tabbar widget stretch also in height (thus umbreaking it in the
panel), with a dirty hack on minimum/maximum sizes, but i think it's the
only way for now, since minimumTabSizeHint() and maximumTabSizeHint()
are private in QTabBar and will be protected probably not before Qt5 O.o

svn path=/trunk/KDE/kdelibs/; revision=886098
2008-11-18 15:27:04 +00:00
Aaron J. Seigo
c948455956 use ktabbar here, as per krazy's suggestion
svn path=/trunk/KDE/kdelibs/; revision=880622
2008-11-05 23:28:07 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
492fe0e8aa fixup include guards
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870291
2008-10-12 10:48:53 +00:00
Allen Winter
eae853582b coding style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870205
2008-10-12 01:31:54 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Marco Martin
3a008feb23 revert a bit of stuff that wasn't supposed to be committed in the first
place

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848389
2008-08-17 15:34:46 +00:00
Marco Martin
76d6071e46 svg themed scrollbars:
scrollbar widget in libplasma
private qstyle that draws scrollbars with svg
folderview uses the scrollbar widget
textview scrollbars themed
 

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846473
2008-08-13 14:47:27 +00:00
Marco Martin
fba82f41bc build the tabbar and install the header, so not it can be actually used
:)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842109
2008-08-04 18:16:13 +00:00
Aaron J. Seigo
b123a8e8b1 integrate TabBar into the build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841797
2008-08-04 05:30:32 +00:00
Aaron J. Seigo
7d0cd60391 moving tabbar to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841792
2008-08-04 05:22:29 +00:00