Teo Mrnjavac
a0ac9d9f07
Don't dereference nullptr (fix Coverity defect 121863).
2016-02-26 13:00:58 +01:00
Teo Mrnjavac
e91d213872
Improve setting ESP.
2016-02-19 16:57:49 +01:00
Teo Mrnjavac
e27b9fc295
Handle ESP selector visibility.
2016-02-19 16:51:24 +01:00
Teo Mrnjavac
a4831085fb
Only override BIOS bootloader install path if there's no UI.
2016-02-19 16:42:51 +01:00
Teo Mrnjavac
7a89b53538
Refactor leave event of ChoicePage, add ESP mount point support.
...
PVS now calls ChoicePage::onLeave, which in turn runs ChoicePage::
doAlongsideApply and/or sets up the ESP mount point based on the UI
state if it's running in EFI mode and the action is Alongside or
Replace.
If setting up under BIOS, Alongside and Replace always install
the bootloader in the MBR of the current device.
2016-02-19 16:33:19 +01:00
Teo Mrnjavac
485176d70d
And always do that, please.
2016-02-12 16:48:29 +01:00
Teo Mrnjavac
12ec3bb74b
Iterate over all partitions for canBeResized check, not just osprober.
2016-02-12 16:45:52 +01:00
Teo Mrnjavac
c3404769dc
Use new check as selection filter in view.
2016-02-12 15:02:49 +01:00
Teo Mrnjavac
ffe419751c
Use the new canBeResized in ChoicePage.
2016-02-11 17:04:36 +01:00
Teo Mrnjavac
56e6509341
Use it in ChoicePage.
2016-02-11 16:00:36 +01:00
Teo Mrnjavac
0f756c7167
Use it in ChoicePage.
2016-02-10 17:02:42 +01:00
Teo Mrnjavac
7bb76c70ba
Set the nested partitions mode in ChoicePage.
2016-02-10 15:00:02 +01:00
Teo Mrnjavac
b17b7a9c89
Asynchronous rescan on device change.
2016-02-09 13:23:23 +01:00
Teo Mrnjavac
877fa98ea6
Revert all devices if core dirty on device choice.
2016-02-09 13:03:14 +01:00
Teo Mrnjavac
ec5a464eda
Make sure a default bootloader location is set.
2016-01-29 17:43:55 +01:00
Teo Mrnjavac
7f235525f2
Try slightly smaller action icons.
2016-01-29 17:10:28 +01:00
Teo Mrnjavac
30c38c4f4d
Safer pointer.
2016-01-29 17:07:08 +01:00
Teo Mrnjavac
1bc6556b65
We don't need this any more...
2016-01-29 16:49:39 +01:00
Teo Mrnjavac
5ccfc20258
Refactor bootloader picker into the bottom layout.
2016-01-28 18:43:35 +01:00
Teo Mrnjavac
e1a6085a1b
Try different layout for first row in ChoicePage.
2016-01-28 13:04:44 +01:00
Teo Mrnjavac
30351d125a
Reduce spacing.
2016-01-28 12:53:54 +01:00
Teo Mrnjavac
1a11d8589a
Fix layout.
2016-01-27 18:27:03 +01:00
Teo Mrnjavac
b6218272f3
Add BootInfoWidget to ChoicePage.
2016-01-27 18:23:56 +01:00
Teo Mrnjavac
b811f9e261
Fixup strings.
2016-01-25 16:59:05 +01:00
Teo Mrnjavac
16da0bd8d8
I guess this is a better spot.
2016-01-15 18:40:59 +01:00
Teo Mrnjavac
7c7c635d87
Set filter on both views.
2016-01-15 18:40:59 +01:00
Teo Mrnjavac
65230c7954
Add a SelectionFilter lambda for Alongside.
2016-01-15 18:40:59 +01:00
Teo Mrnjavac
f958f69218
Fix weird issue with alongside failing to create new partition.
2016-01-14 18:47:02 +01:00
Teo Mrnjavac
423d2dfc5c
Make sure we update the splitter widget after a rescan.
2016-01-14 16:14:57 +01:00
Teo Mrnjavac
601d67988d
Fix shrink size computation.
...
I don't get how this could possibly ever have worked.
2016-01-13 18:23:50 +01:00
Teo Mrnjavac
8525cefb6b
Fix next status handling.
2016-01-13 17:55:51 +01:00
Teo Mrnjavac
27d69502a3
Alongside apply slot.
2016-01-13 17:43:59 +01:00
Teo Mrnjavac
cad8845f12
Better name for alongside slot.
2016-01-12 14:04:25 +01:00
Teo Mrnjavac
4537103a43
Set up split widget when a partition is selected.
2016-01-12 11:43:02 +01:00
Teo Mrnjavac
d85bf01107
Initialized view is the best kind of view.
2016-01-11 19:26:14 +01:00
Teo Mrnjavac
37df381404
Proper parenting.
2016-01-11 19:07:48 +01:00
Teo Mrnjavac
80018e1d5b
Signal-slot plumbing and splitter setup for Alongside.
2016-01-11 19:02:34 +01:00
Teo Mrnjavac
b3f86925a8
Fix m_choice state.
2016-01-08 16:51:25 +01:00
Teo Mrnjavac
b422f646a6
Make sure the checked state change can happen.
2016-01-08 16:43:58 +01:00
Teo Mrnjavac
bc9ec8e5ba
Fix build.
2016-01-08 16:37:45 +01:00
Teo Mrnjavac
3869338c39
Make the QButtonGroup a member in ChoicePage.
2016-01-08 16:35:50 +01:00
Teo Mrnjavac
85a6f2068a
Refactor action choice handling with QButtonGroup.
...
This should improve the situation when unselecting an action without
selecting another one. Unselection can only happen when switching from
a device that supports the currently chosen action to a device that
doesn't support it, so the action gets hidden and unselected.
2016-01-08 15:38:01 +01:00
Teo Mrnjavac
53c27208f1
Also uncheck if hidden.
2016-01-08 14:50:09 +01:00
Teo Mrnjavac
f71ce22f3b
Make sure to show all the relevant partitioning actions.
2016-01-08 14:45:58 +01:00
Teo Mrnjavac
0c05812c68
Update bootloader combobox when the selected device changes.
2016-01-07 17:24:01 +01:00
Teo Mrnjavac
64d296aa06
Sensible default to current device in bootloader picker.
2016-01-05 18:45:59 +01:00
Teo Mrnjavac
6ce932870f
Clear selection on action change no matter what.
2015-12-31 16:58:50 +01:00
Teo Mrnjavac
74ba1df25f
Try to manage preview visibility.
2015-12-31 16:55:18 +01:00
Teo Mrnjavac
38b90560cf
Remove debug spam.
2015-12-31 16:36:24 +01:00
Teo Mrnjavac
22459c8fb8
Debug output.
2015-12-31 16:35:01 +01:00