the ResizeDialog to said dialog instead of cluttering the
PartitionManagetWidget's call with that.
Call updatePartitions() after exec'ing ResizeDialog() even if the dialog was
not accepted as it might have deleted and re-created unallocated children of
extended partitions anyway -- and that would crash us later.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115191
anymore because when aligning the resized partition it is no longer known if an
existing partition is the source of the temporary copy or some other partition.
Let the ResizeDialog modify the original and restore its start and end sector
after the dialog has been executed instead.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115133
actually moved.
set single step for the sector spinboxes to align value
add a checkbox to turn off aligning the partition
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105207
confusing and don't use free sectors before and after the partition but just
plain start and end.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1103958
the push method itself emits a signal that will lead to updateOperations()
being called now.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1098237
the signal handler for operationsChanged in MainWindow calls updatePartitions,
this is required)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1098148
anyway.
Refactor PartitionManagerWidget() and MainWindopw(), moving lots of stuff not
directly related to the PartTableWidget/TreePartition-combo from the former to
the latter. This completely breaks the KCM for now.
Remember the currently selected device across rescans.
Use the partition and device container widget for the context menus of
partitions and devices.
Use QMegatObject::connectSlotByName() where possible, even setting object names
where required to make that work.
Emit operationsChanged() and devicesChanged() in OperationStack because only
that makes any sense.
Add devices properties to toolbar.
Rename itemActivated signal in PartTableWidget to itemDoubleClicked.
DeviceScanner, OperationRunner and OperationStack are child QObjects of
MainWindow now.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1095086
add the device properties action to device context menu.
open device properties when double clicking device in tree widget.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091984
Remove the option to create msdos-vista-compatible partition tables. Instead,
use a global config to determine which alignment to use.
Add a device properties dialog.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1091755
Remove comment about race conditions when setting the selected device. Turns
out this wasn't at all the case. It was a signal loop, instead.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1089499
- allow applying operations for non-root users if
"allowApplyOperationsForNonRoot" is set to true (default is false)
- hide the radio button to create vista msdos partition tables unless
"allowCreateVistaPartitionTable" is true (default is false). The reason for
this is that there are, of course, no "vista msdos partition tables" in
reality, it's just a Microsoft stupidity that only works as long as there is
actually a partition starting at sector 2048 in that partition table. If the
partition table is just created empty, we have no way to determine it was
meant to be a "vista msdos partition table".
- allow settings the sector alignment for msdos-vista partition tables (default
is 2048, just like vista).
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1088920
core/libparted.cpp to this new class and use this class in
PartitionManagerWidget
Move the libparted-specific code to inspect _one_ device to a static method in
LibParted.
Make scanning for devices asynchronous with the new DeviceScanner class.
Introduce a progress dialog to show progress while scanning.
Rename the progress dialog for applying operations to something less generic.
Remove the signal emitted when the status bar should change: It's the same
logic used for the signal emitted when operations change.
Remove the onFinished() method in PartitionManagerWidget and directly connect
the finished signal from the apply-progress-dialog to the scanDevices slot.
Rename the PartitionManagerWidget::selectionChanged() signal to the less generic
PartitionManagerWidget::selectedPartitionChanged().
Rename PartitionManagerWidget::clearSelection() to the less generic
PartitionManagerWidget::clearSelectedPartition().
NOTE: The DeviceScanner class is a thread and exposes some race conditions if
not used with caution (aka workarounds). See comments in
PartitionManagerWidget::onScanDevicesFinished().
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1088844
confusing.
but do keep the code to show the first device by default. also add code to make
sure the devices list shows the selected devices as indeed selected in the list
widget.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1081532
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
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
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
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