Commit Graph

457 Commits

Author SHA1 Message Date
wp_xxyyzz
0fa334b610 tvplanit: Less hints and warnings (mostly UTF8-UTF16 related). Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 23:25:07 +00:00
wp_xxyyzz
841534c2cc tvplanit: Add new property TodayAttributes to MonthView (to highlight today). Refactoring of MonthView painting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 20:30:36 +00:00
wp_xxyyzz
20cc1e5d9a tvplanit: Add new property HeadAttributes to TVpMonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 19:13:00 +00:00
wp_xxyyzz
6fe57df55d tvplanit: Fix size & rotation of header bitmap in printed task list.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4980 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 17:54:33 +00:00
wp_xxyyzz
e93ddb5320 tvplanit: Fix calculation of scrollbar width for DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4979 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 14:01:29 +00:00
wp_xxyyzz
89e4cb68dd tvplanit: Improved positioning of hour:minute labels in dayview rowheader
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4978 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 13:16:55 +00:00
wp_xxyyzz
4fbe3969b5 tvplanit: Improved vertical text centering
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4977 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 12:29:06 +00:00
wp_xxyyzz
5596841466 tvplanit: Fix some font changes not being seen in OI
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4976 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 11:52:21 +00:00
wp_xxyyzz
bc766e06e1 tvplanit: Fix exception in fulldemo if demo.po is not found.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4972 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 23:04:23 +00:00
wp_xxyyzz
1a83bc7ed2 tvplanit: Rename "demo" to "fulldemo"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4964 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:33:52 +00:00
wp_xxyyzz
05ab266744 tvplanit: Move zeosdatastore example to datastores/zeos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4963 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:32:58 +00:00
wp_xxyyzz
aaea731231 tvplanit: Move sqlite3datastore example to datastores/sqlite3
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4962 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:32:05 +00:00
wp_xxyyzz
982357731e tvplanit: Move bufdsdatastore example to datastores/bufdataset
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4961 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:30:54 +00:00
wp_xxyyzz
e96ffc33dc tvplanit: Move xmldatastore example to datastores/xml
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:27:23 +00:00
wp_xxyyzz
f9f0bf4f5c Move inidatastore example to datastores/ini
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4959 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:26:02 +00:00
wp_xxyyzz
f45723d6cf tvplanit: Some clean-up, some cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:13:22 +00:00
wp_xxyyzz
bc4e7a1be7 tvplanit: Improvement of vertical alignment in various forms
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4956 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 15:26:55 +00:00
wp_xxyyzz
1c77c991c8 tvplanit: Some more improvements in vertical control positioning in event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4955 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 12:41:22 +00:00
wp_xxyyzz
91137d576a tvplanit: Improved button positioning
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4954 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 12:20:59 +00:00
wp_xxyyzz
de164297ab tvplanit: Less warnings in TVpTaskEditDlg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4953 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 11:18:59 +00:00
wp_xxyyzz
4a4c67106c tvplanit: Improved vertical alignment of controls in TVpTaskEditDialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 11:07:26 +00:00
wp_xxyyzz
9b7ab94f81 tvplanit: Improvements of event and contact editor at high-dpi, but still issues.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4951 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 09:40:54 +00:00
wp_xxyyzz
6eb49b9233 tvplanit: Improved vertical alignment of controls in contact editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4948 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 23:23:40 +00:00
wp_xxyyzz
5afdf2e289 tvplanit: Fix vertical arrangement of controls in event editor at > 96 dpi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 22:58:32 +00:00
wp_xxyyzz
350bb0cdd3 tvplanit: Fix writing of xml file by TVpXmlDatastore if ParentNode is empty.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 22:11:22 +00:00
wp_xxyyzz
f51e3d26b3 tvplanit: Again - fix height of category combobox in event editor at 120 dpi.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 22:07:36 +00:00
wp_xxyyzz
aba9d82e27 tvplanit: Fix height of category combobox in event editor at 120 dpi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 21:34:45 +00:00
wp_xxyyzz
0b95f7deb5 tvplanit: Remove dependence on LazColorPalette from laz_visualplanit (How did it get there?)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4943 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 20:51:01 +00:00
wp_xxyyzz
ccc2190dcc tvplanit: Fix ParentNode property of TVpXMLDatastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 19:48:35 +00:00
wp_xxyyzz
d616eba746 tvplanit: Less hints and warnings. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-12 18:00:32 +00:00
wp_xxyyzz
6517dc0e2e tvplanit: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4940 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-12 09:26:14 +00:00
wp_xxyyzz
4bd27ec6db tvplanit: Add XML datastore. Add sample project using it. Redesign datastore icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4939 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-11 21:13:57 +00:00
wp_xxyyzz
1061b3c4d1 tvplanit: Add dutch translation of demo (by JanRoza)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4938 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-09 22:41:46 +00:00
wp_xxyyzz
68bfbc02dc tvplanit: Add centimeters as new measurement unit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4937 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-08 11:05:54 +00:00
wp_xxyyzz
f0676bbd43 tvplanit: Fix shape editor not storing shape properties. Fix preview drawing page background using pen and brush of previous shape.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4936 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-08 10:43:54 +00:00
wp_xxyyzz
fb4a5f60f6 tvplanit: Translate shape editor. Fix pen and brush style combos. Auto-position controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4935 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-08 10:04:20 +00:00
alexs75
6df0384a65 tvplanit: fix russian resources
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4934 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-08 08:43:35 +00:00
wp_xxyyzz
b14a90efb7 tvplanit: In "demo" project, add menu item "Print" (not operational), update translations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4933 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-07 21:15:18 +00:00
wp_xxyyzz
57afcadf85 tvplanit: Translate element editor, auto-place controls
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4932 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-07 20:51:29 +00:00
wp_xxyyzz
38700edbf4 tvplanit: Translate PrintFormat item editor and auto-position controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4931 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-07 18:27:26 +00:00
wp_xxyyzz
574c68f4f8 tvplanit: Fix memory leak in TVpExCanvas.DrawRotatedText (temporary font not destroyed).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4930 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 21:59:58 +00:00
wp_xxyyzz
1c6dc6b123 tvplanit: Fix preview updating issue in print preview desinger.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4929 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 21:49:00 +00:00
wp_xxyyzz
ac3e014109 tvplanit: Fix print format designer to react on selecting a different format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4928 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 20:04:13 +00:00
wp_xxyyzz
0422946129 tvplanit: Translate print format designer form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4927 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 19:34:46 +00:00
wp_xxyyzz
18536b3f45 tvplanit: Cosmetic changes in VpEdFmtLst. Beginning to fix print format designer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4926 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 18:56:23 +00:00
wp_xxyyzz
4701336ffd tvplanit: Restore regular printing code in demo project. Automatic width detection of PrintFormatCombobox in PrintPreviewDlg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4925 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 14:23:45 +00:00
wp_xxyyzz
287ff93ba0 tvplanit: Add property Persistent to BufDSDatastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4924 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 13:41:17 +00:00
wp_xxyyzz
4472db6f34 tvplanit: Integrate sqlite3 datastore into main package (since sqlite3 belongs to standardLaz distribution). Update related demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4923 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 08:59:26 +00:00
wp_xxyyzz
12c7635a0f tvplanit: Add demo project "runtime" which works without installing the package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4922 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 08:24:17 +00:00
wp_xxyyzz
cea61bfbdf tvplanit: Fix building of package (automatic instead of manual)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4921 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 08:18:46 +00:00
wp_xxyyzz
3c9f3f57e4 tvplanit: Fix Dayview crashing IDE when inserted to form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 08:17:28 +00:00
wp_xxyyzz
7cfd38f300 tvplanit: Fix painting of DayView time slots for printer/print preview
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4919 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-06 06:10:58 +00:00
wp_xxyyzz
0b35252d3a tvplanit: Refactor painting of ticks and time labels of DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4918 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-05 22:21:02 +00:00
wp_xxyyzz
49161f56c1 tvplanit: Fix WeekView inplace editor sometimes picking wrong events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-05 10:20:36 +00:00
wp_xxyyzz
5370e6afa1 tvplanit: Fix all-day events in WeekView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-05 08:42:08 +00:00
wp_xxyyzz
7e44228076 tvplanit: Extract procedure DrawBorders from DayViewPainter's RenderToCanvas method. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4915 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 22:09:42 +00:00
wp_xxyyzz
ca3fd260ba tvplanit: Fix positioning of inplace-editor of all-day event in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4914 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 21:48:27 +00:00
wp_xxyyzz
b7b76852cb tvplanit: Handle non-painted area at the left the all-day events in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 21:35:15 +00:00
wp_xxyyzz
422d8c5463 tvplanit: Improved painting of all-day events. Some related refactoring.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 20:30:36 +00:00
wp_xxyyzz
d5536a27bc tvplanit: Refactor dayview painting (FixFontHeight and CalcRowHeadWidth into separate procedures).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 19:21:55 +00:00
wp_xxyyzz
9438c5f7a0 tvplanit: Refactor of dayview painting (preps)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4910 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 19:00:42 +00:00
wp_xxyyzz
8cebf7fdb9 tvplanit: Misc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4909 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 15:53:06 +00:00
wp_xxyyzz
524b731df8 tvplanit: Add dutch translation (by JanRoza). Update demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4908 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 12:39:22 +00:00
wp_xxyyzz
1b42108c15 tvplanit: Some refactoring (checking if a date is in date range), some cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 09:55:08 +00:00
wp_xxyyzz
698d597333 tvplanit: New property UseAutoIncFields for TVpBufDSDatasource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 22:56:59 +00:00
wp_xxyyzz
32e02ae41e tvplanit: Fix white stripe appearing at the right of dayview print preview. Some refactoring and clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4905 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 20:30:06 +00:00
wp_xxyyzz
5bc136ef28 tvplanit: Fix PrintPreviewDlg not updating when a new format item is selected.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4904 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 15:42:06 +00:00
wp_xxyyzz
99b58efb54 tvplanit: Initial version with printing capabilities (still lots of bugs...)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4903 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 14:47:03 +00:00
wp_xxyyzz
523416cafa tvplanit: Fix painting of borderless contact header line
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4902 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 09:51:12 +00:00
wp_xxyyzz
cf727df5c0 tvplanit: Remove some painting glitches related to dsNoBorder. Some refactoring of drawing of dayview labels.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 09:36:40 +00:00
wp_xxyyzz
f3cc257d5c tvplanit: Rename DrawingStyle dsNone to dsNoBorder. Fix dsBorder for all event views.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4900 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 08:39:53 +00:00
wp_xxyyzz
fc0fee4e00 tvplanit: Beginning to implement borderless DrawingStyle (dsNone)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4899 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 23:14:26 +00:00
wp_xxyyzz
1159900b4e tvplanit: Fix text with font height 0 being too small in printout.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4898 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 22:46:05 +00:00
wp_xxyyzz
9fc76923f9 tvplanit: Fix printpreview dialog not being able to show full page in preview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4897 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 21:13:54 +00:00
wp_xxyyzz
183e89afe2 tvplanit: Fix scrolling issue in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 15:44:34 +00:00
wp_xxyyzz
b25bcf4516 tvplanit: Some more fine-tuning of pixels when painting day and week views.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4895 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 13:07:46 +00:00
wp_xxyyzz
dd215650bc tvplanit: Improved drawing styles of MonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 12:20:11 +00:00
wp_xxyyzz
5cd2174610 tvplanit: Some cleanup in TVpCanvasUtils. Fix Calendar font size being frozen at 8pt.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4893 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 09:43:47 +00:00
wp_xxyyzz
c4646eacb5 tvplanit: A better way to save/restore the font in VpcanvasUtils.DrawRotatedText?
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4892 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 09:20:00 +00:00
wp_xxyyzz
998f2aa164 tvplanit: Avoid a 3d bevelled border around contact grid in flat drawing mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4891 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 08:56:40 +00:00
wp_xxyyzz
7e954aacab tvplanit: Fix Dayview not scrolling to the end of the day.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4890 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 22:21:07 +00:00
wp_xxyyzz
7a0869b6f0 tvplanit: Add widgetset to compilation path
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4889 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 21:46:43 +00:00
wp_xxyyzz
73cdbbf8b1 tvplanit: Fix text size growing in successive calls to TVpExCanvas.DrawRotatedText under gtk2.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 21:22:34 +00:00
wp_xxyyzz
d1c3eed2fa tvplanit: Fix compilation error in prev commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 20:45:03 +00:00
wp_xxyyzz
6474f1bf95 tvplanit: Fix minor drawing glitch in WeekView. Some refactoring.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 20:24:54 +00:00
wp_xxyyzz
906c25af77 tvplanit: Fix NavBar-ImgList error at program end in Linux.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4885 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 20:03:13 +00:00
wp_xxyyzz
b630ce379e tvplanit: Restructure package locations to fix occasional ide compilation issues
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4883 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 19:33:19 +00:00
wp_xxyyzz
7cfaefb5e1 tvplanit: Fix compilation with fpc <3.0. Experimental code to fix a error in Linux Mint/qt at program end (related to calling NavBar.SetImageList in Destructor).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4882 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 19:02:09 +00:00
wp_xxyyzz
cb586c9d08 tvplanit: trying to resolve the issue of growing day names in the calendar view in OSX (see forum http://forum.lazarus.freepascal.org/index.php/topic,33189.msg214639.html#msg214639).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4881 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 17:53:23 +00:00
wp_xxyyzz
90b0a58290 tvplanit: Fix some more minor DayView painting glitches.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4879 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 15:19:38 +00:00
wp_xxyyzz
7cb2fd3d88 tvplanit: Fix DayView scrollbar error if Granularity is 60min.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4878 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 13:21:43 +00:00
wp_xxyyzz
cd128df0b6 tvplanit: Fix some painting glitches in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4877 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 10:04:08 +00:00
wp_xxyyzz
a9cc270101 tvplanit: Allow for missing fields UserField0..9 in database tables.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4876 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 22:08:31 +00:00
wp_xxyyzz
1aaa90008d tvplanit: Fix hang of prev commit. Minor refactoring.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4875 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 21:29:02 +00:00
wp_xxyyzz
c847f138e6 tvplanit: Undo previous commit (resorting by time) - it causes a hang.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 20:26:14 +00:00
wp_xxyyzz
f268a8663b tvplanit: Fix recurring events being hidden or in wrong order because DayView's and WeekViews' temporary event lists are not correctly sorted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4873 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 18:45:39 +00:00
wp_xxyyzz
4f83704448 tvplanit: Fix Event Editor if start and end times are in reverse order. Some cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4871 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 22:24:10 +00:00
wp_xxyyzz
3767e20c54 tvplanit: Use PointInRect function instead of huge "if" monsters
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4870 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 21:46:53 +00:00
wp_xxyyzz
454c96067c tvplanit: Fix incorrect handling of overnight events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4869 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 21:34:45 +00:00
wp_xxyyzz
de22b0fbbd tvplanit: Fix weekview displaying repeated events to begin at midnight after the second event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 20:32:12 +00:00
wp_xxyyzz
82e258bdb7 tvplanit: Call notification when City-state-zip format is changed. Some improvements in "demo" projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:55:10 +00:00
wp_xxyyzz
9be9d8a4b8 tvplanit: New TVpControlLink property CityStateZip defining the country-dependant order and structure of the city-state-zip part of the address.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4866 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:22:33 +00:00
wp_xxyyzz
ae8fecb42d tvplanit: Display birthdate in contact edit dialog. Fix localization file not being found if its name contains the wrong path delimiter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 11:02:25 +00:00
wp_xxyyzz
08d356fd9f tvplant: Call ForcePathDelims in relation to media and localization file names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 10:06:52 +00:00
wp_xxyyzz
7348cfd58a tvplanit: Fix TVpGeneralFilenameProperty (renamed from TVpGenericFilenameProperty). Register TVpLocalizeFilenameProperty and TVpWavFilenameProperty (instead of TVpWavFileProperty).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 09:51:37 +00:00
wp_xxyyzz
10325574c0 tvplanit: Improved automatic layout of contact editor dialog. Some cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4862 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 22:49:33 +00:00
wp_xxyyzz
e445237ac3 tvplanit: Activate localization file in sample project "demo" (note: vplocalize.xml must be copied to project folder).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 22:48:44 +00:00
wp_xxyyzz
438cc9dcb3 tvplanit: Fix xml parser crashing when reading localization file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4860 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 22:46:36 +00:00
wp_xxyyzz
92ef54e789 tvplanit: Fix height of contact editor form being calculated too large.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4859 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 20:08:51 +00:00
wp_xxyyzz
3282ed81e8 tvplanit: Remove unused string resource RSDaysOverdue
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4858 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 20:02:03 +00:00
wp_xxyyzz
f2d0a36d2a tvplanit: In contact editor, split combined name field into separate fields for first and last names
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4857 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 19:50:19 +00:00
wp_xxyyzz
e575855f93 tvplanit: Fix incorrect sorting of events in case of ini datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4856 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 19:28:31 +00:00
wp_xxyyzz
a804344102 tvplanit: Fix enabled state of day view popup menu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4855 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 16:50:32 +00:00
wp_xxyyzz
7c6fd7b8e4 tvplanit: Fix demo program storing only one task and one contact in case of inifile datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4854 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 14:03:35 +00:00
wp_xxyyzz
e2c8f958b2 tvplanit: declare IDs as Integer again, not Int64 - causing too much trouble with TVpIniDataStore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4853 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 13:43:32 +00:00
wp_xxyyzz
ad9d8a833d tvplanit: In ini datastore, write zero dates as empty strings to ini file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4852 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 11:23:30 +00:00
wp_xxyyzz
716c478549 tvplanit: Some clean-up in VpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4851 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 11:08:29 +00:00
wp_xxyyzz
7ead55c111 tvplanit: Fix line breaks in Notes fields used by ini datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4850 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 10:18:32 +00:00
wp_xxyyzz
9f385a2fb1 tvplanit: Fix deleting of records from ini datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 09:36:30 +00:00
wp_xxyyzz
dac023e5ee tvplanit: Use "random(High(Int64))" instead of "random($7FFFFFFF)" in ID generator for IniDatastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4848 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 23:17:07 +00:00
wp_xxyyzz
cf5e6362ef tvplanit: Use some margin when drawing the day view event icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4847 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 23:00:17 +00:00
wp_xxyyzz
5bbb50a408 tvplanit: Clean up package requirements of demo projects
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4846 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 22:49:26 +00:00
wp_xxyyzz
723aa23ea5 tvplanit: Initial commit of an inifile datastore (working only partially at the moment). Add a demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4845 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 22:43:15 +00:00
wp_xxyyzz
7ec6f3104d tvplanit: Fix linewrapping in DayView cells. Fix DayView event display if recurring event is edited.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4844 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 22:21:39 +00:00
wp_xxyyzz
b108ef2f7a tvplanit: Cosmetic changes in vpcanvasutils.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4843 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 20:44:06 +00:00
wp_xxyyzz
e85a111716 tvplanit: More refactoring of event painting in TVpDayViewPainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4842 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 16:27:01 +00:00
wp_xxyyzz
a7ea8489dd tvplanit: Fix painting of thick edit frame in DayView if level > 0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4841 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 14:19:55 +00:00
wp_xxyyzz
564a84a7d6 tvplanit: More refactoring of event painting in TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 13:52:59 +00:00
wp_xxyyzz
4af15415ad tvplanit: More refactoring of event painting in TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4839 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 11:37:20 +00:00
wp_xxyyzz
48bdc3b5c6 tvplanit: Remove a few unused variables in DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 08:14:09 +00:00
wp_xxyyzz
d6961421d3 tvplanit: Add missing {$I vp.inc} in some of the new painter units. (Had caused a compilation issue).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 23:46:00 +00:00
wp_xxyyzz
8025160806 tvplanit: Fix compilation of package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 21:13:10 +00:00
wp_xxyyzz
bbb235eec8 tvplanit: Fix demo not showing DayView when switching from MonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 10:56:48 +00:00
wp_xxyyzz
e704901b0e tvplanit: Extract event drawing code from TVpDayViewPainter.DrawEvents. Some more refactoring.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 10:08:36 +00:00
wp_xxyyzz
448f4b8027 tvplanit: Remove some old debugging code from DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 22:44:13 +00:00
wp_xxyyzz
852270b0c2 tvplanit: Fix missing popup translation of task list and contact grid. Fix demo changing view when language is changed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 22:34:38 +00:00
wp_xxyyzz
2b22eefdca tvplanit: Fix delete confirmation messages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4831 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 21:55:47 +00:00
wp_xxyyzz
281124bc97 tvplanit: Fix alarm and recurrance icons in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4830 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 21:41:24 +00:00
wp_xxyyzz
31056b3ac8 tvplanit: Add comment that GetWeekOfYear (in VpMisc) calculates week number according to ISO specification.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4829 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 20:03:19 +00:00
wp_xxyyzz
70233a6fc4 tvplanit: Use DateUtils functions IncYear etc instead of those implemented in TvPlanIt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 20:00:32 +00:00
wp_xxyyzz
b0d583d8a9 tvplanit: Fix incomplete painting of thick edit frame around focused event in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4827 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 19:37:53 +00:00
wp_xxyyzz
4f2302a941 tvplanit: Fix DayView in-place editor reaching into adjacent column
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4826 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 19:10:59 +00:00
wp_xxyyzz
9943d1eca3 tvplanit: Fix not persistent storage of visible days in DayView (demo).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4825 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 17:55:44 +00:00
wp_xxyyzz
33793d3da2 tvplanit: Split off event painting in TVpWeekViewPainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4824 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 15:51:13 +00:00
wp_xxyyzz
61e01e7744 tvplanit: Minor refactoring in day drawing routines of TVpWeekViewPainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4823 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 14:38:05 +00:00
wp_xxyyzz
d80869e322 tvplanit: Refactor TVpWeekViewDrawer.DrawDays - extract separate method DrawDay. Some cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4822 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 14:16:51 +00:00
wp_xxyyzz
693008d145 tvplanit: Extract TVpCalendar painting code to separate unit TVpCalendarPainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4821 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 13:05:11 +00:00
wp_xxyyzz
0559b78b09 tvplanit: Add missing VpTaskListPainter and VpMonthViewPainter to repository.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4820 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 10:59:45 +00:00
wp_xxyyzz
663c7f5947 tvplanit: Remove "uses windows" from VpCalendar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4819 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 10:44:57 +00:00
wp_xxyyzz
5d8b843f2b tvplanit: Some refactoring of task list (flat display style, cosmetic changes).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4818 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 10:33:55 +00:00
wp_xxyyzz
0cce1b3a5f tvplanit: Fix TaskList to show selection in the inplace editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4817 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 09:50:05 +00:00
wp_xxyyzz
8516b2ee42 tvplanit: Extract VpTaskList drawing code to separate unit VpTaskListPainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4816 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 09:22:38 +00:00
wp_xxyyzz
54dc447750 tvplanit: Add new property "AllowInplaceEditing" for DayView, WeekView and TaskList.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4814 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 23:16:34 +00:00
wp_xxyyzz
66bddaf5e0 tvplanit: Fix contactgrid inplace editor appearing in name field.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4813 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 22:50:04 +00:00
wp_xxyyzz
2a95d0b226 tvplanit: Refactor TVpContactGridPainter.DrawContacts (avoid repeated code per contact element).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 16:13:17 +00:00
wp_xxyyzz
9b8ce7a12b tvplanit: Move drawing code of TVpContactGrid to separate unit (VpContactGridPainter). Split off some shared code to TVpBasePainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4811 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 11:53:21 +00:00
wp_xxyyzz
ba2e8bce22 tvplanit: Add base painter ancestor class.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4810 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 09:37:07 +00:00
wp_xxyyzz
10899a4c21 tvplanit: No bevel in flat mode around a TVpWeekView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4809 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 08:47:09 +00:00
wp_xxyyzz
3b7adafe73 tvplanit: Move MonthView painting code into a separate unit (VpMonthViewPainter). Some minor fixes in demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4808 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 22:37:44 +00:00
wp_xxyyzz
26d8e9b546 tvplanit: Improvements in demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4807 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 21:16:10 +00:00
wp_xxyyzz
ec4a4b6c77 tvplanit: Move painting code of TVpWeekView to separate unit VpWeekViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4806 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 21:04:36 +00:00
wp_xxyyzz
9b5d03f687 tvplant: More features in demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4805 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 20:19:35 +00:00
wp_xxyyzz
705a6878ac tvplanit: Refactor painting code of TVpDayView (new helper unit TVpDayViewPainter)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4804 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 14:43:43 +00:00
wp_xxyyzz
38be775a00 tvplanit: Extend demo to show several days in DayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4803 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 14:28:19 +00:00
wp_xxyyzz
a4f762c4d4 tvplanit: Fix BufDSDatastore to create DB directory if AutoCreate is true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4802 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 13:37:24 +00:00
wp_xxyyzz
78e60575cc tvplanit: No more IDE crash (was caused by over-range error in dvLineMatrix of TDayView, procedures SetTimeIntervals, DrawCells)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4801 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 12:16:45 +00:00
wp_xxyyzz
c95522e77a tvplanit: Undo cosmetic changes and refactoring of granularity (crashes IDE) - test commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4799 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 10:51:12 +00:00
wp_xxyyzz
7d184408a7 tvplanit: Remove all "uses messages" (implies "uses Windows")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4798 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 07:59:17 +00:00
wp_xxyyzz
89e16097a4 tvplanit: Beginning to refactor the RenderToCanvas method of TVpDayview, local subprocedure DrawEvents (2000 lines monster!)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4797 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 20:45:28 +00:00
wp_xxyyzz
ab7f8386d8 tvplanit: Some more refactoring of VpPrtFmt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4794 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 20:03:42 +00:00
wp_xxyyzz
8116ba68c4 tvplanit: Cosmetic changes and some refactoring in unit VpPrtFmt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4793 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 18:45:18 +00:00
wp_xxyyzz
60140bfdc5 tvplanit: Cometic changes in print preview units. Activate some commented Delphi-only code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4792 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 15:12:38 +00:00
wp_xxyyzz
1ae439b458 tvplanit: Add translatable captions and hints to print preview dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4791 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 13:48:55 +00:00
wp_xxyyzz
ed9905a382 tvplanit: Fix PrintPreviewDialog to display toolbar images correctly. Use new images (taken from nuvola collection).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4790 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 13:19:39 +00:00
alexs75
3f932e5eb6 tvplanit: fix compile on linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4789 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 11:59:37 +00:00
wp_xxyyzz
866f9db96a tvplanit: In event editor, reposition controls at runtime to take care of label widths changing due to translation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4788 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 11:25:17 +00:00
wp_xxyyzz
d85cb0a013 tvplanit: Cosmetic changes in VpNavBar
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4787 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 21:07:11 +00:00
wp_xxyyzz
5ca948f0bd tvplanit: Remove not-working property and component editors by an IFDEF from regristration.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 15:41:39 +00:00
wp_xxyyzz
0da706ccea tvplanit: Unregister the NavBar component designer, not working at the moment.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4785 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 15:22:49 +00:00
wp_xxyyzz
2e89999e86 tvplanit: cosmetic changes, mostly in day view unit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4784 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 14:21:33 +00:00
alexs75
89198cf134 tvplanit: russian resources
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4783 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 13:04:17 +00:00
wp_xxyyzz
cc260412e1 tvplanit: Refactor granularity-related code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4782 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 11:00:59 +00:00
wp_xxyyzz
f4e4f7fb99 tvplanit: Refactor TVpDayView.SetTimeIntervals
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4781 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 10:21:06 +00:00
wp_xxyyzz
8cd357069e tvplanit: Cosmetic changes in VpBase. Refactor TVpCategoryMap. Add missing German translations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4780 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-20 09:06:30 +00:00
wp_xxyyzz
5d527e1d69 tvplanit: Cosmetic changes in DayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4779 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 23:40:28 +00:00
wp_xxyyzz
e9199cdad2 tvplanit: Activate translation of dayview speedbuttons,
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 22:41:36 +00:00
wp_xxyyzz
5af0d70a52 tvplanit: Add translations of demo program
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4777 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 22:25:44 +00:00
wp_xxyyzz
cbd022cdea tvplanit: Add full demo incl NavBar and translation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4776 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 22:24:29 +00:00
wp_xxyyzz
4d83ac6429 tvplanit: Use resourcestring for "Task" in TaskEditDialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4775 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 13:00:19 +00:00
wp_xxyyzz
b52244fc30 tvplanit: Remove dependence on ZeosDS package from sqlite3DS package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4774 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 11:46:07 +00:00
wp_xxyyzz
fe58e1530e tvplanit: Example for TBufDataset datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4773 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 11:44:35 +00:00
wp_xxyyzz
ea72a7a350 tvplanit: Fix incorrect closing of weekview's inplace editor in MouseClick.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4772 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 23:31:19 +00:00
wp_xxyyzz
1e89c2e60f tvplanit: Lots of cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4771 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 21:03:53 +00:00
wp_xxyyzz
a089da3b74 tvplant: Fix duplicate storage of events in sqlite3 datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4770 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 19:45:43 +00:00
wp_xxyyzz
aafafb3e26 tvplanit: add demo for sqlite3datastore (based on SQLDB)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4769 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 19:02:42 +00:00
wp_xxyyzz
6dc495dea2 tvplanit: Deactivate drag-and-drop code in dayview unit by a define (DRAGDROP). This fixes the drag-and-drop mouse cursor appearing after editing an event in dayview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4768 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 12:09:16 +00:00
wp_xxyyzz
6509b909e8 tvplanit: Fix dayview's inplace editor being destroyed (no issue at the moment, but could be - the other controls failed due to that).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4767 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 11:17:39 +00:00
wp_xxyyzz
0ca1fb03e6 tvplanit: Fix context menu of weekview
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4766 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-17 22:41:57 +00:00
wp_xxyyzz
e655a1d85e tvplanit: Fix uninitialized local variable in TZeosDatastore.SetConnection.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-17 21:55:15 +00:00
wp_xxyyzz
9df4ade9b1 tvplanit: Add example for zeos datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-17 21:44:24 +00:00