98d7c7e56c
tvplanit: By default, new events in WeekView begin at the next full hour now (no longer ar noon). Some cosmetics.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 20:56:27 +00:00
aa6e70e006
tvplanit: Fix import of .ics files with recurring events to database-related datastores.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 21:54:25 +00:00
bab84c3523
tvplanit: Fix compilation with Laz 1.8.4. Avoid crashes of import methods if no resource has been created.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6508 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 20:01:53 +00:00
8a9d5799a8
tvplanit: Implement import of events from iCal files (*.ics). Some issues left.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-15 23:40:18 +00:00
947657a4ac
tvplanit: Add optional parameter "IsNewEvent" to VpDayView's and VpWeekView's EditSelectedEvent (issue #33854 , modified patch by linux-man).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6489 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-12 16:40:51 +00:00
ad07af3511
tvplanit: Fix VpDayView, VpWeekView and VpTaskList inplace editor to cancel input when ESC is pressed (like VpContactGrid, see prev commit).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 11:42:09 +00:00
9ce59d21d5
tvplanit: Remove calls to DoubleBuffered in the units (flicker fixed in Laz trunk)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6455 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-04 10:36:57 +00:00
c35fa3e75e
tvplanit: Set lower limit of VpDayView.RowHeight to 1 (discussion of issue #33763 )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-19 22:57:26 +00:00
3043e953cc
tvplanit: Provide image list for the dayview icons.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 09:47:36 +00:00
0dafc729e5
tvplanit: Publish the LCL property BorderSpacing for all visual TvPlanIt controls. Unpublish ChildSizing for TVpClock.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6435 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 07:43:44 +00:00
a38f491755
tvplanit: Fire OnAddEvent after DavView's/WeekView's/MonthView's event editor only in case of a new event (mentioned in the discussion of issue #33749 ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 16:35:44 +00:00
451b6e0016
tvplanit: Remove unnecessary call to Datastore.PostEvents after closing VpDayView's event editor dialog (issue #33749 ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6430 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 16:04:57 +00:00
4cb75a89cc
tvplanit: Add additional parameters "IsNewEvent", "IsNewContact", "IsNewTask" to the events "OnOwnerEditEvent", "OnOwnerEditContact" and "OnOwnerEditTask" of TVpDayView/TVpWeekView/TVpMontView, TVpContactGrid and TVpTaskList, respectively (extended patch by linux-man, issue #33750 ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 15:37:37 +00:00
64aaca1c1d
tvplaint: Rename the new VpDayView property CustomRowHeight to RowHeight.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6426 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 08:09:21 +00:00
2fd663bcf0
tvplanit: Add new parameter AGutterRect to the OnBeforeDrawEvent and OnAfterDrawEvent events of TVpDayView (issue #33748 )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6425 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 07:58:22 +00:00
ea478cd403
tvplanit: Avoid truncation of VpDayView's NavBtns if no Header height if no Datastore is assigned.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6416 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 19:47:29 +00:00
5a4a3b19c9
tvplanit: Add new properties to TVpDayView: ShowNavButtons, FixedDate, CustomRowHeight, RowLinesStep, SimpleRowTime (slightly modified patch by "linux-man", issue #33723 ).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6413 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 09:08:53 +00:00
37bb56a6cd
tvplanit: Inc version number to 1.0.9. Less hints and warnings.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6130 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-12 12:42:12 +00:00
12ae2ed3c8
tvplanit: Fix compilation with Laz trunk (Hi-DPI issue). Release as v1.0.8.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6129 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-12 11:07:34 +00:00
590f5139ee
tvplanit: Simplify day, week and monthview, as well as contact list hints. Fix crash in Linux when mouse is moved into a hint.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-25 21:24:23 +00:00
2a4643b959
tvplanit: Every internal icon has three versions at 100%, 125% and 150% resolution now. (Icons from icon8.com). Old icons can be re-activated by undefining NEW_ICONS in vp.inc.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-23 17:39:54 +00:00
fd3b8f7db8
tvplanit: Correct font scaling for Laz 1.8+
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5890 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-22 08:11:27 +00:00
fcfce0aa75
tvplanit: Separate code into designtime and runtime packages. Move lpk files to library root folder for better visibility. Test all demos.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5372 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-21 17:12:05 +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
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
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
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
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
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
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
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
2d689d3568
tvplanit: Fix dayview icons not being printed (new property DayView.IconAttributes.ShowInPrint). Some refactoring in DayView (GutterWidth).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4985 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-16 12:34:46 +00:00
e85fc428d2
tvplanit: Less hints and warnings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-16 10:44:10 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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