52 Commits

Author SHA1 Message Date
wp_xxyyzz
d4fd4f420e TvPlanIt: Fix double-click on event in hour mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 22:46:32 +00:00
wp_xxyyzz
897e036a0c tvplanit: Fix painting of GanttView events in hour mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8940 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-09 15:47:05 +00:00
wp_xxyyzz
a41f9dbdcb TvPlanIt: Extend GanttView by hour resolution
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8937 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-08 22:41:21 +00:00
wp_xxyyzz
fe1a95db7c tvplanit: Fix display of end date in an all-day event in GanttView. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8684 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-16 12:43:17 +00:00
wp_xxyyzz
77b16a5ce6 tvplanit: Fix GanttView crashing with empty datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8682 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-16 12:23:11 +00:00
wp_xxyyzz
10b89f8235 tvplanit: Fix crash in print format component editor when the print format contains a GanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-15 13:03:27 +00:00
wp_xxyyzz
bd7a544635 tvplanit: Fix event editor storing new events with ResourceID 0.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-14 21:26:21 +00:00
wp_xxyyzz
15639aae1a tvplanit: Fix GanttView being unable to select a recurring event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-14 21:17:20 +00:00
wp_xxyyzz
4af2571d9f tvplanit: Double-click on GanttView initialized the event editor with a single-day, all-day event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8556 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-14 10:44:22 +00:00
wp_xxyyzz
f102404a6c tvplanit/GanttView: Fix recurring events running beyond Gantt' EndDate.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 22:01:36 +00:00
wp_xxyyzz
b7c534c59a tvplanit: Fix crash when a DayView/WeekView/MonthView/GanttView is dropped on an empty form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 14:43:54 +00:00
wp_xxyyzz
3cb293895d tvplanit: Fix Ganttview crash at designtime introduced by previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 17:07:53 +00:00
wp_xxyyzz
8f81cf7a6d tvplanit: Support recurring events in GanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 16:40:15 +00:00
wp_xxyyzz
469cf2e19e tvplanit: Fix scaling when printing contacts to printer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8521 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-07 17:45:28 +00:00
wp_xxyyzz
37d4c4c837 tvplanit: Print GanttView in multiple pages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-05 16:30:14 +00:00
wp_xxyyzz
a02d733cec tvplanit: Fix week painting artefacts due to scrolling. Fix truncation error of all-day events at limits of date range.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8502 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-24 10:50:26 +00:00
wp_xxyyzz
31a2f25a42 tvplanit: draw month header dividing lines so that they do not run through week headers. Fix showing of month/week/day column headers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-23 20:07:48 +00:00
wp_xxyyzz
b6753c216d tvplanit: Add ISO week numbers to GanttView column headers
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-21 22:50:43 +00:00
wp_xxyyzz
c1d3789b4f tvplanit: Add WeekStartsOn property to TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-19 21:42:45 +00:00
wp_xxyyzz
b864dfc278 tvplanit: Move holiday detection event to TVpControlLink; deprecate that of TVpDayView etc.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8492 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-19 21:32:43 +00:00
wp_xxyyzz
6af3c25955 tvplanit: Extend TVpGanttView such that it can be painted only over a given date interval.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-14 21:24:33 +00:00
wp_xxyyzz
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
wp_xxyyzz
c95d86dba0 tvplanit: Fix weekend bars not being rotated when printing rotated Gantt view. Prepare printing a limited Gantt date range.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8461 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-08 21:00:40 +00:00
wp_xxyyzz
e435fdb67d tvplanit: Support printing of TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8460 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-07 22:20:13 +00:00
wp_xxyyzz
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
wp_xxyyzz
41aeaea878 tvplanit: Fix calculation of month count needed for TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8458 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-07 17:35:46 +00:00
wp_xxyyzz
80404b5c33 tvplanit: Fix calculation of last month rectangle. Undo changes in vpganttviewpainter by r8455.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8457 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-07 16:56:05 +00:00
wp_xxyyzz
dd3fb29fe7 tvplanit: Fix calculation of visible rows and columns in GanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8456 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-07 16:44:24 +00:00
wp_xxyyzz
f2b4168f92 tvplanit: Autoconnect TVpGanttView and TVpCalendar to datasource when dropped on form. Refactor some TVpCalendar code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8452 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-05 18:01:40 +00:00
wp_xxyyzz
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
wp_xxyyzz
79cfe6aad2 tvplanit: Fix width of initial month in TVpGanttView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-02 20:15:51 +00:00
wp_xxyyzz
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
wp_xxyyzz
f60702ccb7 tvplanit: TVpGanttView supports LCL scaling. Fix font scaling in TVpDayView, TVpWeekView, TVpMonthView, TVpContactGrid and TVpTaskList.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-02 09:39:21 +00:00
wp_xxyyzz
6d561ddb92 tvplanit: Support hints in TVpGanttView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-01 12:12:52 +00:00
wp_xxyyzz
2c6c88fa8b tvplanit: Add SpecialDayMode for TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8435 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-01 09:42:04 +00:00
wp_xxyyzz
1c707883ce tvplanit: Holiday support in TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-31 21:43:14 +00:00
wp_xxyyzz
9c4260cd4e tvplanit: Fix event edit dialog to enable start and end date controls for all-day events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-31 20:56:36 +00:00
wp_xxyyzz
7ac4c2769e tvplanit: Fix date of new event when created from WeekView (was on current day rather than selected day).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-31 20:47:45 +00:00
wp_xxyyzz
dcfa500d6e tvplanit: Preparing for multi-line day captions in TVpGanttView. Not working yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-30 21:39:47 +00:00
wp_xxyyzz
b915c3008e tvplanit: Implement TVpGanttView.Options (show date, show weekends, show vertical/horizontal grid).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8428 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-30 21:00:26 +00:00
wp_xxyyzz
9af978b9fb tvplanit/TVpGanttView: Highlight weekends.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8427 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-29 22:00:20 +00:00
wp_xxyyzz
3de78ed971 tvplanit/TvpGanttView: Keyboard handling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8426 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-29 21:25:03 +00:00
wp_xxyyzz
89b96e9392 tvplanit/TVpGanttView: Double-click. Fix scrolling when size is changed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8425 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-29 18:34:35 +00:00
wp_xxyyzz
ab7800349c tvplanit/TvpGanttView: Operational popup menu. Highlight active date. Sort events by time.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8424 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-29 15:09:38 +00:00
wp_xxyyzz
6fdf379467 tvplanit/TVpGanttView: Select date by click, initial code for dbl-click (not working yet).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8423 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-28 23:41:45 +00:00
wp_xxyyzz
76e00658a3 tvplanit: Fix scrolling by mousewheel and scrollbar in TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8422 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-28 20:32:17 +00:00
wp_xxyyzz
31a3ed6a14 tvplanit: refactor handling of day/month/event rectangles in TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8421 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-28 18:17:04 +00:00
wp_xxyyzz
4fa25ff2d3 tvplanit: Initial attempt for scrolling in TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8419 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-27 10:31:14 +00:00
wp_xxyyzz
3cc502f29d tvplanit: Progress in painting of TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8418 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-26 22:35:42 +00:00
wp_xxyyzz
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