Commit Graph

685 Commits

Author SHA1 Message Date
Andrius Štikonas bb6cd82f6d Fix a comment. 2022-01-22 01:05:38 +00:00
Tomaz Canabrava 4f0ff7b63a Show devices dock panel when not passing --devices 2022-01-22 01:03:28 +00:00
Tomaz Canabrava 90f6cb74d2 Blocks the user to select a different device if --device is specified
So the user can't select a different device by mistake.
2022-01-22 01:03:28 +00:00
Andrius Štikonas 458872f359 Do not use deprecated Qt5 methods. 2022-01-18 23:23:00 +00:00
Andrius Štikonas 20d41ef501 Adjust QStringList includes for Qt6. 2022-01-18 20:55:55 +00:00
Andrius Štikonas 0ff20194b0 Port away from deprecated setMargin method. 2022-01-18 20:55:55 +00:00
Andrius Štikonas ca788a9e69 Use QFont enums instead of magic constants. 2022-01-18 20:55:54 +00:00
Andrius Štikonas 7d4ca72118 Use nullptr. 2022-01-18 20:55:54 +00:00
Andrius Štikonas 312079422a Port away from obsolete QtKey::+ operator. 2022-01-18 20:55:54 +00:00
Tomaz Canabrava a8da9ef6c1 Select the partition number if `--device` is passed with it
such as `sda1` or `hda2` will now select the specific partition
2022-01-10 22:18:13 +00:00
Andrius Štikonas 6f28900350 Silence compiler warning. 2022-01-09 23:48:39 +00:00
Andrius Štikonas c9751910e8 Select root permissions radio button when new partition dialog is first created. 2021-12-28 16:36:45 +00:00
Andrius Štikonas b9e5a055d4 Check if we need to show permissions groupBox when New Partition dialog is first shown. 2021-12-28 16:27:20 +00:00
Andrius Štikonas 850ab0df40 Remove unused class member variable. 2021-12-28 16:21:40 +00:00
Andrius Štikonas 519bea8fd5 Fix isPermissionOnlyRoot function to return root by default. 2021-12-28 16:17:25 +00:00
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