Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins
2024-04-26
| ||
13:39 | test_page_scene: Refactor create_card_with_pixmap() helper. Remove the document parameter. Make the pixmap color configurable, defaulting to transparent. Use the CardSize enum to determine the image size, instead of hard-coding the dimensions in pixels for oversized cards. Leaf check-in: b4e0cecc45 user: thomas tags: trunk | |
2024-04-23
| ||
07:04 | Merge fork Leaf check-in: 1057bac760 user: thomas tags: enum_based_paper_size | |
2024-04-22
| ||
09:11 | WIP test loading various page layout settings from a save file. check-in: 7e45dc12dc user: thomas tags: enum_based_paper_size | |
2024-04-21
| ||
18:58 | Sync with trunk check-in: dcacf3ca39 user: thomas tags: enum_based_paper_size | |
18:50 | Reduce diff size with trunk branch. Leaf check-in: 4f380d4f49 user: thomas tags: port_pyside6 | |
18:40 | Mostly whitespace changes to reduce the diff between trunk and the port_pyside6 branch check-in: b925736397 user: thomas tags: trunk | |
18:29 | Use the proper Qt enums in HoverEventFilter.eventFilter() check-in: 5c09339851 user: thomas tags: trunk | |
18:28 | Pull Ui compiler improvements and class name / ui class name alignment improvements from branch [port_pyside6]. check-in: 55b69bba3a user: thomas tags: trunk | |
18:19 | Merge fork. check-in: 9e133072a2 user: thomas tags: enum_based_paper_size | |
18:17 | Align the class names in Python code with the class names defined in the Ui files. check-in: 971c1c3a7e user: thomas tags: port_pyside6 | |
17:51 | Rename the About dialog class to AboutDialog, to be consistent with the definition in the UI file. check-in: 13bf15e37d user: thomas tags: port_pyside6 | |
17:47 | Fix linter warning in HoverEventFilter.eventFilter(). check-in: 663367cfd3 user: thomas tags: port_pyside6 | |
17:40 | Improvements to the UI file compiler: Generated type hinting stubs now contain relative imports for the used classes and annotations for method parameters. check-in: 60692d9b25 user: thomas tags: port_pyside6 | |
17:30 | Improve type hinting imports: Deduplicate the found class usages by using a set instead of a list. Closed-Leaf check-in: 1e5f88d658 user: thomas tags: improve_ui_compiler | |
17:27 | compile_ui_files.py: Use the class registry to locate used classes and generate type hinting imports for those during stub generation check-in: 0c82e96de8 user: thomas tags: improve_ui_compiler | |
16:59 | Improve generation of the class registry. check-in: 6623df7d89 user: thomas tags: improve_ui_compiler | |
16:14 | compile_ui_files.py: Build a class registry when creating type hinting stubs. It maps class names to FromImport statements. check-in: c383398645 user: thomas tags: improve_ui_compiler | |
15:55 | Improve generation of type hinting stubs: Annotate function arguments with types, instead of using the types as is as argument names. I.e. replace (self, TypeName) with (self, arg1: 'TypeName') check-in: 65ce03d4b6 user: thomas tags: improve_ui_compiler | |
15:09 | scripts/compile_ui_files.py: Re-order some definitions. check-in: 96b8bb7774 user: thomas tags: port_pyside6 | |
15:05 | Update the compile_ui_files script. De-duplicate the source and target paths by putting them into the global scope at the beginning of the script. check-in: 30d0af5b6c user: thomas tags: port_pyside6 | |
11:47 | test_document_loader.py: Further reduced boilerplate code. All tests now use helper functions _load_from_memory_database_expecting_success() or _load_from_memory_database_expecting_failure() to load data from an in-memory database. check-in: 0fa534983b user: thomas tags: enum_based_paper_size | |
11:19 | test_document_loader: Decompose a complex test into 3 separate tests. Refactor common code into re-usable functions to reduce boilerplate code. One test is still WIP. check-in: 6d155b36ad user: thomas tags: enum_based_paper_size | |
11:16 | test_document_loader: Reduce verbosity in test parameter generation. check-in: 256b338409 user: thomas tags: enum_based_paper_size | |
2024-04-19
| ||
13:23 | Use the correct PageSizeId for "Custom" paper sizes, instead of using -1. check-in: ada8ebbc94 user: thomas tags: enum_based_paper_size | |
13:22 | settings: Attempt at reading the default paper size from the default printer, instead of hard-coding it to A4. check-in: c42ccb2ecf user: thomas tags: enum_based_paper_size | |
13:21 | units_and_sizes.py: Extract the test if a page size is acceptable into a re-usable function. check-in: 4ed219c92d user: thomas tags: enum_based_paper_size | |
12:47 | units_and_sizes.py: Fix style warnings check-in: fcee8f673f user: thomas tags: enum_based_paper_size | |
10:15 | Use localized paper size names when displaying them to the user in the PageConfigWidget check-in: d3e883b2cd user: thomas tags: enum_based_paper_size | |
10:08 | Revert last change. The reverted code used potentially localized names as entries in the configuration file/save file, making both non-portable. check-in: 683811de76 user: thomas tags: enum_based_paper_size | |
2024-04-18
| ||
18:05 | Add changelog entry. check-in: be31f5895f user: thomas tags: enum_based_paper_size | |
15:56 | Use the paper size names obtained from QPageSize.name() as the string-representation of paper sizes. check-in: 3702a96bb0 user: thomas tags: enum_based_paper_size | |
15:44 | Move page size and orientation enum dicts from settings.py to units_and_sizes.py. check-in: 7278a372ee user: thomas tags: enum_based_paper_size | |
10:22 | PageConfigWidget: Implemented saving the page orientation to application settings, and highlighting the ui element when changed. check-in: dbf1d06107 user: thomas tags: enum_based_paper_size | |
10:17 | PageConfigWidget: Populate the orientation combo box, and implement loading the current state from the application or document settings. check-in: 0d66526b29 user: thomas tags: enum_based_paper_size | |
2024-04-17
| ||
21:33 | Settings: Add key paper-orientation to the documents setting. It stores if the document is in Portrait or Landscape mode. PageLayoutSettings: Add property page_orientation. Handle portrait/landscape handling in the page_height/page_width properties. check-in: a85dcd97a6 user: thomas tags: enum_based_paper_size | |
20:57 | DEFAULT_SETTINGS: Lookup the A4 paper size from the PageSizeReverse dict, instead of hard-coding the string value. check-in: ef86234f90 user: thomas tags: enum_based_paper_size | |
20:51 | settings: Refactor enum-reading code: Split logic for reading arbitrary enums inside PyQt classes from the post-processing code needed for the QPageSizeId enum. check-in: a6b5f1e0e1 user: thomas tags: enum_based_paper_size | |
19:56 | settings: Remove paper sizes that cannot fit a single oversized card. check-in: d4f31b50d2 user: thomas tags: enum_based_paper_size | |
19:41 | PageConfigWidget: Actually update the paper_size property in _on_paper_size_changed() check-in: 2af4de2732 user: thomas tags: enum_based_paper_size | |
19:30 | PageLayoutSettings: Use the static QPageSize.size() in the page_height and page_width properties. check-in: a5cfaea8af user: thomas tags: enum_based_paper_size | |
19:29 | PageLayoutSettings.to_page_size(): Add two logging lines. check-in: 4d083dbd11 user: thomas tags: enum_based_paper_size | |
19:22 | Actually validate and update the paper size setting when changed by the combo box in the settings UI. check-in: 849dec4ec2 user: thomas tags: enum_based_paper_size | |
2024-04-11
| ||
14:41 | PageLayoutSettings.to_page_layout(): Implement two code paths. One for predefined paper sizes and one for custom paper sizes. check-in: 925a1cf0e5 user: thomas tags: enum_based_paper_size | |
14:39 | settings: The PageSize lookup dicts now use QPageSize.PageSizeId, instead of QPrinter.PageSize. Both are semantically the same, but the type system requires the first. check-in: a9273cb70d user: thomas tags: enum_based_paper_size | |
14:38 | PageConfigWidget: Rename the custom page size widgets in the Ui class by adding the "custom_" prefix. check-in: 78b661a353 user: thomas tags: enum_based_paper_size | |
14:04 | PageLayoutSettings now returns the paper dimensions for non-custom paper sizes by querying the Qt QPageSize class. check-in: 6331013c55 user: thomas tags: enum_based_paper_size | |
13:56 | Update the verification logic when loading settings from a document to check the custom page dimension fields for valid values. check-in: 895a845bc5 user: thomas tags: enum_based_paper_size | |
13:54 | PageLayoutSettings: Rename page_height to custom_page_height and page_width to custom_page_width. Add properties page_height and page_width with setters, delegating to the custom values. check-in: e18dae2cdd user: thomas tags: enum_based_paper_size | |
13:38 | Add paper_size attribute to the PageLayoutSettings class. check-in: 9fa3c4bc86 user: thomas tags: enum_based_paper_size | |
13:28 | settings.py now uses the TypeVar from units_and_sizes.py check-in: ee79d80a1d user: thomas tags: enum_based_paper_size | |