70 Commits

Author SHA1 Message Date
d9d497757b TvPlanIt: Avoid windows-like messages in printing routines (fixes crashes in cocoa related to PrintPreview).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-21 20:18:22 +00:00
d5965cb872 TvPlanIt: Fix cocoa crashing due to windows-like message VP_DatastoreChanged.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-20 22:43:28 +00:00
03e1ff9059 tvplanit: Add "Don't ask again" checkbox to VpPrtFmt editor save prompt by using a TTaskDialog. Update resource strings and translations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8540 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 11:33:16 +00:00
60fac597bf tvplanit: Fix layout of ContactGrid in case of rotated print formats
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8530 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-09 13:59:56 +00:00
2c1fbdc6a6 tvplanit: Trying to improve behaviour of arrow keys (not fully successful).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8529 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 23:06:29 +00:00
66154224a4 tvplanit: Fix scrolling in VpContactGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8528 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 21:11:33 +00:00
07a9b508b9 tvplanit: Disable not used functions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8527 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 18:05:39 +00:00
3da97ca4d6 tvplanit: More refactoring of TVpContactGridPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8524 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 13:44:27 +00:00
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
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
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
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
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
caa6bd6368 tvplanit: some cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8410 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-21 15:41:34 +00:00
8cdd98b2ff tvplanit: Export events to ical files (still buggy).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8401 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-20 17:06:03 +00:00
33b73bbc8b tvplanit: Support contacts in VCard import/export.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8396 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-19 10:53:49 +00:00
83950d045a tvplanit: Export contacts as vcard files. Fix some bugs in vcard import.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8395 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-18 17:44:47 +00:00
6e9dd5576c tvplanit: Make default popup menus of DayView/WeekView/MonthView/TaskList/ContactGrid accessible to the user.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8393 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-16 16:24:37 +00:00
8ef2d6471f tvplanit: Create default popupmenu items in the constructor rather than when the menu drops down. Adjust translation of popupmenu items.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8392 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-16 15:04:39 +00:00
d97209a2a3 tvplanit: Add preview for importing VCard files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8381 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-08-11 20:32:13 +00:00
c778149181 tvplanit: Default values for visual controls (day/week/month view, tasklist, contact grid, calendar).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8365 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-25 22:55:31 +00:00
bca465e6dd TvPlanIt: Fix ContactGrid crashing when inserted into a frame ("... has no parent" error).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8354 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-19 22:32:25 +00:00
960ac21677 TvPlanIt: Add OnModifyEvent. Replace double LineEndings by new const LineEnding2.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8292 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-06-12 16:12:31 +00:00
96eba9e3e3 TvPlanIt: Fix translation of Contacts and Tasklist popup menus. Update German translation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8290 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-06-11 21:24:49 +00:00
ac169056d0 tvplanit: Avoid scrolling of VpContactGrid in ScrollIntoView when new contact is already visible (issue #34641).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6747 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-06 10:56:05 +00:00
fc5c783aef tvplanit: Fix keyboard behavior of TVpContactGrid (issue #34641)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6743 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-04 08:49:17 +00:00
50ebf97861 tvplanit: Fix compilation with Laz 1.6.4. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-06 18:56:08 +00:00
842ff47426 tvplanit: Improve keyboard handling of VpContactGrid. Some refactoring of painting code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6485 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-10 16:42:16 +00:00
66df4b25d4 tvplanit: Better sorting of contacts. Clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6484 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 22:57:50 +00:00
ac2f2a1cfd tvplanit: Improved positioning of VpContactGrid inplace editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6483 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 19:49:39 +00:00
2c923b154e tvplanit: Improved rendering of VpContactGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6481 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 13:23:44 +00:00
5f0337539e tvplanig: Cancel contact inplace-editor with ESC key.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6479 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 11:21:35 +00:00
ef8583487e tvplanit: Fix ContactGrid background painting issue introduced in previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6477 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 09:36:08 +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
820288c8ec tvplanit: Import contacts from vCards (*.vcf)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6475 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-08 20:03:23 +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
0dafc729e5 tvplanit: Publish the LCL property BorderSpacing for all visual TvPlanIt controls. Unpublish ChildSizing for TVpClock.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6435 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 07:43:44 +00:00
a38f491755 tvplanit: Fire OnAddEvent after DavView's/WeekView's/MonthView's event editor only in case of a new event (mentioned in the discussion of issue #33749).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 16:35:44 +00:00
4cb75a89cc tvplanit: Add additional parameters "IsNewEvent", "IsNewContact", "IsNewTask" to the events "OnOwnerEditEvent", "OnOwnerEditContact" and "OnOwnerEditTask" of TVpDayView/TVpWeekView/TVpMontView, TVpContactGrid and TVpTaskList, respectively (extended patch by linux-man, issue #33750).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 15:37:37 +00:00
37bb56a6cd tvplanit: Inc version number to 1.0.9. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6130 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-12 12:42:12 +00:00
12ae2ed3c8 tvplanit: Fix compilation with Laz trunk (Hi-DPI issue). Release as v1.0.8.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6129 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-12 11:07:34 +00:00
219e3830e8 tvplanit: Add editing of events to TVpMonthView by double-click
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5990 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-08-02 17:20:03 +00:00
590f5139ee tvplanit: Simplify day, week and monthview, as well as contact list hints. Fix crash in Linux when mouse is moved into a hint.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-25 21:24:23 +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
9a553e8b08 tvplanit: Improved positioning of hint window for contact grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-23 13:29:12 +00:00
f0957e08aa tvplanit: Refactor mouse events in GontactGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-22 08:23:30 +00:00
cf3d788bc2 tvplanit: Improvements in contacts hint display.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5189 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-20 09:54:00 +00:00
dcfee2e807 tvplanit: Add hint support for contact grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-19 22:58:13 +00:00