Commit Graph

42 Commits

Author SHA1 Message Date
da23bd4405 tvplanit: Cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 05:28:45 +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
6723411283 tvplanit: Fix Event editor erasing event if created from MonthView and if closed by the form's "x" button.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5992 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-08-08 14:56:05 +00:00
c79ae662d4 tvplanit: Implement drag and drop of events from and to MonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5991 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-08-02 21:10:14 +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
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
9d7234c2c0 tvplanit: Add holiday support to MonthView. Add holiday and weekend attributes to Monthview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-22 17:47:27 +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
824cbb6a59 tvplanit: Some refactoring of several date/time routines.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-17 15:48:39 +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
274284fc51 tvplanit: Add hint support to MonthView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 21:43:26 +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
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
bcd43cd892 tvplanit: Fix memory leak in monthview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-30 12:08:11 +00:00
08b4caa46c tvplanit: Cosmetic changes in MonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-30 11:45:12 +00:00
88e7a16ba7 tvplanit: Refactor TVpMonthView (remove internal variables unused or used by painter only).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-30 11:24:43 +00:00
fc7427cc7a tvplanit: Fix memory leak in MonthView's TodayAttributes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5051 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-29 22:19:07 +00:00
841534c2cc tvplanit: Add new property TodayAttributes to MonthView (to highlight today). Refactoring of MonthView painting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 20:30:36 +00:00
20cc1e5d9a tvplanit: Add new property HeadAttributes to TVpMonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 19:13:00 +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
d616eba746 tvplanit: Less hints and warnings. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-12 18:00:32 +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
5cd2174610 tvplanit: Some cleanup in TVpCanvasUtils. Fix Calendar font size being frozen at 8pt.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4893 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 09:43:47 +00:00
73cdbbf8b1 tvplanit: Fix text size growing in successive calls to TVpExCanvas.DrawRotatedText under gtk2.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 21:22:34 +00:00
3b7adafe73 tvplanit: Move MonthView painting code into a separate unit (VpMonthViewPainter). Some minor fixes in demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4808 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 22:37:44 +00:00
7d184408a7 tvplanit: Remove all "uses messages" (implies "uses Windows")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4798 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 07:59:17 +00:00
faca8ece98 tvplanit: Replace time format strings "hh:mm" by "hh:nn" (I think fpc takes care of this (m = month!), but just to make sure...) - see https://sourceforge.net/p/tpvplanit/bugs/79/
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4749 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-14 11:25:38 +00:00
95dc635bd4 tvplanit: Remove unit Windows from pvflxdsed1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4715 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-10 21:37:32 +00:00
fab190c6e6 tvplanit: Add new property OffDayFontColor to MonthView. Use day names in MonthView from FormatSettings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-09 22:27:58 +00:00
c344ae8762 tvplanit: Fix resource not found error. Fix SysToUtf8 compilation error with Laz trunk.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4632 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-26 15:54:35 +00:00
d433a47a64 Several Changes from me in meantime
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-09-24 19:30:17 +00:00
a6b9a85546 Some drawing corrections
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@753 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-31 17:41:04 +00:00
efc79ebb36 - Some fixes to Event Edit Dialog
- extra SetLanguage for Week,Month and Dayview to change Language while Program is running

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@603 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-10 13:54:49 +00:00
c1641e380d Initial import
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@338 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-03 12:05:55 +00:00