Andrius Štikonas
f3dd3157a6
Initial port to KDE Frameworks 5.
...
The port is mostly complete:
* A few unported items are marked with FIXME: port KF5.
* KCFG configuration for QGroupBox is not working yet.
2014-05-18 21:41:48 +01:00
Andrius Štikonas
2b537490ad
Port away from KDebug.
2014-05-13 14:47:35 +01:00
Andrius Štikonas
98034975a7
Correctly format byte size units.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1280226
2012-02-15 17:21:40 +00:00
Volker Lanz
92859b3aa5
use plastique as a fallback style if user is running GTK style so the part
...
widget display is ok.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1226198
2011-03-27 16:44:29 +00:00
Volker Lanz
75e79e354c
set mouseover state for active partition
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136709
2010-06-10 14:09:04 +00:00
Volker Lanz
900e58dd59
try and make the selected partition more distinct; also use white to write the
...
partition info for the selected partition.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136461
2010-06-09 22:50:42 +00:00
Volker Lanz
083adc23fa
fix ws and some small logic simplification
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136453
2010-06-09 22:00:28 +00:00
Hugo Pereira Da Costa
d42914443d
Re-added painting of unallocated space.
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136099
2010-06-08 22:57:56 +00:00
Hugo Pereira Da Costa
38d035b235
removed the unused '-1' from rect sizes calculation
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136097
2010-06-08 22:54:13 +00:00
Hugo Pereira Da Costa
57cd2870d7
Remove painting of free and used- space on top of partition rect.
...
Use two different rects for the partition rect instead, with colors calculated from the base color derived from the partition type.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136093
2010-06-08 22:38:27 +00:00
Volker Lanz
29f73d29fa
integrate Hugo's new code a little better, mainly white space.
...
move implementation of handleWidget() to cpp file to avoid an include
add credit to KAboutData
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135182
2010-06-06 18:23:17 +00:00
Hugo Pereira Da Costa
16de8b9034
Changed rendering of
...
- partwidget, to use the same appearance as buttons
- partresizewidget, to use a 'sunken' frame, and same appearance as QSplitter for the resize handlers.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1135173
2010-06-06 17:57:08 +00:00
Volker Lanz
68d1eb14ce
use a PartWidget instead of a PartResizerWidget in the partition properties
...
dialog -- no one is going to do any resizing, after all.
to make this possible, allow creating a PartWidget() without a valid Partition
pointer and add an init() method for later setting the Partition pointer. also
take care of the Partition pointer being NULL everywhere in the class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1134172
2010-06-03 15:01:53 +00:00
Volker Lanz
f1bc4afde8
also set PartWidgets to visible
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114071
2010-04-12 17:29:29 +00:00
Volker Lanz
ec44af261e
move childWidgets() from PartWidget and PartTableWidget to the common base
...
class
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114051
2010-04-12 16:22:14 +00:00
Volker Lanz
92a9bd2878
make PartWidgetBase a QWidget
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114049
2010-04-12 16:14:10 +00:00
Volker Lanz
22978e66b8
don't keep a list of our children in PartTableWidget either; like in
...
PartWidget, we can just let Qt handle that for us
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114047
2010-04-12 16:08:13 +00:00
Volker Lanz
c1a6713e45
Remember the active PartWidget in the widget, not in the PartTableWidget. This
...
means the PartWidget doesn't need to know its PartTableWidget anymore.
Don't keep a list of child widgets, Qt will do that for us.
Remove the showChildren param and property from PartWidget, it wasn't used
anymore.
Rename active() to isActive() in PartWidget for consistency.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114033
2010-04-12 14:35:02 +00:00
Volker Lanz
3f1b211df9
no one is calling the code in drawPartition() but the paint event so move it to
...
the paint event handler. also, remove a superflous assert in the ctor.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113987
2010-04-12 12:48:17 +00:00
Volker Lanz
0d2f3ccc84
clean up partwidget class: don't use qpointers, don't use a pointer for access
...
to the partition property. still needs more work.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113951
2010-04-12 10:55:13 +00:00
Volker Lanz
16861abe7d
The available and used colors in the config aren't part of the file system color array.
...
Actually do use these colors in the part widget.
Improve the look of the selection in the part widget.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091952
2010-02-17 23:00:55 +00:00
Volker Lanz
4849ec5ff8
Add colors to identify each individual type of file system plus a config page
...
to change these colors.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091881
2010-02-17 19:39:24 +00:00
Volker Lanz
5036af3e5d
cleanup some stuff: whitespace fixes, add some q_disable_copy macros, add some
...
initialisations to class headers
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1046678
2009-11-09 13:51:08 +00:00
Volker Lanz
5536e16c3e
show tooltips for partwidgets
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=897984
2008-12-17 10:19:58 +00:00
Volker Lanz
d6dc26bd90
import of KDE Partition Manager
...
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=864431
2008-09-24 19:32:01 +00:00