774 Commits

Author SHA1 Message Date
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
0f1bfbf6a5 tvplanit: Activate drag and drop from DayView to WeekView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-03 17:41:24 +00:00
ab1d9ee4dc tvplanit: Fix mormotdemo not being updated after changed dataset.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5125 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 23:28:09 +00:00
dfe9715d19 tvplanit: Increment package version number to 1.05. Check commandline of mormot full demo for option -noserver to run the demo without the RESTserver.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5124 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 20:01:44 +00:00
395e3f20ed tvplanit: Add a mORMot variant of the full demo (based on code kindly provided by DonAlfredo).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5123 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 17:58:47 +00:00
d582c8663f tvplanit: Simplify linking of runtime created datastores to dependent controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5121 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 16:31:27 +00:00
e45bb283df tvplanit: Fix Lazarus crashing if datastore is deleted from a form containing a MonthView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5120 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 14:35:14 +00:00
433408c2f1 tvplanit: Modify vpdata for usage of RTTI (patch by DonAlfredo, thanks)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5116 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-01 09:56:46 +00:00
bb378f95b0 tvplanit: Fix incorrect hour being displayed after midnight in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5109 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-28 09:35:10 +00:00
0ea05db2ba tvplanit: Fix DayView getting into DragMode after double-click (Patch by DonAlfredo).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5105 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-26 15:45:53 +00:00
ea6895c8e3 tvplanit: Add drag&drop of events (patch by forum user DonAlfredo). Update maindemo. Fix memory leak in button width calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5103 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-26 13:33:45 +00:00
f855db7597 tvplanit: Fix typo in Linux version
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5087 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-13 14:38:58 +00:00
2b62d25c84 tvplanit: Once more..., now without AnchorSides (do not seem to work correctly).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5086 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-13 14:36:59 +00:00
cdd3e42006 tvplanit: Fix Linux button issue in Element editor, another attempt.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5085 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-13 14:01:04 +00:00
52d878d48f tvplanit: Fix button anchors in Element editor for Linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5084 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-13 13:37:16 +00:00
df1f7bda09 tvplanit: Reverse order of OK and Cancel buttons for Linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5083 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-13 12:24:22 +00:00
1276eb57b8 tvplanit: DPI-aware font sizes of planner controls.
Publish some missing inherited properties of VpCalendar
Move "GetTimeFormat" from FullDemo to unit vpmisc.
Remove some hints/warnings.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5078 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-08 18:29:24 +00:00
d961a31803 tvplanit: Trying to get high-dpi correct (many changes)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5077 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-06 22:18:53 +00:00
82f445a910 tvplanit: Make properties Achors, BorderSpacing and ChildSizing available for TVpResourceCombob and TVpPrintFormatCombobox. Improved, high-dpi aware layout of print preview form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5076 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-05 22:34:24 +00:00
a6b21a6783 tvplanit: Add Lazarus urls to AboutBox.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5070 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-03 16:35:20 +00:00
d5fb5a417e tvplanit: Fix ini datastore not being connected if AutoConnect=true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5065 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-01 19:41:27 +00:00
670cc99cf1 tvplanit: Unpublish ini datastore property Connected (was forgotten in r5034). Fix related for reading error ini datastore demo. (Demo is not working, though).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5064 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-01 18:54:43 +00:00
9bf2b8f260 tvplanit: Add tutorial sources (see wiki). Improved painting of "today" in MonthView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5062 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-01 17:09:52 +00:00