Make sure aligning partitions actually works in the part resizer. Could still
need work and even thought.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115134
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
let the PartResizerWidget know the state of the align checkbox
use the toggled, not the stateChanged signal from the align checkbox
make sure PartResizerWidget::setMoveAllowed is called before PartResizerWidget::init
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115131
calculated:
In case of the free sectors after a partition, we used to just add the length
of the following unallocated partition to the last sector. This does not work
for extended partitions where unallocated partitions have
number_of_sectors_per_track free space before AND after them.
This is because if a new partition is created in place of the unallocated space
and this partition is followed by another logical, we need two times
number_of_sectors_per_track for two extended boot records.
If, however, the partition in question is simply resized to fill up all space
following it (and is still followed by a logical), we only need ONE EBR.
To solve this, we now use the difference between the following partition's last
sector and the partition's last sector instead.
The same is true for free sectors preceding a partition, of course.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115127
to, make sure that if we find an unallocated one it's either logical if we're
aligning a logical or primary if we're aligning a primary.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1114138
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
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
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