Commit Graph

60 Commits

Author SHA1 Message Date
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
Volker Lanz 44eef78bc0 * Refactor MainWindow and split it up into several classes for the central
widget and the docks.
* Add a first version of a kcontrol kcm for KDE Partition Manager based on
  these refactored classes. Still a lot left to do, though.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957231
2009-04-21 16:36:43 +00:00
Volker Lanz 2c2587902e Don't use values() in foreach. Also, use qDeleteAll() if possible.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=954970
2009-04-16 16:41:54 +00:00
Volker Lanz 9bda1ce0e4 Init the main window class in a slot called with a single shot timer to speed
up perceived startup time for the application.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=954798
2009-04-16 11:37:00 +00:00
Albert Astals Cid f7177b8319 this is a progress information, so use rescanning and not rescan
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=951849
2009-04-10 12:24:18 +00:00
Volker Lanz b663b3f273 Add context menu to list of operations.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=944420
2009-03-25 14:53:50 +00:00
Volker Lanz 8874263386 Allow setting a file system label in the NewDialog.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=944331
2009-03-25 12:58:32 +00:00
Volker Lanz aff8493c9a fix spacer position in the layout
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=944330
2009-03-25 12:58:02 +00:00
Andrew Coles 9cbec4ebe4 Plural-form correction.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=941151
2009-03-18 23:27:36 +00:00
Volker Lanz 5c7cc1eceb Use cylinder size of the device as minimum partition size.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=908074
2009-01-09 08:41:25 +00:00
Volker Lanz 306667e09e Don't assume a device always has a valid partition table. This is the correct
fix for what I initially tried to fix with commit 898001.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=908045
2009-01-09 07:10:59 +00:00
Volker Lanz 6c4d8711d4 Don't assume a fixed minimum width is sufficient for extended partitions: It's
not. Partition widgets that have children need to have the minium width
dynamically calculated.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=907517
2009-01-08 10:13:42 +00:00
Volker Lanz 80bee5cfc4 Merge the kpart stuff from branches/work/partitionmanager/kpartstuff and
disable it in the build by default.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=902274
2008-12-27 22:12:42 +00:00
Volker Lanz 0d9d8bea7e No tooltips for mutable part widgets (the tooltip's content would be out of
date as soon as the part widget is modified).

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=902199
2008-12-27 17:12:13 +00:00
Volker Lanz 1eec719a7d HIG improvements: Use radio buttons instead of combo box for partition role;
also add buddies and shortcuts.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=902047
2008-12-27 13:37:44 +00:00
Volker Lanz a7a090381f Fix text capitalization according to
http://techbase.kde.org/Projects/Usability/HIG/Capitalization

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=902032
2008-12-27 12:01:29 +00:00
Volker Lanz b97e5225be Output reason why a mount or unmount might have failed.
Patch by Marcel Partap <mpartap@gmx.net>

CCBUG: 178708


svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=901487
2008-12-25 16:46:40 +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 36c787f40f don't try to print capacity if it isn't valid
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=887293
2008-11-21 13:57:14 +00:00
Volker Lanz 0f917174a5 Use itemDoubleClicked() instead of itemActivated() for partition tree widget.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=887243
2008-11-21 13:00:59 +00:00
Volker Lanz d611536684 Fix warnings in gcc 4.3
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=887192
2008-11-21 12:28:39 +00:00
Andrius Štikonas f0f9f13256 Use i18ncp() instead of i18nc() for proper plural support.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=886664
2008-11-19 19:58:59 +00:00
Volker Lanz 74c692a4cc Use Ok and Cancel buttons instead of Apply and Close in part props dialog.
svn path=/trunk/kdereview/partitionmanager/; revision=879224
2008-11-02 19:21:36 +00:00
Laurent Montel 8ae4bd939d Fix includes
svn path=/trunk/kdereview/partitionmanager/; revision=877306
2008-10-29 07:45:19 +00:00