Commit Graph

50 Commits

Author SHA1 Message Date
6ee0fa1fea tvplanit: Fix weekview not showing events on last day of week.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8455 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-07 16:29:58 +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
5751dde6a7 tvplanit: Fix size of in-place editor for TVpWeekView and TVpDayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-04 23:06:49 +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
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
0afcfc7a66 tvplanit: Allow to draw all-day events in the category color (CategoryInfo.UseForAllDayEvents).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8394 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-16 19:58:12 +00:00
a2d1123b51 tvplanit: Replace TVpWeekView's updown control by 4 speedbuttons for navigation to prev/next month/week, issue #39035.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8388 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-12 22:21:13 +00:00
db859044f4 tvplanit: Display gutter in TVpWeekView if ApplyCategoryInfos is true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8371 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-06 09:51:54 +00:00
02a881fd02 tvplanit: Improved header text in weekview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8360 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-21 12:31:50 +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
03dcab679a TvPlanIt: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8132 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 18:12:33 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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