Commit Graph

352 Commits

Author SHA1 Message Date
8c61a32a6f Fix problems with quote and apostrophe 2012-05-12 10:28:16 +02:00
669532d385 Fix bugs :
* QString::number use scientific format, si it's invalid for numbers > 1 000 000. We need to use v.sprintf("%d");
	* Accounts and categories where badly mapped during import
	* Fix cost not taken in account during import
	* Forbid empty account name and empty category name
2012-05-12 09:56:33 +02:00
f1661e315c Change message for new users
Fix a bug : updating operations doesn't work
2012-05-06 11:40:13 +02:00
34a36199a2 Use oxygen icons 2012-05-05 19:22:38 +02:00
c565c7740d Show hidden accounts at the end in the list
Simplify statistics computation in AccountPanel
Don't take in account simple credit on blocked accounts
2012-05-05 16:49:24 +02:00
aff6e14072 Show january when loading year != curYear and not curMonth 2012-05-01 10:30:08 +02:00
3f428ab7c2 Forbid database upgrade from version 2 to version 3
Always display date in insertion and fix a bug in day display
2012-05-01 10:25:19 +02:00
aafc26c768 Replace NULL by 0 2012-04-30 21:22:52 +02:00
7c932e4f75 All Values are now in fix point 2012-04-30 21:15:51 +02:00
12cc163459 Update database schema
Update translations
Don't multiple account_amount at startup
Use INERT or REPLACE in queries
2012-04-28 12:25:17 +02:00
20245fec2e Fix bugs in UpdateNextMonths 2012-04-28 12:23:50 +02:00
deddbc040c Close SnapshotsDialog when database restaured and fix a bug : forgot to delete panel in wxUI::LoadPanels 2012-04-28 10:55:04 +02:00
43bf2da1f5 Fix a bug : Can't hide default account 2012-04-28 09:23:38 +02:00
951c41a5f7 Forgot a static inModification in PreferencesPanel 2012-04-27 21:59:25 +02:00
691b1a603b Input dialog was in top left of screen, set it to center 2012-04-27 21:38:30 +02:00
2e468c14b4 Account/Category modification are immediatly reported in other panels 2012-04-27 21:37:51 +02:00
ac7deb340c New users have system language chosen instead of english 2012-04-27 20:44:33 +02:00
8c4ee64111 Forgot some try/catch os user GetAccount*/GetCategory* 2012-04-27 20:24:22 +02:00
993e6b1759 Fix a bug : buttons doesn't disappear on KillMe 2012-04-26 20:59:01 +02:00
28bb4c49f0 Fix bugs:
* Database creation failed
	* UsersDialog shown on new user
2012-04-26 20:45:01 +02:00
bfd16a6540 Better auto completion for transfert operation (not two times the same operation completed) 2012-04-11 19:28:35 +02:00
9991415e2c Fix a bug : month & year changed when AccountPanel is re created (wxUI needs update) 2012-04-01 11:19:27 +02:00
62541cbe2e Fix a bug : bad selected language in PreferencesPanel 2012-04-01 10:49:39 +02:00
85e891bfd1 Fix a bug : Français incorrectly spelled 2012-04-01 10:35:29 +02:00
a3dc4deff1 Display date in locale format
Add GetLocale(), GetDateFormat() and FormatDate()
2012-03-27 21:12:55 +02:00
e273303dcd Add Snapshot feature
Add ChangeDatabase() method
Add GetDatabaseHome() and GetDatabaseFile()
2012-03-20 20:57:45 +01:00
391dc12304 Fix a bug : Categories were not translated in GridAccount 2012-03-20 14:50:37 +01:00
223106fbfc Set x axis label to "days" in StatsPanel for in-month stats 2012-03-20 09:34:30 +01:00
f5f787aeec Fix a bug, forgot one i++ in StatsPanel
Don't rotate labels if it's day number in StatsPanel
2012-03-16 13:08:15 +01:00
b114fff9e0 Solve bug of completer in GridAccount 2012-03-11 20:40:07 +01:00
c1a612b7ec Fix BDD path (Linux and Win32) 2012-03-11 18:02:54 +01:00
e4ec79b9df Fix a bug : in month stats segfault 2012-03-11 17:54:42 +01:00
d0d0304ce4 Set completion inline due to a bug in Qt for popup mode 2012-03-11 09:04:29 +01:00
26829fcb6a OFXImportEngine compilation fails (win32) 2012-02-29 21:00:55 +01:00
bb1df8296b Add win32 directory (for compatibility) 2012-02-29 20:58:30 +01:00
4addfc99d5 Fix a bug : try to find parent on a NULL operation in TabDelegate 2012-02-28 11:02:34 +01:00
88e06dacce Add auto-completion for description field in GridAccount 2012-02-26 21:16:45 +01:00
37626b09e1 Use ~/.local/share/kisscount instead of ~/.kisscount for default database location 2012-02-26 15:42:09 +01:00
83d144ca3c Add support for translations and update translations 2012-02-26 14:24:04 +01:00
4ea7efd178 Update StatsPanel : remove warning for hbox multiple parent 2012-02-26 14:23:49 +01:00
1b378924a3 Fix a bug : Childs where not linked during import 2012-02-26 08:59:59 +01:00
7440c632dd Add ImportPanel
Throw exception when category/account are not found in User
Fix a bug in GrisbiImportEngine with QDate::fromString
Try to search an account also with its name
Remove categories number limit (only used for pie color)
2012-02-20 21:27:51 +01:00
a590409f8f Work on import engines : remove libxml dependency in favor of QtXml 2012-02-19 17:14:36 +01:00
8128fe0008 Use QXml for export engine
Change import/export engine filter to Qt format
Qt doesn't add extension in its file dialog
Fix a bug : op was not correctly set by default in OnOperationModified (GridAccount)
2012-02-12 10:20:02 +01:00
9e1686bd6e Add lib/libkdchart 2012-02-11 14:34:29 +01:00
67e00fcaa1 Add ExportPanel and update Import/Export engines 2012-02-11 14:02:30 +01:00
b533ac0578 Connect signal for language change in PreferencesPanel 2012-02-11 12:48:19 +01:00
1675b9abee StatsPanel OK 2012-02-11 11:40:09 +01:00
41abf4a827 Work on StatsPanel (2) 2012-02-11 10:47:09 +01:00
c05fbb95f6 Work on StatsPanel 2012-02-05 15:54:09 +01:00
3fe6d0ad28 Fix a regression : only first month was shown at startupt (not current)
Display all categories in chart (AccountPanel)
Fix a bug : curDate was wrong if you come back from another month to current month
2012-02-04 13:43:01 +01:00
37f03a1da0 See previous commit 2012-02-01 12:43:43 +01:00
329ea9ef5d Add "hidden" attribute to account
Change database version in 3
Update all if there is a modification (checkboxs on PreferencesPanel)
Move Database_Update.cpp in DatabaseUpdate.cpp
2012-02-01 12:41:57 +01:00
1e4f696162 Update copyright 2012-02-01 11:02:54 +01:00
7bef9dd5b0 Fix two bugs : New date was not set in grid after operation validation and new group name was not saved 2012-01-30 20:54:04 +01:00
292591c098 Fix a bug : date wasn't set for last NULL operation 2012-01-29 11:41:51 +01:00
fe2e6c4bf4 Forgot to connect calendar change signal 2012-01-29 11:34:52 +01:00
c78b88b387 Fix a bug : previous year loading does something worse 2012-01-29 11:18:55 +01:00
973032f51c Now use libkchart for charts, delete old pieview and replace it 2012-01-28 15:53:58 +01:00
a71638ace6 Work on PreferencesPanel and fix a bug in Database (bad request for AddOperation) 2012-01-07 09:21:22 +01:00
fda8f32fd7 Finalize PreferencesPanel 2011-12-18 15:04:59 +01:00
649bdb32c7 Add PreferencesPanel (incomplete) 2011-12-18 13:51:04 +01:00
9b0222323a Change int in double for Search
Add SearchBanner & Search Pannel
Enable MassUpdate
2011-12-03 11:23:55 +01:00
7b8f6edff5 Fix two bugs :
* ESCAPE_CHARS and UNESCAPE_CHARS were incomplete
    * Enable utf8 for widgets
2011-11-16 15:47:49 +01:00
76f7a70d1e Fix bugs in group and ungroup 2011-11-06 10:47:16 +01:00
c94bf51007 Factorize some code in GridAccount
Set default font for everybody
Fix a bug in DateDelegate (bad month)
Fix a bug in GridAccount : Tab added for sub operations when saving
Fix a bug in GridAccount : credit was considered as a debit
2011-11-05 18:28:05 +01:00
63b235d8db Move check modification processing in OnCheckClicked() 2011-11-01 18:12:11 +01:00
6c4ee9dec3 Add Delete operation in GridAccount
Fix a bug : Forgot to update stats when there is a modification
2011-11-01 18:01:17 +01:00
a9bcdcc733 Enable operation modification in GridAccount
Fix a bug : Fix category in choices of normal operation
Fix a bug : bad request in Database.cpp
Fix a bug : bad month in calendar
Add a 5th week for black line
2011-11-01 16:17:20 +01:00
ab27c553a8 Use QFrame instead of QScrollArea for panels 2011-10-31 10:56:46 +01:00
29c1f6b9ba Disable interface when generating month
Fix a bug in generate month
2011-10-31 10:39:46 +01:00
6c0c04cad5 Implement Delete operation in AccountPanel contextual menu
Fix a bug in a SQL request
Use nbCategories in AccountPanel to prevent buffer overflow
2011-10-31 10:24:05 +01:00
739ac0cbc2 Implement GenerateMonth function 2011-10-31 09:15:37 +01:00
c2b6aea35a Add Generate Dialog & Contextual menu in AccountPanel
Fix a bug in year loading
2011-10-31 09:14:40 +01:00
4441ea1810 Enable account initial value modification
Fix a bug : accounts table header reset in InitAccounts
2011-10-30 09:27:03 +01:00
42b1b3b85d Handle month change in treeview 2011-10-24 21:05:12 +02:00
f035692ea3 GridAccount rendering is now like wxWidgets GridAccount 2011-10-22 13:13:57 +02:00
34112f7762 Fix some typo bugs in Database query
Add Group/UnGroup/UpdateNextMonths buttons
Display correct title in AccountPannel
2011-10-22 11:37:35 +02:00
c5cec6c9d6 Add meta support in GridAccount
Add TabDelegate
2011-10-22 10:55:34 +02:00
2243f0a1cf Modify operations in FormulaDelegate
Add "+" button in GridAccount
2011-10-22 09:57:20 +02:00
aa47adb791 Add FormulaDelegate 2011-10-20 17:29:22 +02:00
5bea328b8d First work on grid 2011-10-20 11:11:59 +02:00
ea054b48ad Add pieview 2011-09-21 20:47:54 +02:00
ae4a0eb7ac Add stats 2011-09-13 21:39:22 +02:00
98513c1ca9 Add calendar to AccountPanel 2011-09-06 19:47:02 +02:00
fc9b06c507 Work on AccountPanel : add treeview 2011-09-04 21:01:32 +02:00
633bd15fdd Enable panels mechanism 2011-09-04 19:25:53 +02:00
f6e0f92ad7 Work on wxUI and UsersDialog 2011-09-04 11:21:30 +02:00
e6ff989bfa Fix compilation issues 2011-09-03 20:40:21 +02:00
db46080b50 Users Dialog OK 2011-09-03 10:38:36 +02:00
658ec606ed First runnable version 2011-08-27 18:35:36 +02:00
991486a042 First pass 2011-08-25 17:45:41 +02:00
ed6a7a5fef Rename header files in .hpp 2011-08-20 14:02:47 +02:00
ad29793f8c Clean header includes 2011-08-20 11:43:12 +02:00
6dcb006de9 Last account/category wasn't taken in account during search 2011-08-16 20:30:04 +02:00
fc3093d176 Last account/category wasn't taken in account during search 2011-08-16 20:28:22 +02:00
a4179804be Use std algorithme in view/grid 2011-08-16 18:54:24 +02:00
08ba72664c Use class enums and constants rather than global enums and define
Fix a bug : virtual transferts must not be considered as a debit
2011-08-16 18:22:35 +02:00
6d0fe8ec7b Move wxGridCellStartEditor into view/grid 2011-08-15 09:48:48 +02:00
5b9487b490 Use C++ std algorithms in controller
Use methods from User instead of directly modify attributes
2011-08-14 21:03:48 +02:00
8d7a019ca7 Use std C++ algorithmes in model 2011-08-14 19:26:54 +02:00
6596097f72 Creates operator() for Account and remove sortAccounts 2011-08-14 18:29:18 +02:00
bf25a10326 USe struct instead of class for data types 2011-08-14 18:21:26 +02:00
43b2b3ccf6 Use extern "C" for sha1 2011-08-14 17:53:30 +02:00
66a60bf7a6 Use '0' instead of NULL 2011-08-14 17:47:16 +02:00
f8f108ea8b Enhance size of description field
Change "remains" in "balance"
Fix a bug in language settings
2011-08-06 17:34:26 +02:00
90a6659a84 Enhance size of description field
Change "remains" in "balance"
Fix a bug in language settings
2011-08-06 17:30:16 +02:00
dd0882c439 update version 2011-07-24 17:11:03 +02:00
753b499b48 Add XMLImportEngine
Fix some bugs in ImportPanel and ImportEngines
2011-07-04 20:23:00 +02:00
ebe9ef4a62 Some modification where not commited previously ??? 2011-07-03 07:56:48 +02:00
40ca2a0f25 Add (XML) Export engine
Add Export Panel
Factorise SearchBanner
Bug fix :
 - (Import/Export engines initialization)
 - virtual field not set in Search method
 - when deleting on search results
 - Auto completion now does not require date
2011-07-02 16:39:32 +02:00
8c5fab48f2 Fix a bug (d\'ont check date for auto completion) 2011-06-18 11:43:02 +02:00
557037f397 Bug on precedent commit 2011-06-16 19:23:22 +02:00
6fae41b4e8 Add "non fix" category to statistics (sum of all non fix categories) 2011-05-28 19:31:42 +02:00
33a2cd1f0c Change charts and real/virtual mode position 2011-05-28 10:24:02 +02:00
8f5a651c5b Add update next months feature 2011-04-30 12:37:16 +02:00
2713ab5247 Update translations 2011-04-26 21:04:14 +02:00
f7f0482521 Don't display virtual values in check mode 2011-04-26 20:58:11 +02:00
c69621c2fe Add unresolved categories in ImportPanel
Fix two bugs :
Don't take in account unknown categories (in stats)
Don't try to draw more than MAX_CATEGORIES (12) in charts
2011-04-25 19:55:31 +02:00
ec3fa8d7d5 Use Account structure in ImportEngine instead of simply id for unresolved accounts (more information can be given)
Remove "Operating expenses" default category and add "Car" in replacement
2011-04-25 17:36:58 +02:00
1fd9c73587 Add Grisbi import (need to work on categories) 2011-04-23 20:16:31 +02:00
7533319ad4 Add EnterPressed handled in UserDialog and Search (for description) 2011-04-09 19:22:32 +02:00
d6ade299e3 Display virtual accounts at the end
Fix a bug in LonkOrUnlinkOperation (when year was not previously loaded)
Translate categories in PreferencesPanel
2011-04-03 19:11:34 +02:00
d0b537d6c9 Fix a bug : Search for previous operation failed 2011-03-25 19:36:21 +01:00
35f660b234 Functionnal version of ImportPanel 2011-03-23 20:35:29 +01:00
6da33cbe35 First pass for imports (with OFX imports) 2011-03-20 19:08:24 +01:00
d2f23fd6a0 Temp commit 2011-03-13 19:22:17 +01:00
2c56271e1b Temp commit 2011-03-13 19:15:21 +01:00
6a20953757 Add Debian packaging 2011-03-06 17:20:42 +01:00
7f08ad06ea First attempt to make a Debian package 2011-03-05 12:26:35 +01:00
9e53f9b73d Try another cursor 2011-02-24 21:00:52 +01:00
5451d3c4ce Fix a bug with categories (again)
Disable interface during mass update (cursor not changed :()
Resize search icon
2011-02-24 20:59:30 +01:00
16e90b8fc0 Database is now at ~/.kisscount/kc.bdd 2011-02-20 14:22:31 +01:00
46df6c01d3 Bug with categories translation 2011-02-19 20:30:52 +01:00
8792ac2a8e Add Real mode 2011-02-19 13:41:59 +01:00
4cb57641d8 Take in accountt debit for virtual operations (and forgot them on check mode) 2011-02-17 19:48:27 +01:00
92252f33c3 Searchs aren't case sensitive enough. Default categories in native language (even if switching language at runtime) 2011-02-15 19:17:18 +01:00
bf417a503d Add virtual accounts (potential bugs) 2011-02-14 20:56:59 +01:00
c03562851a Possibility to work on multiple operations (rename, change category, change account)
New database version (2) :
		fix_cost for categories
		virtual account
2011-02-13 19:30:12 +01:00
142837b59e Bug in previous commit 2011-02-10 20:04:33 +01:00
ab176b9fc3 Possibility to find operations with unknown category/account 2011-02-09 21:36:29 +01:00
aec66e7212 Bugs on precedent commit 2011-02-09 20:50:21 +01:00
2b07cb0b30 Possibility to choose a replacement when delete accounts and categories 2011-02-08 21:17:35 +01:00
37a199ead2 Little adjustement concerning _() macro (maybe it s a compiler problem) 2011-02-06 09:07:57 +01:00
Grégory Soutadé
0c344a0273 Add Windows specific code 2011-02-05 21:02:03 +01:00
bd4809042b Use a sizer for menu generate 2011-01-29 21:01:01 +01:00
1151daf861 Show stats for current month even if next month has not been generated
Bug : Update all panels after generating/deleting month
2011-01-29 20:53:44 +01:00
a2990ede8a Forgot to remove font when deleting category 2011-01-29 16:43:00 +01:00
8a22ed135a Update Copyright 2011-01-29 13:04:15 +01:00
9985412790 Categories fonts not updated for new category
New category had read only fields in PreferencesPanel
Scrollbar for PreferencesPanel
2011-01-29 12:24:07 +01:00