95 Commits

Author SHA1 Message Date
96e0ace939 TvPlanIt: Improved inplace editor. Scaling of event images in Category combobox if they are too high
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8897 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 17:41:38 +00:00
45d2ee6485 TvPlanit: Fix clipping of too-large event images.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 15:47:53 +00:00
9f444a7a30 TvPlanIt: Minor improvement in wrapped text margins.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 14:34:45 +00:00
b211e27180 TvPlanIt: Use array of rectangle, rather than combined regions, to draw event text wrapped around event icons. (Supposed to fix rendering issue in cocoa).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8893 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 14:25:42 +00:00
6a736b0135 TvPlanIt: Add "Items" as default properties for TVpResources, TVpSchedule, TVpTasks, and TVpContacts
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8891 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-22 10:35:11 +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
d2fe2df1e7 tvplanit: Define initial control size by GetControlClassDefaultSize. New icons in PrintPreview dialog. Consistent 3D look of TVpPrintPreview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8469 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-10 20:38:31 +00:00
8cdf18976d tvplanit: New component icons by Roland Hahn. Adapt .res creation so that different icon sets can be selected.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8463 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-09 16:45:06 +00:00
1122864942 tvplanit: Fix scaling issues in printing of TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8459 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-07 18:01: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
c7af4ddc10 tvplanit: Fix drawing glitches in TVpDayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-03 17:58:24 +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
b6a943535f tvplanit: Add missing vpganttviewpainter unit. Draw basic column and row header areas for TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8417 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-23 22:38:13 +00:00
9a098ee42b tvplanit: Adjust visibility of DayView variables and methods. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8412 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-22 14:48:35 +00:00
659a480a92 tvplanit: Fix display of repeated all-day events in the dayview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8406 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-21 14:40:55 +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
9440285775 TvPlanIt: Fix type of designtime package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8221 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-03-22 17:24:20 +00:00
3e2cd44627 TvPlanIt: Yet another fix of <= and >= in time comparisons of TVpDayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8178 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-12-14 17:19:34 +00:00
d62d307e4d TVPlanIt: Fix display of overlapping "same" events in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8177 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-12-14 09:50:31 +00:00
2be4c5efdd TvPlanIt: Attempting to fix missing events in day view having exactly equal start and end times.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8176 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-12-13 23:55:46 +00:00
a94f08651f TvPlanIt: More robust comparison of TTime variables.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8173 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-12-13 21:25:57 +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
64d3c247b1 tvplanit: Less hints and warnings, some cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6476 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 09:22:33 +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
54a4101f8a tvplanit: Fix crash of VpDayViewPainter caused by deleting uncreated regions (issue #33763, idea by linux-man)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-19 22:05:59 +00:00
6629fa2cc6 tvplanit: activate Hi-DPI imagelist of Laz 1.9+ for DayView icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 22:55:29 +00:00
ec29b90757 tvplanit: VpDayView icons are painted side-by-side now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 15:52:16 +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
2e2acca4da tvplanit: Draw transparent category icons in VpDayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 22:51:07 +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
fd634956fd tvplanit: Make VpDayView's new property ShowNavButtons work at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6417 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 20:09:59 +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
3eb43e2152 tvplanit: Use scaled (instead of constant) TickDist in TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6414 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 09:25:37 +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
22a58397f4 tvplanit: Set version to 1.0.10 for next release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6389 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-05 16:09:31 +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
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
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
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
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
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
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
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
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
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
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