Commit Graph

64 Commits (master)

Author SHA1 Message Date
tastytea 733aad9903
Remove xdgcfg dependency by copying it into this repo. 2021-12-24 16:10:15 +01:00
tastytea 3a8b8c715a
Fix translation loading.
https://www.kdab.com/fixing-a-common-antipattern-when-loading-translations-in-qt/
2020-07-09 13:22:17 +02:00
tastytea 3ed5d3ce0d
Set to blocked by default if account is added via drag & drop. 2019-01-16 15:49:36 +01:00
tastytea 59466c5f9e
Delete all selected rows, not just half. 2019-01-15 01:37:55 +01:00
tastytea 2acd37bcce
Made "reason"-header is always 125px wide.
Because it stretches all the way to ther right anyway.
2019-01-14 20:50:14 +01:00
tastytea ccf31d072e
Changed search method from eventFilter to textChanged-signal.
The search is also updated if one of the checkbuttons is clicked.
2019-01-14 20:45:22 +01:00
tastytea daefd245f0
Refactored the QT interface. (#12) 2019-01-14 15:45:05 +01:00
tastytea 1a99bf1ded
Bugfix: Do not perform a search if mouse enters text field. 2019-01-12 22:14:04 +01:00
tastytea fd951ed502
Deleted text interface. 2019-01-12 21:28:29 +01:00
tastytea d9065280ea
Let the Database-class handle the data. 2019-01-12 21:24:09 +01:00
tastytea 0fdaad70ee
Only reload database on start and when the reload button is clicked. 2019-01-12 20:37:43 +01:00
tastytea 0f13bc8d9b
Rewrote QT interface to use new database interface. 2019-01-12 19:35:24 +01:00
tastytea 54919796d7
Rewrote database interface.
It is a class now and has a saner return type, a struct.
2019-01-12 18:18:49 +01:00
tastytea 165e9039a7
Added more warnings for debug builds, removed superfluous consts 2019-01-12 17:39:20 +01:00
tastytea f29e180092
Update search results if focus enters text field.
With this change, the search results are updated if text is dragged
into the text field.
2019-01-11 23:09:11 +01:00
tastytea eab650d6dd
Added settings for checkboxes in find-widget. 2019-01-11 21:13:45 +01:00
tastytea dd83e11338
Added find function 2019-01-11 20:50:22 +01:00
tastytea 89eef7247a
Added find action (without function). 2019-01-11 18:58:20 +01:00
tastytea 540877fb75
Removed error report via statusbar, added error reporting via message box. 2018-12-06 15:32:28 +01:00
tastytea 5163b4adbb
Implemented saving and loading settings
Visibility of toolbar, toolbar location, size of window, width of
table headers. Fixes #6
2018-11-03 12:59:49 +01:00
tastytea 0458ef2d8d
Added shortcut to add dialog: Del deletes selected receipt 2018-11-02 12:04:29 +01:00
tastytea 9cc5af5142
Added drop-support to add dialog (closes #8)
If text is dropped in the add dialog, a receipt is added with that
text.
2018-11-02 12:00:51 +01:00
tastytea f6ff77571d
Added drop-support to main window (issue #8)
If text is dropped on the main window, the add dialog pops up with the
user/instance field pre-filled.
2018-11-02 11:54:40 +01:00
tastytea 08de099a0a
Made heading of receipts-label translatable, added german translation 2018-10-25 07:36:58 +02:00
tastytea a6fe38af2f
Qt interface: Changed the icon names to lookup according to the Icon Naming Specification (bug #7) 2018-10-25 00:46:48 +02:00
tastytea e9be4a1e90
Refactored, cosmetic 2018-10-23 08:29:07 +02:00
tastytea 691292598a
renamed menus 2018-10-20 06:35:41 +02:00
tastytea b7c8c51486
Removed direct boost dependency 2018-10-20 06:06:41 +02:00
tastytea 6492271faf
Qt interface: Re-Added window title for toolbar
If you right-click on the toolbar or menu, you can enable/disable it.
The window title is used there.
2018-10-20 01:11:08 +02:00
tastytea b5cb58e612
Qt interface: Made keyboard shortcuts not translatable.
Turns out, they no longer work after translation.
2018-10-20 00:40:45 +02:00
tastytea 7fcfd3618f
Added icon 2018-10-20 00:34:00 +02:00
tastytea c856555df8
text interface: Switched back to default keys.
Translatable command keys were a mistake.
2018-10-18 22:45:58 +02:00
tastytea 8e55e14e49
typo 2018-10-18 21:36:00 +02:00
tastytea 2c38822243
Made translations possible for the text interface
Closes #5
2018-10-18 21:31:05 +02:00
tastytea ca723ef2f7
Removed leftover includes from testing 2018-10-18 00:50:56 +02:00
tastytea 77b93a367c
Added possibility to compile without GUI 2018-10-18 00:27:51 +02:00
tastytea 532e4ec95f
Qt: made translations possible, added german translation (#5) 2018-10-18 00:18:11 +02:00
tastytea f6e0b97e77
Added means to edit entries in the Qt interface
fixes #1
2018-10-17 20:44:58 +02:00
tastytea 6e57c4b6dd
Added means to edit entries in the text interface (#1) 2018-10-17 18:30:41 +02:00
tastytea 79bd6f7d01
Improved readability of the code
… by using the namespace "database" for functions that interact with the database.
2018-10-17 17:28:29 +02:00
tastytea 0f6de4d26e
typo, turned word-wrap on in receipts label 2018-10-16 22:37:11 +02:00
tastytea d2ad621d71
Changed name from whyblocked to Whyblocked 2018-10-16 17:41:44 +02:00
tastytea b1625d6de3
Qt: Made receipts-label tabable to improve use with screenreaders 2018-10-15 00:06:38 +02:00
tastytea 1283d81252
Qt: Added keyboard shortcuts for the add dialog 2018-10-14 21:24:28 +02:00
tastytea a444c3b966
Bugfix: Qt: After the first entry was added, the header names would be reset to 1, 2, 3 2018-10-14 05:18:44 +02:00
tastytea 5dbf23b018
Qt: Moved the signal-setup to the .ui-files, UI tweaks 2018-10-14 04:39:42 +02:00
tastytea 60df552d8e
Made the add entry dialog non-blocking 2018-10-14 03:53:30 +02:00
tastytea 768ba4d42b
Bugfixes: Don't name new receipts "Test", set window title for add entry dialog 2018-10-14 03:18:18 +02:00
tastytea a39005bed8
Added menu 2018-10-14 02:31:42 +02:00
tastytea c1e7f22157
Qt interface: Make it possible to add receipts (fixes #2) 2018-10-14 01:26:22 +02:00