Commit Graph

340 Commits

Author SHA1 Message Date
Andrius Štikonas 6806de6fb7 Revert "Merge branch 'luks-decorator'"
This reverts commit 54ce33b472, reversing
changes made to 98d08a81c5.
2015-09-16 14:14:53 +01:00
Teo Mrnjavac a88ceb2140 Fix bug with EditMountPointDialog not having Ok&Cancel buttons. 2015-08-14 18:07:26 +02:00
Teo Mrnjavac 65ffb182c5 Hook up new LUKS functionality from KPMcore.
Add decrypt action to actionCollection and context menu.
Wrap very long lines.
Replace NULL with nullptr, TODO: do this everywhere.
2015-08-14 17:57:27 +02:00
Teo Mrnjavac 6e1ff468d3 Set partition color code on PartWidget, and react to settings change. 2015-07-17 13:37:30 +02:00
Teo Mrnjavac 9d9a2b345a Make sure sectorAlignment is set. 2015-07-15 19:03:39 +02:00
Andrius Štikonas 81004a2445 Format partitionmanager code using KDE style. 2015-07-13 17:17:41 +03:00
Teo Mrnjavac 94bae2494f Fix indentation. 2015-07-13 15:50:45 +02:00
Teo Mrnjavac 23084a258d Specify default filesystem type when creating new partition. 2015-07-13 15:33:45 +02:00
Teo Mrnjavac c0381cd913 Read Shred action from KConfig. 2015-07-10 15:57:02 +02:00
Teo Mrnjavac cf51fa1ad0 Move PartResizerWidget and related to KPMcore. 2015-07-08 18:16:03 +02:00
Andrius Štikonas 618468742c Move FileSystem::defaultFileSystem to GUI. 2015-06-30 22:22:13 +03:00
Andrius Štikonas a58a041e6a Move Capacity::preferredUnit to GUI. 2015-06-14 02:06:18 +01: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 9d135978ad Add HiDPI support. 2015-04-09 23:26:52 +03:00
Andrius Štikonas 8e5c1b1ebd Move naturalLessThan function out of util/helpers. 2015-03-28 16:56:39 +00:00
Andrius Štikonas 93f6bcdc83 Generate export header for libkpmgui. 2015-03-28 00:43:38 +00:00
Chris Campbell 0ff2c923c3 Split partitionmanagerprivate into kpmcore and kpmgui.
Please enter the commit message for your changes. Lines starting
2015-03-27 16:28:21 +00:00
Andrius Štikonas bbb2fa3067 Use GPLv3 copyright notices. 2015-02-07 00:32:25 +00:00
Andrius Štikonas 97baf57d67 Fix size constrains of extendable part of sizedialog. 2015-02-05 10:37:50 +00:00
Andrius Štikonas d52ea34cf7 Complete KF5 port:
* Expose backend versions in a similar manner to backend Id.
 * Fix configure dialog signals.
2015-02-05 00:09:39 +00:00
Teo Mrnjavac aa132e1cdb Try to port backend loading away from KAboutData. 2015-02-03 19:53:46 +01:00
Yuri Chornoivan b44042a200 Fix tags 2014-11-30 11:52:13 +02:00
Andrius Štikonas 109d35d9f4 Fix build. 2014-11-19 12:05:22 +00:00
Andrius Štikonas cc8e02cb43 Port away from deprecated KF5 methods. 2014-11-03 19:57:25 +00:00
Aurélien Gâteau b313365276 Remove stray kcolorscheme.h include 2014-08-08 20:28:49 +03:00
Aurélien Gâteau a9cd6ae885 Draw the border around the handles
Otherwise they are difficult to see when the partition takes all the space
2014-08-08 20:28:49 +03:00
Aurélien Gâteau 40f579a811 PartResizerWidget: Render the background using a QLineEdit
This is more readable when style is not Oxygen
2014-08-08 20:28:49 +03:00
Andrius Štikonas debfbade66 Display KDE Frameworks (KXmlGui) version. 2014-05-29 12:52:33 +01:00
Andrius Štikonas f78c34778e Make shredSource radio button work again. 2014-05-29 02:45:36 +01: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 5eb2a06da4 Use QLocale().toString instead of KGlobal::locale() 2014-05-18 16:55:29 +01:00
Andrius Štikonas d1ae9dc4a7 Port away from KMenu. 2014-05-17 03:20:43 +01:00
Andrius Štikonas 81ce940171 Port away from KAction. 2014-05-17 03:12:10 +01:00
Andrius Štikonas dcdffadc3e Port away from KDialog. 2014-05-17 03:06:58 +01:00
Andrius Štikonas 066cd120e7 Partially port away from KIcon. 2014-05-17 02:27:42 +01:00
Andrius Štikonas a490106e75 Port away from KTextEdit. 2014-05-17 02:14:18 +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 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
Andrius Štikonas 2b537490ad Port away from KDebug. 2014-05-13 14:47:35 +01:00
Andrius Štikonas 2b75f43bb0 Support for decrypting LUKS volumes.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1362680
2013-08-09 19:25:48 +00:00
Andrius Štikonas 59e5a656c5 Fix detection of partitions' paths.
Previously, partition number was added to device path.
However, there are devices with more complicated numbering scheme,
e.g. memory cards may have /dev/mmcblk0p1.
It seems that the easiest way to handle this is to use partition
path instead of device path + partition number .
BUG:256964

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1337488
2013-02-05 00:09:43 +00: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 6ab19a9c49 Remove unused slot for menu-bar-removal warning.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1329474
2012-12-22 12:29:36 +00:00
Volker Lanz 0336c4635d fix wrong/outdated doxygen comment for ctor
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1328194
2012-12-12 00:12:30 +00:00
Andrius Štikonas ebf4c75855 Don't draw resize handles for unresizable partitions.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1328017
2012-12-10 18:38:55 +00:00
Andrius Štikonas 298fcf1772 Set unresizable partitions as read only.
BUG:310632

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1327840
2012-12-09 15:54:22 +00:00
Andrius Štikonas c93da7c1ae Use fileSystem().type() to avoid string comparison.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1325825
2012-11-21 18:38:41 +00:00