Teo Mrnjavac
b86193824d
Read a prompt-install variable from settings.conf.
2015-04-13 14:58:34 +02:00
Teo Mrnjavac
24fc227e76
Retranslate navigation buttons.
2015-04-08 18:40:43 +02:00
Teo Mrnjavac
c9769dfd76
Add Disk and Partition icons to CalamaresUtils::defaultPixmap.
2015-04-03 11:57:01 +02:00
Teo Mrnjavac
9606b228d7
Add Disk and Partition icons to qrc.
2015-04-03 11:55:39 +02:00
Teo Mrnjavac
b095982830
Expose new partitioning icons in CalamaresUtils::defaultPixmap.
2015-04-02 14:03:12 +02:00
Teo Mrnjavac
cf49239419
Update libcalamaresui.qrc
2015-04-02 14:02:13 +02:00
Teo Mrnjavac
506b79ef2c
Add new icons to CalamaresUtils::defaultPixmap.
2015-04-02 12:49:40 +02:00
Teo Mrnjavac
e6f98393b8
Add icons to qrc.
2015-04-02 12:48:34 +02:00
Teo Mrnjavac
ec883e391d
Add different kinds of Url to Branding.
2015-04-02 12:29:31 +02:00
Teo Mrnjavac
bce6ec94fd
Add ProductUrl and ProductUrlText to Branding.
2015-04-01 18:03:17 +02:00
Teo Mrnjavac
19bcc887a8
Fix build with Qt 5.5 branch.
2015-03-27 11:59:44 +01:00
Teo Mrnjavac
cc5095781d
Branding::style is now ::styleString for clarity.
2015-03-19 18:03:55 +01:00
Teo Mrnjavac
9615691554
CalamaresStyle is no more. Look for color constants in Branding.
2015-03-19 18:03:55 +01:00
demmm
b982d751af
adding needed Branding.cpp section
...
builds, but segfaults on running
2015-03-19 18:03:55 +01:00
demmm
56afa45812
start of trial to add sidebar style options
...
use a new style section in branding.desc, doesn't build as is
2015-03-19 18:03:55 +01:00
demmm
d750885e75
Revert "add URL option in greeting page"
2015-03-19 10:44:34 -04:00
demmm
be29755230
add URL option in greeting page
...
URL is a variable set in branding.desc, distros cna link to a Known Issues page
text for the URL is also possible to set in branding, known issues is default
advantage is any text possible as distros see fit
disadvantage, not part of translated strings
if most agree, Known Issues can be set as hard coded text, not in branding.desc
2015-03-19 10:32:14 -04:00
Teo Mrnjavac
c2a0845738
Debug window title.
2015-03-11 12:42:08 +01:00
Teo Mrnjavac
5951208c1b
Add Modules page to DebugWindow.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
dda7ea211d
Make ModuleManager accessible from outside CalamaresApplication.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
4e2e964503
Return configurationMap from Module.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
8a60abdfc9
Add JobQueue list to DebugWindow
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
3ce8abcb78
Expand all items in the GlobalStorage debug tree.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
8729b6a25f
Update the debug view every time GlobalStorage changes.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
060983279f
Add a QTreeView for GlobalStorage contents to DebugWindow.
...
Not real time yet.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
9249d6e165
Add QJsonModel.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
00565d0f12
Stubs for DebugWindow.
2015-03-10 19:51:08 +01:00
Gormogon
e2d05cb9f2
Align Pointers
2015-02-25 19:57:19 -05:00
Teo Mrnjavac
2782328036
Fix phase handling in ViewManager, to allow adding a Finished page.
2015-01-29 22:46:08 +01:00
Teo Mrnjavac
20bc34029d
Copyright.
2015-01-29 22:46:07 +01:00
Teo Mrnjavac
a670de3035
Add currentPhase to ModuleManager.
2015-01-29 22:46:07 +01:00
Teo Mrnjavac
171248ad4f
Add isBackEnabled checks to all ViewSteps.
2015-01-29 22:46:07 +01:00
Teo Mrnjavac
de406cef22
The Quit button is now Cancel, except on the last page.
2015-01-28 15:26:23 +01:00
Teo Mrnjavac
50a413d3c2
Only set the slideshow if the branding component has one.
2015-01-23 20:27:27 +01:00
Teo Mrnjavac
9622888d1d
Load QML modules in a central place + dummy QML slideshow.
2015-01-23 20:24:45 +01:00
Teo Mrnjavac
14ddba70ef
Initial commit for QML slideshow support.
2015-01-23 20:24:45 +01:00
Teo Mrnjavac
d3ea92ef3d
Also in CalamaresUtilsGui
2014-12-19 13:53:04 +01:00
Teo Mrnjavac
2a5e8c8ee3
Add replace icon.
2014-12-19 13:53:04 +01:00
Kevin Kofler
462819060b
branding: Add a dedicated bootloaderEntryName setting.
...
Use it in the bootloader and grubcfg modules instead of
shortProductName.
2014-11-19 16:50:15 +01:00
Kevin Kofler
538b457ea8
branding: Add a shortProductName entry.
...
This is what the bootloader modules really want, and it was also missing
for consistency with the other branding entries.
2014-11-16 05:14:57 +01:00
Kevin Kofler
98f99fa5bf
Introduce and use a Calamares::Branding::setGlobals method.
...
The method creates a map called "branding" in the global storage, and
inserts an entry for each of the branding strings. This makes the
branding information accessible to the Python modules.
The method is called by CalamaresApplication::initJobQueue.
This is necessary because the Branding class is in libcalamaresui, so
Python modules cannot access it directly.
2014-11-16 04:19:53 +01:00
Teo Mrnjavac
058be8beb2
Ensure viewpages will have focus. To choose a focused widget inside it,
...
a viewpage should override void focusInEvent( QFocusEvent* ).
2014-11-10 12:26:03 +01:00
Teo Mrnjavac
fef448833e
And some more debug output readability improvements.
2014-10-30 17:36:56 +01:00
Teo Mrnjavac
f2f73b2e87
More meaningful debug output.
2014-10-30 17:30:13 +01:00
Teo Mrnjavac
aaa696f543
Even less debug noise.
2014-10-30 17:25:16 +01:00
Teo Mrnjavac
5b01925d99
Remove debug noise.
2014-10-30 16:26:54 +01:00
Teo Mrnjavac
8026a287d3
Shut up Qt lupdate warnings.
2014-10-29 13:06:52 +01:00
Teo Mrnjavac
519ba038cf
Fix build on Qt 5.4, again.
2014-10-28 18:30:37 +01:00
demmm
c84a98c23c
set option to select higlighted text color
...
keep it independent from background color, should make it easier to add a color section option to branding
2014-10-18 19:41:53 -04:00
Teo Mrnjavac
7594c85f2e
Add ImageRegistry support to Branding.
2014-10-16 16:57:52 +02:00
Teo Mrnjavac
5e8ab97de4
Actually load branding data from default component.
2014-10-16 16:15:31 +02:00
Teo Mrnjavac
2182918476
Groundwork for branding loader/manager.
2014-10-10 18:18:35 +02:00
Teo Mrnjavac
97cf2a796c
Load branding component name from Settings.
2014-10-10 18:13:02 +02:00
Teo Mrnjavac
9ebc881223
Prevent segfault on exit when module not found.
2014-10-07 16:07:28 +02:00
Teo Mrnjavac
13ccede630
Add new icons to CalamaresUtilsGui
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
41cb09ea01
Add ClickableLabel, a QLabel which emits the clicked signal.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
382317dcaf
Added WaitingWidget to libcalamaresui, wrapper for QtWaitingSpinner
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
b14a715300
Add icons to qrc.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
14130ae9c0
Only allow a ViewStep to change next button status if it's active now.
2014-09-01 12:49:24 +02:00
Teo Mrnjavac
2182fd2f0c
Add info and fail icons to libcalamaresui.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
d97bb47f09
Add proper QResrouce system to libcalamaresui, finish up prepare checks
...
This also adds ImageRegistry, a SVG cache, a bunch of utility functions
for shared pixmaps in CalamaresUtilsGui and renames several qrc files
in viewmodules.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
1bb6603998
Move spinner widget to libcalamaresui.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
7a3ce363b3
Add option to run process jobmodules in chroot.
2014-08-12 14:26:10 +02:00
Aurélien Gâteau
df89a391c4
Do not try to dereference m_viewStep if it's invalid
2014-08-09 09:10:26 +02:00
Teo Mrnjavac
f5b4de67c4
Properly load module config files with an explicit config path.
2014-08-07 18:05:46 +02:00
Teo Mrnjavac
5400afa540
Fix settings.conf loading.
2014-08-06 17:23:40 +02:00
Teo Mrnjavac
014469c849
Improve logging in Module.cpp
2014-08-06 16:16:25 +02:00
Teo Mrnjavac
8f10c21e5b
Big configuration overhaul.
...
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
2014-08-06 11:54:45 +02:00
Aurélien Gâteau
70a13fc588
Make logging more useful
...
- Do not log progress percent but log job names.
- Log install failures.
2014-08-01 17:26:18 +02:00
Aurélien Gâteau
5126458040
Disable "Next" button if isNextEnabled() of first step returns false
2014-08-01 10:29:41 +02:00
Aurélien Gâteau
90670f8b46
Improve formatting of error messages
2014-08-01 09:56:40 +02:00
Aurélien Gâteau
551a6ff9ba
Fix potential memleak
2014-07-30 22:37:05 +02:00
Aurélien Gâteau
03c5a38b90
Show a summary of the partition changes on the summary page
2014-07-30 14:17:14 +02:00
Aurélien Gâteau
e9da5cb6cb
Change signature of JobQueue::progress, add finished() signal
...
Now uses a qreal for progress instead of current and total
Also added a finished() signal because determining whether the queue is
finished should not be done by comparing a qreal with 1.0 as this is not
precise.
2014-07-23 10:58:08 +02:00
Aurélien Gâteau
b5b72855c3
Queue module jobs in the order they are listed in the "install" section of settings.conf
2014-07-22 16:54:34 +02:00
Teo Mrnjavac
d9f4c74537
Add support for config map to Python job API.
...
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
2014-07-18 14:36:30 +02:00
Teo Mrnjavac
2f03dfa43b
CalamaresPrivate ==> CalamaresPython
2014-07-18 14:36:30 +02:00
Teo Mrnjavac
c13179fdf0
Add debugMode bool to Calamares::Settings.
2014-07-17 19:42:16 +02:00
Teo Mrnjavac
50ba57a33a
Add optional Python jobmodules support to libcalamaresui.
2014-07-16 16:09:53 +02:00
Teo Mrnjavac
df9f803572
Actually load the additional config map into the ViewStep.
2014-07-15 11:29:21 +02:00
Teo Mrnjavac
b20eaaf4f8
Add setConfigurationMap to ViewStep with empty implementation.
...
Actual module ViewSteps can reimplement it to read their own module-
specific configuration.
2014-07-15 11:28:25 +02:00
Teo Mrnjavac
2ef5df314b
Make extra configuration map protected in Module.
2014-07-15 11:27:26 +02:00
Teo Mrnjavac
c7c4e52849
Load additional module-specific configuration into a Module object.
2014-07-14 18:10:48 +02:00
Teo Mrnjavac
3879087c4a
Add YAML to QVariant conversion to YamlUtils
2014-07-14 18:10:24 +02:00
Teo Mrnjavac
2dd88344e5
Instantiate the correct type of module from module.conf.
2014-07-14 14:29:24 +02:00
Teo Mrnjavac
1dca92947c
Add already loaded check to ProcessJobModule
2014-07-14 12:08:41 +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
2e47c248ac
Load modules by phase, in preparation for actually using new settings.
2014-07-11 14:40:15 +02:00
Teo Mrnjavac
a09ab36386
Better settings format, rename a bit of stuff in module loading.
2014-07-11 14:21:50 +02:00
Teo Mrnjavac
1b4d62ef4d
Add ProcessJobModule for loading external commands.
2014-07-10 17:11:03 +02:00
Teo Mrnjavac
8d36a13d92
Style fix.
2014-07-10 16:37:02 +02:00
Aurélien Gâteau
165d28fc23
Abort installation when a job fails
2014-07-10 14:47:06 +02:00
Teo Mrnjavac
7894bb9462
Module type Core ==> Job, plus const correctness.
2014-07-10 12:27:53 +02:00
Aurélien Gâteau
04743eb4be
Basic JobQueue implementation
2014-07-08 19:21:55 +02:00
Teo Mrnjavac
c339ac8cfc
Add status info to Summary page. Still needs work to make it nice.
...
Also added onActivate/onLeave to ViewStep and ViewManager.
2014-07-08 18:28:27 +02:00
Aurélien Gâteau
4fe50d4569
Add InstallationViewStep::jobs()
2014-07-08 15:51:45 +02:00
Aurélien Gâteau
57d89175dc
Merge branch 'master' into wip/install-step2
2014-07-08 15:50:03 +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
b98c071f94
Prepare for late enqueuing of jobs to the JobQueue.
2014-07-08 14:03:06 +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