39 Commits

Author SHA1 Message Date
d1eec6730d TvPlanit: Improved rendering of TVpMonthView, more consistent with the other planner controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9101 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-12-22 23:36:57 +00:00
a09c467161 tvplanit: New property KBNavigation for TVpDayView and TVpMonthView to disable keyboard navigation, like in TVpMonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8766 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 22:39:29 +00:00
0ceb87ed80 tvplanit: Fix truncated focus rectangle in bottom row of TVpMonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 21:59:53 +00:00
eec167171d tvplanit: Fix incorrect VpMonthView painting when date is 0 (Dec 30, 1899).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-15 21:32:14 +00:00
3f96acc701 tvplanit: Clear TVpMonthView's event array before painting. See https://forum.lazarus.freepascal.org/index.php/topic,62366.msg471573.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8713 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-19 12:30:17 +00:00
77c9810c0a TvPlanIt: Add event OnPrepareEventFont to TVpDayView, TVpWeekView and TVpMonthView. (https://forum.lazarus.freepascal.org/index.php/topic,61758.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8667 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-31 12:55:15 +00:00
521c9e0d90 tvplanit: Rename internal monthviewpainter variable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8539 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 11:29:37 +00:00
d78a678e70 tvplanit: Fix layout issues in printing/preview of TVpMonthView (due to navigation buttons missing in print mode).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8536 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-11 21:54:09 +00:00
6dc51adcc2 tvplanit: Fix events being painted over the "today" border in TVpMonthView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8470 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-10 21:33:53 +00:00
7a151f2696 tvplanit: More consistent usage of colors and attribute classes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8448 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-05 09:27:54 +00:00
35584e4dd2 tvplanit: Fix some more drawing glitches in monthview
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8444 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-04 22:27:33 +00:00
d2bdaad7bf tvplanit: Fix painting glitches for TVpTaskList.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8443 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-04 22:11:52 +00:00
5c2d4719ab tvplanit: Fix TVpWeekView drawing glitches. Add Alignment property for weekview's day names.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8442 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-04 17:59:54 +00:00
460df892e1 tvplanit: Fix painting glitches in TVpMonthView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8441 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-03 21:56:31 +00:00
30acf7208e tvplanit: Improving LCL scaling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-02 17:38:26 +00:00
ea7af462bb tvplanit: Replace TVpMonthView's updown control by 4 speedbuttons for navigation to prev/next month/year, issue #39035.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8387 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-12 21:52:15 +00:00
2e2d9f18bf tvplanit: New property ApplyCategoryInfos for week and month view. Some tweaking of text positions in month view.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8346 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-12 14:31:42 +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
979b1b0fb1 tvplanit: Fix first day of month not shown in MonthView if month starts before WeekStartsOn (issue #0030941, patch by G.Fink)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5360 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-17 08:20:08 +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
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
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
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
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
08b4caa46c tvplanit: Cosmetic changes in MonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-30 11:45:12 +00:00
88e7a16ba7 tvplanit: Refactor TVpMonthView (remove internal variables unused or used by painter only).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-30 11:24:43 +00:00
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
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
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
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
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
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
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
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
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
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