Aurélien Gâteau
467d89f56f
Remove PartitionInfo if we remove a Partition
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
3ed5704818
Refactor: Move creation of CreatePartitionJob to PartitionCoreModule
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
d54dfcfb78
Get rid of DeviceInfo
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
f3f9bfc2a3
Introduce PartitionInfo, to store Calamares-specifc info for a partition
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
1247077ccc
Pass mount point to CreatePartitionJob
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
ab4e81504e
wip mount point
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
a62f3daf25
Adjust logical numbers
2014-07-04 18:34:01 +02:00
Teo Mrnjavac
7a99214ddb
New keyboard viewmodule, based on the one from Manjaro's minst.
2014-07-04 15:33:59 +02:00
Teo Mrnjavac
ee485f9735
Remove keyboard related functionality from the locale viewmodule.
2014-07-04 15:31:12 +02:00
Teo Mrnjavac
e2e66e3cf7
Do not repeat repeat link libraries.
2014-07-03 18:07:02 +02:00
Teo Mrnjavac
4ec72f4afb
Refactored calamares_bin into calamares_bin and libcalamaresui.
...
Now linking with -Wl,--no-undefined!
Moved find_package KF5 from the root CMakeLists.txt to the partitioning
module where it belongs. KF5 deps should be limited to plugins.
Lots of random fixage to make stuff link.
Removed CalamaresApplication reference from Settings.
Removed the use of AbstractPage, we don't need it right now.
2014-07-03 18:00:40 +02:00
Teo Mrnjavac
1efb4f1101
Added spinner widget to the loading timezone data view.
2014-07-03 15:38:55 +02:00
Teo Mrnjavac
81eafced2f
Don't allow to go next if the timezone view hasn't loaded.
2014-07-03 13:19:32 +02:00
Teo Mrnjavac
f9aa532d77
Load timezone data asynchronously so we don't block the GUI thread on
...
startup.
2014-07-03 13:13:38 +02:00
Teo Mrnjavac
4cf6c06dda
Useless linkage is useless.
2014-07-03 13:13:06 +02:00
Teo Mrnjavac
87b009cc23
Layout fixes for LocalePage + default location.
2014-07-02 18:12:53 +02:00
Teo Mrnjavac
1ac10b40e6
Initial commit for the locale viewmodule.
2014-07-02 18:12:53 +02:00
Aurélien Gâteau
3a58e2640f
Show partition elements in separate column
2014-07-02 18:04:53 +02:00
Aurélien Gâteau
0446bb1079
More readable partition sizes
2014-07-02 18:04:53 +02:00
Aurélien Gâteau
a318ec49fc
Enqueue all partition jobs when leaving the PartitionViewStep
2014-07-02 16:06:54 +02:00
Aurélien Gâteau
4916d0cb88
crash--
2014-07-02 16:03:52 +02:00
Aurélien Gâteau
6f3ec0170e
Argh, forgot to commit those files
2014-07-02 15:59:34 +02:00
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
20beae8f52
Minor nitpick in module.conf
2014-07-02 11:47:48 +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
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
5dc5b4ddc8
Add missing file
2014-07-01 10:58:54 +02:00
Aurélien Gâteau
b060f66456
Introduce CreatePartitionDialog and CreatePartitionJob
2014-06-30 18:08:13 +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
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
c7d62300a0
Make the partition viewmodule compile with the new ViewStep interface.
2014-06-27 18:14:39 +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
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
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
Teo Mrnjavac
23e91ee475
Lots of changes. Module search+load system is now working.
...
Moved module-related classes to src/calamares/modulesystem.
Fixes to startup code path.
Made ViewPlugins load into ViewManager.
Debug code: ViewManager currently only shows a plugin's prettyName.
Added ViewModule as a subclass of Module. Other kinds of plugins should
be supported in a similar way.
2014-06-27 14:12:10 +02:00
Teo Mrnjavac
392c8ec108
PagePlugin ==> ViewPlugin
2014-06-24 12:41:58 +02:00
Teo Mrnjavac
2693f493c9
Added load entry to plugin config.
2014-06-24 12:41:26 +02:00
Teo Mrnjavac
125b7914d5
Added module metadata file to CalamaresAddPlugin macro.
...
Also improved output.
2014-06-23 17:14:55 +02:00
Teo Mrnjavac
13fcf387c7
A bunch of work on loading plugins.
...
Also switched to C++11.
2014-06-18 18:05:04 +02:00
Teo Mrnjavac
6899b1f0fa
Added CMake magic for plugin infrastructure.
...
Added ViewManager.
Added dummy Settings class.
Added dummy plugin interface (UI plugins only).
Added dummy greeting plugin.
Added DLLEXPORT macros for UI plugin interface and plugins.
2014-06-11 13:39:20 +02:00