Commit Graph

68 Commits

Author SHA1 Message Date
Andrius Štikonas da621fbfbe Use QValidator to validate label input. 2017-09-05 12:52:47 +01:00
Andrius Štikonas 0f64ac2dc3 Port to validateLabel function. 2017-09-04 17:39:39 +01:00
Andrius Štikonas ff45763427 Record sector size in FileSystem class. 2017-09-03 16:01:48 +01:00
Andrius Štikonas 58281d6855 Adapt to kpmcore createWithLabel changes. 2017-08-31 10:21:32 +01:00
Andrius Štikonas 97dc11bb89 Port qSort. 2017-05-03 19:24:41 +01:00
Andrius Štikonas 7f5e592ba9 Use qAsConst and required Qt 5.7.1. 2017-01-05 19:11:32 +00:00
Andrius Štikonas e8fee5dd23 Do not allow creating LVM LV with no name. 2016-08-27 00:16:39 +01:00
Chantara Tith b581c3d715 API changes, change to renamed methods. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 5267f9825a Convert some more for loops to ranged based loop. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 561269a2e6 Convert to C++11 for loop where it is safe to do so. 2016-08-15 17:38:00 +01:00
Chantara Tith 5775560759 When creating new LV, disable OK button if the LV name already exists. 2016-08-15 17:38:00 +01:00
Chantara Tith c8844c91e9 Remove lvm2_pv from FileSystem comboBox when creating LV. 2016-08-15 17:38:00 +01:00
Chantara Tith e437c46d45 Disable OK button when LV name is empty. 2016-08-15 17:38:00 +01:00
Chantara Tith 1673a9ddeb Hide sizeDetailsWidget for LVM device. This also fix crashes when trying to align LV 2016-08-15 17:38:00 +01:00
Chantara Tith e9cfc151f7 Hide freeSpace Before and After Label for LVM resize. 2016-08-15 17:38:00 +01:00
Chantara Tith e798a26cb6 Make LVM partition immovable when resize. 2016-08-15 17:38:00 +01:00
Chantara Tith 07bf741c6a Add new LV operation 2016-08-15 17:38:00 +01:00
Andrius Štikonas f81cb3cc30 Improve semantic markup. 2016-07-18 02:21:14 +01:00
Andrius Štikonas b94564e360 Convert remaining QObject::connect to new syntax. 2016-05-22 20:03:49 +01:00
Andrius Štikonas c01d63cb02 Revert "Remove Luks from FileSystemFactory."
This reverts commit dd1f6aaae0.
2016-05-17 15:30:57 +01:00
Andrius Štikonas dd1f6aaae0 Remove Luks from FileSystemFactory. 2016-05-17 15:05:05 +01:00
Andrius Štikonas ac278bb06d Check whether LUKS verification passphrase matches.
Set passphrase length to be from 1 to 512.
2016-05-17 01:06:45 +01:00
Andrius Štikonas 98835662ca Start migration from QLineEdit to KNewPasswordWidget for LUKS passphrases. 2016-04-29 21:27:43 +01:00
Andrius Štikonas 80b01010a6 Never show encrypt options for Extended partitions. 2016-04-26 14:39:15 +01:00
Andrius Štikonas 2790b430bb Allow setting labels during creation of LUKS volume. 2016-04-24 17:48:24 +01:00
Teo Mrnjavac 221c375bd4 Rookie mistake. 2016-04-21 19:30:18 +02:00
Teo Mrnjavac 9a8dc0127d Force show the passphrase widgets. 2016-04-21 19:25:53 +02:00
Teo Mrnjavac 1e300afbac Correctly hide passphrase widget. 2016-04-21 19:21:34 +02:00
Teo Mrnjavac 5fc1683672 Don't crash on resize dialog. 2016-04-21 18:43:54 +02:00
Teo Mrnjavac a1b886578f Set the passphrase on FS::luks. 2016-04-21 17:57:25 +02:00
Teo Mrnjavac 03d3925775 PartitionRole::LUKS is now PartitionRole::Luks. 2016-04-19 16:53:56 +02:00
Andrius Štikonas b3303ee6bf
Fix LUKS encryption support for filesystems without support for writing label.
This enables LUKS encryption for Reiser4 and LVM PV.
2016-04-16 00:28:14 +01:00
Teo Mrnjavac 13031913f4 Update copyrights. 2016-04-15 15:45:22 +02:00
Teo Mrnjavac 46baf7c440 Create FS as inner FS in LUKS if the encrypt setting is checked.
Filter out LUKS from FS combo.
2016-04-15 15:38:11 +02: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 618468742c Move FileSystem::defaultFileSystem to GUI. 2015-06-30 22:22:13 +03:00
Andrius Štikonas 11b097141a Move createFileSystemColor back to GUI. 2015-06-12 13:11:29 +01: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 f3dd3157a6 Initial port to KDE Frameworks 5.
The port is mostly complete:
    * A few unported items are marked with FIXME: port KF5.
    * KCFG configuration for QGroupBox is not working yet.
2014-05-18 21:41:48 +01:00
Andrius Štikonas dcdffadc3e Port away from KDialog. 2014-05-17 03:06:58 +01:00
Andrius Štikonas 14e9ecb779 Port away from KLineEdit, KPushButton and KComboBox. 2014-05-14 01:01:34 +01:00
Andrius Štikonas ed431cfcd5 Partially port away from KLocale.
KLocale was replaced with KLocalizedString and QLocale.
Only changes that do not break compilation with KDELibs4 are made.
2014-05-13 23:53:37 +01:00
Andrius Štikonas 2b537490ad Port away from KDebug. 2014-05-13 14:47:35 +01:00
Andrius Štikonas 084c604c3c Make filesystem label length depend on file system.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1330603
2013-01-03 12:43:03 +00:00
Volker Lanz 1c97342be3 if the file system we want to set the combo box to cannot be found in it, set
it to the first value; don't set it to -1

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119609
2010-04-27 13:19:34 +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