Andrius Štikonas
458872f359
Do not use deprecated Qt5 methods.
2022-01-18 23:23:00 +00:00
Andrius Štikonas
ad48c72af8
Switch to SPDX license headers.
2020-09-16 00:35:12 +01:00
Andrius Štikonas
f62edf052c
Move LVM LV setup code to the base class.
...
The same checks (e.g. hide LVM LV name edit line) are also needed
in the other children of SizeDialogBase.
2017-10-28 19:02:26 +01:00
Andrius Štikonas
aa762266ae
Fix some minor clang warnings.
2017-09-11 18:46:48 +01:00
Andrius Štikonas
78eca538d6
Remove double underscore from include guards.
2017-09-11 16:28:04 +01:00
Andrius Štikonas
b94564e360
Convert remaining QObject::connect to new syntax.
2016-05-22 20:03:49 +01:00
Andrius Štikonas
5a408305f2
Convert some signals and slots to the new syntax.
2016-05-18 22:23:59 +01:00
Andrius Štikonas
ad64f7537b
Rename qglobal.h to QtGlobal
2016-04-18 17:17:19 +01:00
Andrius Štikonas
9c91e25e96
Update copyright.
2016-03-02 18:33:40 +00:00
Andrius Štikonas
15b7fa3470
kpmcore/ prefix in #includes is no longer required.
2016-01-12 00:12:49 +00:00
Andrius Štikonas
81004a2445
Format partitionmanager code using KDE style.
2015-07-13 17:17:41 +03:00
Andrius Štikonas
b651d8de89
Move kpmcore to another repository (sysadmin/kpmcore)
2015-06-04 01:51:56 +01:00
Andrius Štikonas
bbb2fa3067
Use GPLv3 copyright notices.
2015-02-07 00:32:25 +00:00
Andrius Štikonas
7fbae9ee29
Port to new Qt5 macro QStringLiteral and use stricter compile flags
...
Now compile with:
-DQT_USE_QSTRINGBUILDER
-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_STRICT_ITERATORS
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_USE_FAST_OPERATOR_PLUS
2014-05-20 22:33:02 +01:00
Andrius Štikonas
dcdffadc3e
Port away from KDialog.
2014-05-17 03:06:58 +01:00
Andrius Štikonas
b2d299e18d
Port away from KDebug.
...
Replace a few more kWarning() that were missed in the last commit.
2014-05-13 23:52:54 +01:00
Volker Lanz
d058abce6e
doxygen updates
...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128312
2010-05-18 22:27:30 +00:00
Volker Lanz
b28c212a9d
make the spin boxes in SizeDialogBase work properly with aligned partitions,
...
mostly.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119547
2010-04-27 11:04:59 +00:00
Volker Lanz
d08ce3ac78
move the updateLength-code from the part resizer widget to SizeDialogBase
...
because that's where it's actually being used exclusively.
don't update the spinbox value in
SizeDialogBase::onFreeSpaceBefore/AfterChanged() because if we do that the user
cannot enter values digit by digit anymore (we'll just overwrite what he entered
after each keystroke)
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119113
2010-04-26 15:37:02 +00:00
Volker Lanz
8dcd4cd1de
use QDoubleSpinBox instead of the integer version for free space before and
...
after and for capacity so that fractions are possible for these values
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1118931
2010-04-26 08:50:57 +00:00
Volker Lanz
82f08a4f8b
use PartitionAlignment::sectorAlignment, not Config::sectorAlignment
...
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
2010-04-15 10:32:12 +00:00
Volker Lanz
791377f176
only return true from PartResizerWidget::movePartition() if the partition was
...
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
2010-03-19 14:13:04 +00:00
Volker Lanz
edca30b707
add a details widget for the size dialog base and use it for first and last
...
sector
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1104707
2010-03-18 11:04:13 +00:00
Volker Lanz
a892c765cb
use a qdoublespinbox instead of a qspinbox for sectors so values higher than
...
2^31 fit
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1104299
2010-03-17 10:48:24 +00:00
Volker Lanz
c384fdaf21
refactor the part resizer and the size dialog base so they're less ugly, less
...
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
2010-03-16 11:40:54 +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
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
Laurent Montel
34ced586d7
Fix forward declaration
...
svn path=/trunk/kdereview/partitionmanager/; revision=877303
2008-10-29 07:41:08 +00:00
Volker Lanz
f2e2bbdfe3
Disable OK button in resize dialog per default, enabling it if something's
...
modified.
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=868381
2008-10-06 08:01:28 +00:00
Volker Lanz
d6dc26bd90
import of KDE Partition Manager
...
svn path=/trunk/playground/sysadmin/partitionmanager/; revision=864431
2008-09-24 19:32:01 +00:00