Aurélien Gâteau
d013e663b8
Implement partition removal
2014-07-02 15:49:35 +02:00
Aurélien Gâteau
f9ca45face
Mark the partition we create as "StateNew"
...
This way if user wants to remove it later we can remove the creation job
instead of queueing a delete job
2014-07-02 15:48:47 +02:00
Aurélien Gâteau
724780fb23
Coding style fixes
2014-07-02 14:12:56 +02:00
Teo Mrnjavac
ca247c26ca
CalamaresAddPlugin more relevant output.
2014-07-02 11:59:55 +02:00
Teo Mrnjavac
5ea0ade4ce
Remove debug messages from CalamaresAddLibrary.cmake
2014-07-02 11:51:59 +02:00
Teo Mrnjavac
20beae8f52
Minor nitpick in module.conf
2014-07-02 11:47:48 +02:00
Teo Mrnjavac
698cff45c8
Lots of model/view/delegate changes.
...
Created delegate for ProgressTreeView.
No more columns, only roles throughout the model.
Added row types and some user roles to the model.
Look and feel changes to ProgressTreeView.
2014-07-01 17:52:05 +02:00
Teo Mrnjavac
0eddb34c15
Add getter for CalamaresWindow in CalamaresApplication.
2014-07-01 17:52:05 +02:00
Teo Mrnjavac
3b64f29bfc
Enforce minimum size for main window.
2014-07-01 17:52:05 +02:00
Teo Mrnjavac
378545c735
No need to call expandAll from outside the model.
2014-07-01 17:52:05 +02:00
Teo Mrnjavac
80789b6143
Added ProgressTreeModel/View, including different kinds of items.
...
Redone CalamaresWindow without UI file.
Const correctness in ViewStep and plugins.
2014-07-01 17:52:04 +02:00
Teo Mrnjavac
3a3bf71054
Added CalamaresUtilsGui
2014-07-01 17:52:04 +02:00
Aurélien Gâteau
1421a04dd2
Support creation of extended partitions
2014-07-01 17:33:53 +02:00
Aurélien Gâteau
e3c6869fbd
Let CreatePartitionDialog create the Partition object
2014-07-01 17:09:39 +02:00
Aurélien Gâteau
90d26bfd31
Safer dialog handling
2014-07-01 16:46:33 +02:00
Aurélien Gâteau
5eafb9538e
Crude way to distinguish extended from primary partitions + show partition size
2014-07-01 16:29:26 +02:00
Aurélien Gâteau
cdfb890e17
Better way to detect free space
2014-07-01 16:29:00 +02:00
Aurélien Gâteau
bd44729328
Log plugin loading errors
2014-07-01 12:00:24 +02:00
Teo Mrnjavac
f417b22fc3
Fix plugin install libdir.
2014-07-01 11:16:03 +02:00
Aurélien Gâteau
5dc5b4ddc8
Add missing file
2014-07-01 10:58:54 +02:00
Aurélien Gâteau
1b22ec890b
Install settings.conf
2014-07-01 10:38:08 +02:00
Aurélien Gâteau
b060f66456
Introduce CreatePartitionDialog and CreatePartitionJob
2014-06-30 18:08:13 +02:00
Aurélien Gâteau
bcfbf3eda2
Dummy implementation of JobQueue so that I can call it
2014-06-30 18:02:19 +02:00
Aurélien Gâteau
c9409ba6b2
Start implementing support for creating partitions
2014-06-30 16:17:59 +02:00
Aurélien Gâteau
3a59cdeda9
Detect free space using the FS type
2014-06-30 16:17:59 +02:00
Aurélien Gâteau
c254fe0b2a
Enable/disable partition buttons
2014-06-30 16:17:59 +02:00
Aurélien Gâteau
2000553a10
PartitionModel: Add getter for Partition
2014-06-30 16:17:59 +02:00
Aurélien Gâteau
4429a8fd63
Introduce PMUtils
2014-06-30 16:17:59 +02:00
Aurélien Gâteau
6d0b3218f1
Move PartitionModel management from DeviceModel to PartitionCoreModule
2014-06-30 16:17:59 +02:00
Aurélien Gâteau
578f2e4baa
Instantiate DeviceModel in PartitionCoreModule
2014-06-30 16:17:59 +02:00
Aurélien Gâteau
4d2354fb56
Introduce PartitionCoreModule
...
Owner of the Qt models and PM devices
2014-06-30 16:17:59 +02:00
Teo Mrnjavac
dafd542245
Update HACKING.md
2014-06-30 13:45:43 +02:00
Teo Mrnjavac
1338648617
Update HACKING.md
2014-06-30 13:43:12 +02:00
Teo Mrnjavac
1cf5d1c72f
Added HACKING.md
2014-06-30 13:34:31 +02:00
Aurélien Gâteau
730c3902bf
PartitionViewPlugin => PartitionViewStep
2014-06-30 13:24:59 +02:00
Aurélien Gâteau
8f474fa08f
Persistent partition model
...
This will make it possible to update the partition list on changes,
regardless of the actual device state
2014-06-30 13:15:20 +02:00
Teo Mrnjavac
e6be09982e
Fix back/next logic for Next enabled state.
2014-06-27 18:18:36 +02:00
Teo Mrnjavac
b2744f912a
Add the partition viewmodule to the modules-prepare roster.
2014-06-27 18:15:28 +02:00
Teo Mrnjavac
c7d62300a0
Make the partition viewmodule compile with the new ViewStep interface.
2014-06-27 18:14:39 +02:00
Teo Mrnjavac
299d4caae5
Fix include guard.
2014-06-27 18:08:03 +02:00
Teo Mrnjavac
20d5a37fef
Major ViewStep additions and changes.
...
Renamed ViewPlugin to ViewStep.
Back/Next button status management.
Subpages are now under a ViewStep's jurisdiction, we only forward back/
next signals if a ViewStep says it's got more pages to show. ViewStep
exposes a QWidget* to ViewManager, this QWidget gets added to a stack.
If a ViewStep wishes to show more than one page, it must manage more
pages on its own inside its single QWidget*.
2014-06-27 18:04:53 +02:00
Teo Mrnjavac
f1da3373a8
Added Typedefs.h and Job/JobQueue interfaces.
2014-06-27 18:04:53 +02:00
Aurélien Gâteau
1d0dfa5215
Clean up
2014-06-27 17:42:15 +02:00
Aurélien Gâteau
344d7ac610
Better use QItemSelectionModel to detect selection changes
2014-06-27 17:42:13 +02:00
Aurélien Gâteau
6b164a9dcf
Wrap PartitionPage building in WITH_PARTITIONMANAGER
2014-06-27 17:41:55 +02:00
Aurélien Gâteau
8d6b7672bc
Start PartitionPage
2014-06-27 17:26:31 +02:00
Teo Mrnjavac
afa1d9dce0
To build with partitionmanager: cmake -DWITH_PARTITIONMANAGER=1
2014-06-27 15:55:25 +02:00
Teo Mrnjavac
6388171521
Stubs for JobQueue and Job.
2014-06-27 15:55:25 +02:00
Teo Mrnjavac
5f883556e1
Don't use QPluginLoader's JSON metadata thing, we already have our own.
2014-06-27 15:55:24 +02:00
Teo Mrnjavac
f4b1cacc03
Prefer nullptr over 0 for null pointers.
2014-06-27 15:55:24 +02:00