Commit Graph

670 Commits

Author SHA1 Message Date
Andrius Štikonas 47e6d5f3d2 Separate radiobuttons into two independent groups. 2021-12-28 16:07:22 +00:00
Andrius Štikonas 4e5cbcdb65 Enable permissions choice for other filesystems. 2021-12-28 15:50:30 +00:00
Tomaz Canabrava 1edb947525 Change the way the button is created / fix crash 2021-12-28 15:09:40 +00:00
Tomaz Canabrava 2bcd994bf1 Fix if order
First we need to set the partition permission flags, then we
create the operation.
2021-12-28 15:09:40 +00:00
Tomaz Canabrava bfc445bd7c Add tooltip for the new option 2021-12-28 15:09:40 +00:00
Tomaz Canabrava 6b27467943 Add a button to allow the user to select if the partition is open for
everyone
2021-12-28 15:09:40 +00:00
Alessio Bonfiglio 4f17fc5548 Ask for authentication only once 2021-12-23 00:47:10 +00:00
Andrius Štikonas 81bbfea449 Improve tab focus order in create partition dialog.
BUG: 444698
2021-12-04 23:59:13 +00:00
Tomaz Canabrava 479c3f4678 Select device using a command line option
pass --device=/dev/sda to select that device

BUG: 43485
2021-12-01 10:07:47 -03:00
Tomaz Canabrava a577f8a0b8 Add new signal on the mainWindow
We can't just call things on the mainWindow, we need to
wait it to finish some processes before we can safely query things
2021-12-01 10:07:47 -03:00
Tomaz Canabrava a85b63c004 Add Documentation 2021-12-01 10:07:34 -03:00
Tomaz Canabrava 099c753516 Add TODO's on parts of the code 2021-11-30 10:18:14 -03:00
Tomaz Canabrava ae088e1ace Move connections to the ::setupConnecctions method
What's the reason of having a ::setupConnections if there's
connections for the GUI outside of it?
2021-11-30 09:43:25 -03:00
Tomaz Canabrava a389b0e9ff Warn the user if the polkit files are missing 2021-11-29 11:22:13 -03:00
Tomaz Canabrava a41c31c66f Don't use `d` as variable name
On KDE and Qt apps it's common to use a d-pointer, so naming
a variable `d` has a serious implication of muscle memory.
2021-11-29 09:29:46 -03:00
Andrius Štikonas bdb0d25ace Use untranslated filesystem name for fstab entries.
BUG: 434807
2021-03-23 19:33:28 +00:00
Andrius Štikonas 175eaef1b9 Remove unnecessary semicolon. 2020-11-14 01:33:28 +00:00
Andrius Štikonas 03edda5de6 Port away from obsolete QPalette::Foreground. 2020-11-14 01:30:13 +00:00
Andrius Štikonas aa32927848 Port away from deprecated QString::SkipEmptyParts. 2020-11-14 01:16:19 +00:00
Andrius Štikonas cd10b5ba2c Port away from qAsConst. 2020-10-24 22:15:02 +01:00
Andrius Štikonas 991bd1125f Remove ExternalCommand::setParentWidget call. 2020-10-12 20:57:21 +01:00
Andrius Štikonas ed84b9762c Remove call to stopHelper. It is no longer necessary. 2020-10-12 20:55:37 +01:00
Andrius Štikonas 02e4359889 Apply colour scheme to secondary (MBR logical) partitions
BUG: 418648
2020-10-05 18:24:31 +01:00
Andrius Štikonas e0906e3e26 Import partition flags when importing partition table.
BUG: 400331
2020-10-04 16:58:38 +01:00
Andrius Štikonas 58b3aefcfa Add support for importing "PartitionTable" of whole device filesystems. 2020-10-04 15:21:15 +01:00
Andrius Štikonas 209c1767b7 REUSE: SPDX copyright statements for more misc files. 2020-10-04 01:04:59 +01:00
Andrius Štikonas 3e39aaea60 Also exclude Luks2 filesystem from drop down menu in PartPropsDialog.
Luks1 was already excluded.
2020-10-03 15:37:33 +01:00
Andrius Štikonas 65619e679e Fix location of author tag in ui file. 2020-10-03 13:50:32 +01:00
Andrius Štikonas 71305e4ca6 Add copyright information to ui files. 2020-10-02 00:55:24 +01:00
Andrius Štikonas 2d2af2158a Use QStyle:Pixelmetric::PM_SmallIconSize, instead of hardcoded 16x16. 2020-09-29 22:15:28 +01:00
Andrius Štikonas 30d5671950 Port away from IconThemes. 2020-09-29 17:54:53 +01:00
Andrius Štikonas 063da467f3 Add SPDX metadata to CMakeLists.txt files. 2020-09-16 01:03:48 +01:00
Andrius Štikonas ad48c72af8 Switch to SPDX license headers. 2020-09-16 00:35:12 +01:00
Andrius Štikonas 6ab1e3aa13 Port away from deprecated QTime::elapsed. 2020-09-15 22:33:05 +01:00
Andrius Štikonas 51f4a2da04 Compile partitionmanager with Q_NO_KEYWORDS. 2020-09-15 02:26:56 +01:00
Andrius Štikonas 62e330b0f9 Remove an extra pair of brackets. 2020-09-14 00:46:02 +01:00
Andrius Štikonas 89dcf7855c Fix an infinite loop in remove mount point function. 2020-09-14 00:42:35 +01:00
Andrius Štikonas 0b77294e3d Port away from KRun to KIO::OpenUrlJob
Also bump minimum KF5 version to 5.71
2020-09-12 23:21:18 +01:00
Andrius Štikonas c3c5fd8837 Move KMessageBox outside if statement. 2020-09-10 01:23:55 +01:00
Andrius Štikonas d0bfbd2d4b Allow selecting properties using keyboard and mouse.
Properties in Dialog and Partition properties dialogs should now
be selectable.

BUG: 422192
2020-05-28 21:18:52 +01:00
Andrius Štikonas 4106ed78fd
Port away from deprecated IconSize method in the remaining dialogs. 2020-03-22 01:10:35 +00:00
Andrius Štikonas ae711eb12b Port away from deprecated IconSize method. 2020-03-15 23:16:09 +00:00
Yuri Chornoivan dcc665cc27 Fix minor EBN issues 2019-12-09 18:33:04 +02:00
Andrius Štikonas 910de2a772 Merge partition manager toolbars into one.
BUG: 412376
2019-10-05 11:21:14 +01:00
Andrius Štikonas dd0df390da Port away from deprecated QTreeWidget::setFirstItemColumnSpanned. 2019-09-27 23:09:05 +01:00
Andrius Štikonas a6861bf202 When importing partition table, pass the flags to Partition class.
Note, this is not enough for flags to work. We need to run a job to set flags.

CCBUG: 400331
2019-02-28 00:16:50 +00:00
Andrius Štikonas cf513b9873 Use explicit class method overrides. 2019-02-28 00:16:32 +00:00
Andrius Štikonas 730b2a9992 Fix race condition in reading fstype on partition table import.
Thanks to Christoph Vogtländer for reporting and fixing.

BUG: 400330
2019-02-27 23:15:17 +00:00
Andrius Štikonas 98d59e69ff
Use scoped enums for PartitionTable::Flag. 2019-02-10 01:30:02 +00:00
Yuri Chornoivan 7e47ebe0a2 Fix minor typo 2018-12-09 20:38:44 +02:00