Commit Graph

23 Commits

Author SHA1 Message Date
Teo Mrnjavac
90b156f97f PluginFactory in Keyboard module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
94a1f44fd7 Initialize all members and use nullptr instead of 0. 2015-06-13 21:33:20 +02:00
Teo Mrnjavac
9bded2dcfc Initialize all members. 2015-06-13 21:33:00 +02:00
Teo Mrnjavac
654bc9f471 Add debug output to SetKeyboardLayoutJob.
CAL-206 #comment I've just pushed some debug output to master, could you please test again and post a new log?
2015-04-03 15:04:24 +02:00
Gormogon
e2d05cb9f2 Align Pointers 2015-02-25 19:57:19 -05:00
Gormogon
9ef5f581a3 Update 'kbd-model-map' from Upstream 2015-02-18 10:06:37 -05:00
Teo Mrnjavac
171248ad4f Add isBackEnabled checks to all ViewSteps. 2015-01-29 22:46:07 +01:00
Kevin Kofler
9b75999706 keyboard: Preselect the current keyboard layout variant. 2014-12-05 02:25:08 +01:00
Teo Mrnjavac
52a1a28696 Fix focus handling in Keyboard page. 2014-11-26 18:56:09 +01:00
Teo Mrnjavac
688cc8f798 Use Retranslator in KeyboardPage. 2014-11-11 15:46:49 +01:00
Kevin Kofler
3e9de2a05a keyboard: Allow absolute paths for the xOrgConfFileName setting.
This should ensure it works on all distributions.
2014-11-11 14:59:30 +01:00
Kevin Kofler
86d51b4a9c keyboard: Pass settings directly, not through GlobalStorage.
Pass the settings from keyboard.conf directly to the
SetKeyboardLayoutJob rather than through GlobalStorage.
2014-11-11 14:37:05 +01:00
Kevin Kofler
2fec6e3202 keyboard: kbd-model-map: Add link to the original.
In particular, to the upstream git log for the file.
2014-11-11 14:04:21 +01:00
Kevin Kofler
bfdcf0dbc0 keyboard: Coding style fixes. 2014-11-11 13:57:08 +01:00
Kevin Kofler
4f9f7d7858 keyboard: Write the keyboard model and layout settings to the root mount point.
This is implemented as a new SetKeyboardLayout job that does the work.

Portions of the code are adapted from systemd-localed's source code,
which is under a compatible license (LGPLv2.1+, can be converted to our
GPLv3+ license). I ported it from C to to C++/Qt and made some minor
tweaks to the mapping logic (from X11 to vconsole layouts) though.

Fixes #31.

Tested on a Fedora Remix (Kannolo 21) with the default module settings
(finds the converted X11 keymaps for the virtual console) and with
convertedKeymapPath: "" (does the legacy keymap conversion as expected).
2014-11-11 04:48:03 +01: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
83ad1fae0e Debug output in keyboard viewmodule. 2014-08-06 15:37:21 +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
Teo Mrnjavac
cc2e49c6ae Store keyboard layout information in GlobalStorage. 2014-08-01 12:42:34 +02:00
Aurélien Gâteau
75a5bdac60 Fix fuzzy edges around keys (and a warning) 2014-07-30 14:17:14 +02:00
Teo Mrnjavac
e622fe4f99 Add prettyStatus to Keyboard module. 2014-07-08 18:28:28 +02:00
Teo Mrnjavac
b98c071f94 Prepare for late enqueuing of jobs to the JobQueue. 2014-07-08 14:03:06 +02:00
Teo Mrnjavac
7a99214ddb New keyboard viewmodule, based on the one from Manjaro's minst. 2014-07-04 15:33:59 +02:00