28 Commits (e804ad2488a142604628fab3dd830020e9747d65)

Author SHA1 Message Date
Adriaan de Groot e804ad2488 [libcalamaresui] Rename enlarge()
- rename enlarge to ensureSize() and change the meaning from
  "make this much bigger" to "make sure this is displayed",
  which is easier on the caller to calculate.
6 years ago
Adriaan de Groot 94f5b13db0 [libcalamaresui] Restore previous DLLEXPORT names
- Different libraries should have different EXPORTs, so that
   you can IMPORT one while building the other. Reported (and
   kindly explained) by Kevin Kofler.
 - Stick to one header file, though.

While here, update copyright on file.
6 years ago
Adriaan de Groot aaa6f6bd55 [libcalamaresui] Drop UiDllMacro.h
- The scattering of DLL export macro's is kind of useless;
   there are several headers, and then the export macro isn't
   even applied consistently. Just drop the one for UI exports,
   which was only used in libcalamaresui.
6 years ago
Adriaan de Groot 00deeec8c8 [libcalamaresui] Use InstanceKey instead of strings
- Replace return type of Module::instanceKey() by the structured
   ModuleSystem::InstanceKey type
 - Chase API breakage
6 years ago
Adriaan de Groot d44e8f6115 [libcalamaresui] Apply coding style to viewpages/ 6 years ago
Adriaan de Groot 9331a25905 [libcalamares] Remove Typedefs.h
- This small header file contained a few unrelated typedefs.
   Move those typedefs to the classes they relate to. This
   **does** mean that some consumers need to #include something
   else instead.
 - Use type names more consistently.

Editorial: why are **pages** responsible for creating the jobs?
7 years ago
Adriaan de Groot 4fec6731ba [calamares] [libcalamaresui] Improve includes
- avoid useless ../
 - sort alphabetically and by kind
7 years ago
Adriaan de Groot 8cf3c217f7 Merge branch 'requirements-checking' 7 years ago
Adriaan de Groot c3d13e3451 [libcalamaresui] Add documentation to ViewStep methods 7 years ago
Adriaan de Groot 64ca9d0d5a [libcalamaresui] Document multi-page support. 7 years ago
Adriaan de Groot 6071489788 [libcalamaresui] Provide default implementations of next() and back()
- These methods are used for multi-page view-steps, which are rare.
   For all the others, just drop the empty implementation and defer
   to the base class.
7 years ago
Adriaan de Groot 08565b5f17 [libcalamaresui] Remove the signal done() from ViewStep
- The signal is emitted, generally from next(), but not actually used.
7 years ago
Adriaan de Groot a72bdfac52 Merge branch 'master' into requirements-checking 8 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 8 years ago
Adriaan de Groot b6fed964ce [libcalamaresui] Defer requirements checking of ViewModules to their ViewSteps 8 years ago
Adriaan de Groot 2d31e987c0 [libcalamaresui] Unrelated typedef for JobList 8 years ago
Adriaan de Groot c6297f1db5 Clang: warnings-- 8 years ago
Adriaan de Groot 73a75e837b Auto-resize the main window.
If the summary widget is large, it gets a scrollbar. This looks really
weird, so prefer to grow the installer window instead. Discussed with
@sitter and settled on this solution.

ViewSteps can signal the ViewManager that they need more space (in pixels),
which may or may not be honored.

FIXES #778
8 years ago
Adriaan de Groot a718eb76cb Docs: code-documentation about summary page 8 years ago
Teo Mrnjavac 17962179bd Documentation++ 9 years ago
Teo Mrnjavac 461ef79170 ViewStep should know their own instance keys. 10 years ago
Gormogon e2d05cb9f2 Align Pointers 11 years ago
Teo Mrnjavac 171248ad4f Add isBackEnabled checks to all ViewSteps. 11 years ago
Aurélien Gâteau 03c5a38b90 Show a summary of the partition changes on the summary page 12 years ago
Teo Mrnjavac b20eaaf4f8 Add setConfigurationMap to ViewStep with empty implementation.
Actual module ViewSteps can reimplement it to read their own module-
specific configuration.
12 years ago
Teo Mrnjavac c339ac8cfc Add status info to Summary page. Still needs work to make it nice.
Also added onActivate/onLeave to ViewStep and ViewManager.
12 years ago
Teo Mrnjavac b98c071f94 Prepare for late enqueuing of jobs to the JobQueue. 12 years ago
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.
12 years ago