Teo Mrnjavac
6559197c4b
Expose some more version constants in CalamaresVersion.h
2014-07-17 19:42:16 +02:00
Mateusz Mikołajczyk
91e1f8248b
update for the fix, remove QStyle dependency
2014-07-14 14:04:15 +02:00
Mateusz Mikołajczyk
ea3b2e4461
fix for issue #13
2014-07-14 11:14:37 +02:00
Teo Mrnjavac
8d28a2ea5d
Generalized code path for Phase switching. Also load install modules.
2014-07-12 14:38:33 +02:00
Teo Mrnjavac
84bfb2aa95
Fixes for loading modules by phase.
2014-07-12 13:13:15 +02:00
Teo Mrnjavac
7034985b74
Remove MM:loadModulesPrepare.
2014-07-11 14:41:53 +02:00
Teo Mrnjavac
a09ab36386
Better settings format, rename a bit of stuff in module loading.
2014-07-11 14:21:50 +02:00
Aurélien Gâteau
04743eb4be
Basic JobQueue implementation
2014-07-08 19:21:55 +02:00
Aurélien Gâteau
b465121e26
Remove RowType enum and associated role
2014-07-08 15:30:15 +02:00
Aurélien Gâteau
a84b551ab0
Rename CategoryItem to TextTreeItem
2014-07-08 15:30:15 +02:00
Aurélien Gâteau
cb6a25c2ce
Show an InstallationStep at the end of the preparation process
2014-07-08 15:30:15 +02:00
Teo Mrnjavac
52028d95f9
Clean up overuse of literals for GUI constants.
...
Add CalamaresStyle for colors and other style constants and helpers.
Add static functions for font size.
2014-07-08 13:22:09 +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
87b009cc23
Layout fixes for LocalePage + default location.
2014-07-02 18:12:53 +02:00
Teo Mrnjavac
50c40e4272
Fix background of branding placeholder.
2014-07-02 17:31:29 +02:00
Aurélien Gâteau
4ee9f68ceb
Remove the outer margin of step widgets
2014-07-02 16:38:57 +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
bd44729328
Log plugin loading errors
2014-07-01 12:00:24 +02:00
Teo Mrnjavac
e6be09982e
Fix back/next logic for Next enabled state.
2014-06-27 18:18:36 +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
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
fae3284bb7
DllMacro.h ==> UiDllMacro.h
2014-06-26 17:06:48 +02:00
Teo Mrnjavac
205250e7c4
ModuleLoader ==> ModuleManager
2014-06-24 18:01:11 +02:00
Teo Mrnjavac
c23d198923
When looking for plugins in a search dir, make sure the path is correct
2014-06-24 16:27:23 +02:00
Teo Mrnjavac
869483055c
Load modules asynchronously on startup.
2014-06-24 16:26:48 +02:00
Teo Mrnjavac
041db41b35
Add a Quit button to Calamares::ViewManager.
2014-06-24 15:31:11 +02:00
Teo Mrnjavac
fa3dfa2244
Set correct window flags on CalamaresWindow.
2014-06-24 15:21:36 +02:00
Teo Mrnjavac
ef48f36445
Add modules path in build dir if --debug.
...
Also fix config.h location.
2014-06-24 13:35:21 +02:00
Teo Mrnjavac
392c8ec108
PagePlugin ==> ViewPlugin
2014-06-24 12:41:58 +02:00
Teo Mrnjavac
19da31baa4
Made ModuleLoader async, added dependency check.
2014-06-23 16:10:19 +02:00
Teo Mrnjavac
d20e3ce598
Add DLLEXPORT_PRO definitions.
2014-06-18 18:42:01 +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
Aurélien Gâteau
1da7ba446d
Fix link error on Qt5 libs
2014-06-17 14:59:49 +02:00
Teo Mrnjavac
1fb0dd3c3d
Rename binary calamares_bin -> calamares
2014-06-13 18:41:53 +02:00
Teo Mrnjavac
8c746b8d3b
Fix appDataDir paths
2014-06-13 17:05:21 +02:00
Teo Mrnjavac
05d355f21f
Config files are YAML, not JSON. We depend on yaml-cpp for parsing.
2014-06-13 16:40:42 +02:00
Teo Mrnjavac
56c6df30e6
--verbose is now --debug, CalamaresApplication keeps track of it
2014-06-13 16:39:50 +02:00
Teo Mrnjavac
1f98c3efae
Load settings.
2014-06-12 18:47:50 +02:00
Teo Mrnjavac
de93d4eabb
Proper include, and layout fix.
2014-06-12 10:56:13 +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
Teo Mrnjavac
fe27f8eab8
Use ui file for main window.
2014-06-06 17:32:32 +02:00
Teo Mrnjavac
b21dc4fe4c
Added Utils, Logger, Translations, QCommandLineParser, init boilerplate
2014-06-06 17:19:59 +02:00
demmm
293446a7bd
adding base-ui, first preleminary option
2014-06-06 11:21:38 -04:00