Commit Graph

171 Commits

Author SHA1 Message Date
Andrius Štikonas 24237a6120 Change a way untranslated file system name is accessed. 2017-09-15 12:47:28 +01:00
Andrius Štikonas 4b4198c34a Use untranslated file system name when importing partition table.
BUG: 364648
2017-09-14 14:47:39 +01:00
Andrius Štikonas ff45763427 Record sector size in FileSystem class. 2017-09-03 16:01:48 +01:00
Andrius Štikonas 4c46d7ad0b Adapt to kpmcore QList->QVector changes. 2017-08-31 10:49:26 +01:00
Andrius Štikonas 482c1f63a3 std::vector->QVector. 2017-08-31 10:34:58 +01:00
Andrius Štikonas e3c14dbbb4 Convert pvList to std::vector.
We do not need to insert elements at arbitrary locations,
so vector should be sufficient.

Postpone changes in kpmcore till later to avoid breaking API.
2017-06-05 00:28:22 +01:00
Andrius Štikonas 255e34bf9e Port from deprecated ui() to uiDelegate() 2017-04-11 20:49:46 +01:00
Andrius Štikonas 3eddfe2374 Use new kpmcore function to check whether LVM VG can be removed. 2016-11-05 15:35:27 +00:00
Andrius Štikonas 46ae0c73a8 Store list of physical volumes in a global variable. 2016-11-03 13:26:23 +00:00
Andrius Štikonas b2520a8dc6 Refresh actions after LVM VG deactivate job. 2016-10-30 02:32:26 +00:00
Andrius Štikonas fea271330d Use cached values for resizing volume groups. 2016-09-24 21:09:16 +01:00
Andrius Štikonas 5bebcfbbc8 More conversion from QStringList to QList<const Partition*>.
listPhysicalVolumes::checkedItems is now QList based.
2016-09-18 01:55:14 +01:00
Andrius Štikonas e2afd2c683 Avoid calling lvm command to list Volume Groups in CreateNewVolumeGroup dialog. 2016-09-11 02:54:16 +01:00
Andrius Štikonas 280ba106e8 Store the list of LVM Physical Volumes in operationStack. 2016-09-10 22:10:11 +01:00
Andrius Štikonas da663169f7 Adapt to kpmcore changes regarding LVM PV detection. 2016-09-07 14:36:59 +01:00
Andrius Štikonas e7d2a21599 Hide encrypt/decrypt action for non luks partitions. 2016-09-06 00:34:16 +01:00
Andrius Štikonas 29cb8f6201 Replace 2 cases of getLVs with LVPathList. 2016-09-05 17:29:09 +01:00
Andrius Štikonas 19cd61dad0 Update to latest KPMcore API (cache luks specific values during the scan). 2016-09-04 23:34:16 +01:00
Andrius Štikonas 614503a910 Rename Volume->VolumeGroup. 2016-09-04 12:25:43 +01:00
Andrius Štikonas 46b2c16131 Use lvm2_pvFS pointer to call member functions. 2016-09-04 11:58:46 +01:00
Andrius Štikonas e7ac5e5fa2 Q_FOREACH porting. 2016-09-01 00:44:33 +01:00
Andrius Štikonas c3664c42b1 Improve descriptions of LVM actions. 2016-08-25 15:51:15 +01:00
Andrius Štikonas 94ef37623e Add About KPMcore Library action. 2016-08-25 00:15:07 +01:00
Chantara Tith 9c6aae990a Use deactivate VG operation to check if a volume is deactivatable. 2016-08-15 17:38:00 +01:00
Andrius Štikonas bd2db0ceef Hide smart status and create partition table operations for non Disk Devices. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 25e33357d2 Disable resizing or deactivating deactivated LVM volume groups. 2016-08-15 17:38:00 +01:00
Andrius Štikonas b8c1acc7b6 Do not allow deactivating LVM VG devices that have mounted partitions. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 22173b75a6 Show disabled remove volume group operation for non-empty Volume Groups. 2016-08-15 17:38:00 +01:00
Chantara Tith 81daeba1d5 Change deactivate VG action icon to 'media-eject' 2016-08-15 17:38:00 +01:00
Chantara Tith c0d11a9025 Manually call deactivate VG operation's preview. 2016-08-15 17:38:00 +01:00
Chantara Tith f5a7a324ff Deactivate Volume Group right away without Apply operation. 2016-08-15 17:38:00 +01:00
Chantara Tith f167642d87 Set LVM operations/actions to invisible when other device is selected. 2016-08-15 17:38:00 +01:00
Andrius Štikonas a379c4ab31 Also add deactivate volume group action to .rc file. 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 9525683522 Add deactivating LVM VG action. 2016-08-15 17:38:00 +01:00
Chantara Tith 7f61e77eb5 Add selected device to ResizeVolumeDialog. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 175ea6a5ed Do not attempt removing LVM VG if there are active LVs. 2016-08-15 17:38:00 +01:00
Chantara Tith ce9ad5559e Enable Smart Status for Disk Device only. 2016-08-15 17:38:00 +01:00
Chantara Tith 906f85a54d Disable resize/remove volume group action when LVM device is not selected. 2016-08-15 17:38:00 +01:00
Chantara Tith 9f3e3bc5f0 Add functionality to specify PE size when creating VG. 2016-08-15 17:38:00 +01:00
Chantara Tith 100277b0e1 Display warning message when trying to remove VG with existing LV. 2016-08-15 17:38:00 +01:00
Chantara Tith b8be4f7c79 Add volume resizing dialog. 2016-08-15 17:38:00 +01:00
Chantara Tith 9a4e54fb42 Add remove and resize action to MainWindow. 2016-08-15 17:38:00 +01:00
Chantara Tith 4f564d52f5 Initial work on createvolume widget and dialog. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 84e16503f4 Fix if/else statements of previous commit. 2016-07-24 19:07:31 +01:00
Andrius Štikonas 169588dc0f Make sure empty KLocalizedStrings are not converted to QStrings. 2016-07-24 18:47:33 +01:00
Andrius Štikonas f81cb3cc30 Improve semantic markup. 2016-07-18 02:21:14 +01:00
Andrius Štikonas ee3466f1f8 Do not convert empty KLocalizedStrings into QStrings. 2016-07-06 16:02:06 +01:00
Andrius Štikonas 6c78120883 Reduce usage of moc. 2016-07-02 12:12:56 +01:00
Andrius Štikonas 75adb928fe Use lambda functions for overloaded connections. 2016-07-01 15:51:28 +01:00