Commit Graph

5073 Commits

Author SHA1 Message Date
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