Commit Graph

6283 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
803fc6ce41 tvplanit: Some more code for integration of TVpGanttView in tvplanit's printing eco-system.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8454 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-07 15:43:18 +00:00
39d169dea7 tvplanit: Beginning to integrate TVpGanttView in the tvplanit printing system. Still a long way to go...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8453 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-06 23:12:47 +00:00
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
0df94bbd24 tvplanit: Add demo for TVpCalendar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8451 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-05 15:38:18 +00:00
6eda0b879b tvplanit: Refactor TVpCalendar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8450 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-05 15:14:18 +00:00
eb439247e1 tvplanit: Consistent 3d mode for TVpContactGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8449 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-05 10:09:07 +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
4af1e301a7 tvplanit: Fix mouse-wheel scrolling in TVpDayEdit when editing is active.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-05 08:04:39 +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
50608d54c3 tvplanit: Fix DayView not showing holiday if date contains a time part.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8445 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-04 22:33:16 +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
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
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
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
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
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
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
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
18308fa2bb tvplanit: Search contact by first and last name.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8433 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-31 21:09:35 +00:00
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
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
398734211f tvplanit: Fix WeekView switching to next day when a new event is created after 23:00 real time.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8430 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-30 21:54:32 +00:00
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
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
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
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
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
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
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
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
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
9d0e64788e tvplanit: Improvements in German translation, based on some proposals in report #39040 by forum user Nicole.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8420 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-27 19:40:08 +00:00
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
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
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
e0d6926bee tvplanit: Remove variable wvEventList from TVpWeekView, not used.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8416 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-23 11:26:53 +00:00
c11c9f5163 tvplanit: Some elemental code for VpGanttView (cooperation with control link and datastore).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8415 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-22 22:30:13 +00:00
0be0798652 tvplanit: Add initial (empty) version of TVpGanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8414 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-22 21:01:27 +00:00
aaf4b1b2b4 tvplanit: Adjust visibility of WeekView and MonthView variables and methods. Cosmetic changes. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8413 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-22 20:56:10 +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