Commit Graph

396 Commits

Author SHA1 Message Date
9a553e8b08 tvplanit: Improved positioning of hint window for contact grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-23 13:29:12 +00:00
b46c6f5ab2 tvplanit: Add property Layout to TVpWeekView for switching to horizontal arragement of days.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-23 11:40:39 +00:00
36e84f7ff5 tvplanit: Highlight selected day in WeekView (bold). Display holiday name in WeekView's day caption.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5201 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-23 08:56:12 +00:00
0e29ff0284 tvplanit: Add holiday support to WeekView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-23 08:41:52 +00:00
c5e93da15a tvplanit: Add holiday support to DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5199 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-22 23:12:16 +00:00
9d7234c2c0 tvplanit: Add holiday support to MonthView. Add holiday and weekend attributes to Monthview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-22 17:47:27 +00:00
f0957e08aa tvplanit: Refactor mouse events in GontactGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-22 08:23:30 +00:00
35f2a69be0 tvplanit: Use Style csDropdownList for PhoneType, EMailType and WebsiteType comboboxes in contact editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5191 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-20 11:45:53 +00:00
cf3d788bc2 tvplanit: Improvements in contacts hint display.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5189 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-20 09:54:00 +00:00
dcfee2e807 tvplanit: Add hint support for contact grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-19 22:58:13 +00:00
afebf9b206 tvplanit: Add code to zeos datastore to convert old tables (v1.04) to the new structure.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5183 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-19 20:57:45 +00:00
f66b612fbd tvplanit: Fix typos in file format conversion of xml datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5182 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-18 20:58:27 +00:00
27bb5c51fe tvplanit: Fix Firebird datastore missing commit after updating contacts table structure to current version.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5181 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-18 20:24:52 +00:00
0662015dbe tvplanit: Fix Firebird datastore not writing events, contacts, tasks after creation of a new resource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5180 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-18 16:51:51 +00:00
6a1b6b86de tvplanit: Fix duplicate storage of contacts (hopefully..). Remove unnecessary code from event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5179 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-18 16:32:15 +00:00
9b1bdfb9c9 tvplanit: Fix typo when saving 2nd website specification of contact
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5178 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-18 09:50:12 +00:00
385f836d7d tvplanit: Automatically update database of sqlite3 datastore if it was created by version 1.04.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5176 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-18 09:28:46 +00:00
9b3a6f6acf tvplanit: Automatically convert firebird datastores to new table structures.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5175 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-17 21:13:56 +00:00
243ad144b1 tvplanit: Move mormot full demo to mormot sample folder
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5173 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-17 17:30:13 +00:00
ecdb5f28de tvplaint: Fix FireBird datastore demo crashing after creating the DB.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5172 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-17 17:10:43 +00:00
824cbb6a59 tvplanit: Some refactoring of several date/time routines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-17 15:48:39 +00:00
b7aa833a11 tvplanit: Expose task priority and category in task editor. Update translations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-17 15:14:53 +00:00
05aad697c4 tvplanit: Remove new field PathToPhoto (too complex), add new contact field Department. Update Contact editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5169 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-16 23:42:31 +00:00
378b2802b5 tvplanit: Add new fields to zeos datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 21:32:42 +00:00
226fa2e900 tvplanit: Add new contact fields to xml datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5167 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 21:26:29 +00:00
7b7a2ef242 tvplanit: Fix ini datastore crashing when reading an old file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5166 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 20:55:30 +00:00
e6b2345010 tvplanit: Implement new contact fields for ini datastore (-> new file structure).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5165 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 20:27:13 +00:00
f8435f112c tvplanit: Add new fields (email1..3, website1..2, address1..2, pathtophoto) to contact records. Update some demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5164 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 11:40:14 +00:00
f436b26383 tvplanit: Fix fulldemo with resource groups crashing due to nil resources.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5161 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-14 22:39:33 +00:00
75ccd9a393 tvplanit: Add hint support for dayview. Use localized strings in event hints. Add HintMode (event hints or component hints).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5157 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-12 22:25:34 +00:00
29e9841d1b tvplanit: Refactor MonthView painting code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5156 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 23:08:34 +00:00
274284fc51 tvplanit: Add hint support to MonthView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 21:43:26 +00:00
cf011258e6 tvplanit: Show hints for events in weekview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5154 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 17:53:51 +00:00
30ece2b296 tvplanit: Improved assembly of event text in WeekView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5153 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 13:46:45 +00:00
cd23d554eb tvplanit: Add property ShowDetails to resource groups in order to control the level of detail visible for overlayed events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5152 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 13:35:19 +00:00
ad82eacee5 tvplanit: Fix new events initially being displayed as overlayed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5151 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 08:23:51 +00:00
8b0e5c6f3e tvplanit: Use resource description if resourcegroup caption is empty.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 08:14:11 +00:00
54087cb1f1 tvplanit: Fix crash (with heaptrace on) due to incomplete Notification. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5149 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 20:26:10 +00:00
1f82493afa tvplanit: Add brush pattern to resource group. Remove duplicate resourcestrings. Clearer context menus by adding divider lines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5148 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 20:08:06 +00:00
7b4cfd3f6e tvplanit: Add ReadOnly flag to ResourceGroup to prevent editing of events in overlay mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5147 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 19:06:41 +00:00
e6b0f403d5 tvplanit: Improve assignment of resource group to resource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5146 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 18:27:50 +00:00
f1348844bf tvplanit: Add option for showing/hiding overlayed events to dayview and weekview context menu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 17:26:42 +00:00
981bf5d3a4 tvplanit: Show multiple resources in dayview (some issues).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 15:09:23 +00:00
07c3506c3a tvplanit: Initial implementation of TVpResourceGroups. Incomplete.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5143 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 14:19:31 +00:00
d98cf55ca3 tvplanit: Remove duplicate code in datastore RefreshXXX methods.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5142 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 13:47:46 +00:00
2899adfc3e tvplanit: Refactor datastore's LoadEvents (new method LoadEventsOfResource)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5141 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 12:32:15 +00:00
4ae3cd2751 tvplanit: Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 11:43:54 +00:00
5920c0bc2f tvplanit: Use TList sorting method for sorting resources, events, tasks and contacts. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5132 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-06 19:59:25 +00:00
2f73e71c1d tvplanit: Fix crash when deleting resources, fix full demo affected by this.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5129 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-05 14:04:22 +00:00
ad6930be1a tvplanit: Implement drag and drop from weekview to dayview and within itself.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5128 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-03 21:51:37 +00:00