don't check for length constraints when moving a partition: the length must not
change anyway and the logic wouldn't work because the length DOES change in
between calls to update first and last sector
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119076
they're called in in the various dialog ctors to how it was in 1.0.x (which
makes a lot more sense)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115388
Moving extended partitions is not allowed if they have logicals and calling the
resizeLogicals() method will remove the unallocated partition the user has with
an 98% probability clicked to drag from under our feet, causing moving to fail.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115167
a partition to make sure we're not going over those. of course
PartitionTable::alignPartition() shouldn't move first and last sector to
anywhere it's not allowed to, but currently it seems buggy enough to do so and
the check won't hurt.
PartitionTable::alignPartition() still needs to be fixed, of course.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114084
partition table on it and show a warning in that case. also make the default
GPT.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113771
wide default in the settings. well. for now, include the information in the
export, but ignore it on import.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1113752
convert the plugins into true KDE plugins with desktop file and all.
let the user pick a backend in the config dialog and load backends on the fly.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1105758
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
pointer, not a PartitionTable::Type. This is required for the import.
Add a basic import partition table feature to the GUI and make it work.
Add calls to PartitionManagerWidget::updatePartitions(),
MainWindow::enableActions() and the selectedPartitionChanged handler to the
operationsChanged handler to make sure the info pane and actions are always
updated when the operation stack changes (e.g. on undo). TODO: remove all
updatePartition() and similar calls from methods in PartitionManagerWidget.
Make the device properties action disabled per default and enable it only if a
device is selected. It's actually possible for no device to be selected if the
backend doesn't find any devices at all.
Fix status tips and markup.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1098154
table: it might not yet have been set to the new partition table and thus this
will either be wrong or even crash if the device doesn't have a partition table
at all
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097709
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