Commit Graph

83 Commits

Author SHA1 Message Date
Volker Lanz 16dae55d04 revert 1077129: re-add devices list. this is just not usable with >4 devices
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081529
2010-01-28 16:27:28 +00:00
Volker Lanz 44af166f83 rename all values in CommandSupportType to make them more unique
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081018
2010-01-27 13:00:14 +00:00
Volker Lanz 8b6f51e0f1 add minimal dbus support
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1080818
2010-01-27 00:28:43 +00:00
Volker Lanz a6427ee3ce rename log class to Log to avoid clashes with the C math lib function of the
same name

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1080742
2010-01-26 21:12:42 +00:00
Volker Lanz 4f5253e6a2 remove devices list
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1077129
2010-01-19 12:56:27 +00:00
Volker Lanz f67ca33866 move setSelectedDevice method to a more suitable position in the file
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1077016
2010-01-19 10:34:53 +00:00
Volker Lanz c98b1d702b yet another fix for info pane layout
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1077012
2010-01-19 10:31:42 +00:00
Volker Lanz e16357d14b show all devices in the tree widget
show the first device per default

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1077006
2010-01-19 10:23:20 +00:00
Volker Lanz 90720ad383 hard code some size hint into the file system support dialog so it doesn't open
way too small on first time. also, add some const accessors to the class while
we're at it.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1076607
2010-01-18 13:46:45 +00:00
Volker Lanz 908bfe3669 add "shred partition" feature
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1076584
2010-01-18 12:31:00 +00:00
Volker Lanz d975416a53 allow removing a mount point by clearing its mount path
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075868
2010-01-16 22:31:39 +00:00
Volker Lanz 57f900812a no else required here
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075864
2010-01-16 22:28:52 +00:00
Volker Lanz fd147f1902 oh dear... if people are nice enough to fix your speling mistakes, at least
don't kill their corrections...

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075859
2010-01-16 22:18:13 +00:00
Volker Lanz 14a62a236e allow setting how to identify a FS in fstab (uuid, label, device node)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075858
2010-01-16 22:16:04 +00:00
Volker Lanz 0ab5b8a0af somehow this little piece of code was lost: update the information pane's
layout when the user modifies the dock position.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075831
2010-01-16 21:14:19 +00:00
Volker Lanz bf3ae5ea4d enhanced mount point editing. should mostly work and not eat your fstab.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075809
2010-01-16 20:21:42 +00:00
Volker Lanz c250deab55 update partitions after mount point dialog has been accepted
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075807
2010-01-16 20:18:32 +00:00
Yuri Chornoivan 2d2d120568 typo fix
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075512
2010-01-16 10:28:16 +00:00
Volker Lanz 5b7cfd7f8b begin integration of MountManager dialogs
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1075244
2010-01-15 18:08:01 +00:00
Volker Lanz 8058585d49 Improved device discovery via Solid.
Use the Solid-provided icon name for devices.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1074953
2010-01-15 01:46:45 +00:00
Volker Lanz 8694682e72 Allow the info pane dock to be docked in any dock area.
Adjust to being docked at the top or bottom by layouting the information in
more columns than just two.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1073610
2010-01-12 14:36:16 +00:00
Volker Lanz 0487aa276c set size hint of list items to 32 pixel height in the devices list, too. looks
better

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1071252
2010-01-07 19:24:13 +00:00
Volker Lanz 71ed639866 set size hints for list items to 32 pixel height to make the app look less
condensed

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1071251
2010-01-07 19:23:34 +00:00
Volker Lanz 72b0cdac0d Don't disable updates for the partition widget while applying operations. This
leads to corrupted graphics unter Qt4.6 and should not be necessary anymore as
executing operations will not delete any partition objects.

BUG:218685

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1062710
2009-12-15 18:43:30 +00:00
Volker Lanz 765e4a381d Don't static_cast a child to a partition widget, use qobject_cast to make sure
we don't get unintended side effects.

BUG:218532

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1062049
2009-12-13 16:48:07 +00:00
Volker Lanz 7a014a5bba revert 1062035 -- wrong commit in wrong tree.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1062037
2009-12-13 16:05:45 +00:00
Volker Lanz 7ab322b49c backport r1062035: don't delete all of info pane's children on clear or newer
oxygen versions (KDE SC 4.4) make us crash.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1062036
2009-12-13 16:00:33 +00:00
Volker Lanz 4ce72c8269 Don't delete all the info pane's QWidget children on clear(). KDE SC 4.4's
Oxygen KStyle inserts children into widgets for its transition effects that
would get deleted that way.

Maybe this deserves some discussion some day if Oxygen is entitled to modify
the application's object tree? Anyway, this fix works around it and everyone is
happy for now.

BUG:218478
CCMAIL:hugo@oxygen-icons.org


svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1062035
2009-12-13 15:57:58 +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 f77ffc9964 use qpointers for modal dialogs, as discussed here:
http://www.kdedevelopers.org/node/3919


svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1006484
2009-08-03 20:08:38 +00:00
Volker Lanz 051af47ad2 fix include guards
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1006483
2009-08-03 20:07:49 +00:00
Volker Lanz ddefbe5186 make the ctor explicit, just for style
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1006482
2009-08-03 20:06:59 +00:00
Volker Lanz f2fa7f71cb Always show the current file system in the partition properties dialog's file
system combo box, even if it cannot be created, is too big or too small or
whatever.

BUG: 195156

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=977467
2009-06-04 11:07:17 +00:00
Laurent Montel 962d4e92da Fixuifiles
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=968215
2009-05-15 11:23:37 +00:00
Volker Lanz 5c0acb2bba Read and display UUID for some filesystems.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964310
2009-05-06 14:19:23 +00:00
Volker Lanz 52914fdc57 Make sure text in QLabels is selectable if the label is in interesting in the
slightest.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964255
2009-05-06 12:22:59 +00:00
Volker Lanz 4b958cdfae Don't assume the parent widget is the top level window where the title for the
progress information has to be set.

BUG: 191773

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964135
2009-05-06 05:43:08 +00:00
Volker Lanz 2ec1d5d282 Update free space before and after the partition in our own properties when
these values change or we'll lose track of the total size there is available.

BUG: 191740

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=964016
2009-05-05 20:01:40 +00:00
Volker Lanz 3c0d91f9d9 Sort items in file system combo boxes case insensitively.
BUG: 191739

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=963992
2009-05-05 19:33:55 +00:00
Volker Lanz 4b3394d482 Explicitly set the default file system as selected on init.
BUG: 191738

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=963991
2009-05-05 19:31:10 +00:00
Volker Lanz ed2a78210d Revert the init-with-singleshot-timer hack because it seems to break the kpart
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957959
2009-04-23 07:27:27 +00:00
Volker Lanz d17aca5338 Clean up includes, forward defines and a few other things.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957555
2009-04-22 12:54:37 +00:00
Volker Lanz 1fa99f0341 Move QTreeWidget for the log output to its own class.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957548
2009-04-22 12:41:30 +00:00
Volker Lanz 0ff681dd8d Make the kcm work.
Don't use a hardcoded filename for the configuration; pass a name for the
configuration file to PartitionManagerWidget::init() instead, so the kcm and
the standalone app can each have an rc file of their own.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957525
2009-04-22 10:35:44 +00:00
Volker Lanz 0ae47a0723 Write the config after modifying it, don't rely on the main window to do it.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957498
2009-04-22 09:22:46 +00:00
Volker Lanz 4f6f488b6b Try to remember the currently selected device when updating the devices list.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957497
2009-04-22 09:21:35 +00:00
Volker Lanz e32146bbb5 fix indentation
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957469
2009-04-22 08:03:47 +00:00
Volker Lanz 678d4d5e67 make setSelectedDevice a slot
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957468
2009-04-22 07:59:33 +00:00
Volker Lanz 0dc566ae2b remove commented out code
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957467
2009-04-22 07:59:09 +00:00
Volker Lanz 2b79c12152 Rename "Create New Partition Table" to "New Partition Table" to save some space
Fix a bug that would not allow the user to delete a newly created logical
partition because the app thought there were higher-numbered logical partitions
still present.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957442
2009-04-22 07:14:11 +00:00