Commit Graph

60 Commits

Author SHA1 Message Date
5514aca70f tvplanit: Fix sqlite3 and firebird datastores crashing due to non-specified database names. Fix double-click in VpWeekView to use correct date. Fix some compilation issues of demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6791 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-15 22:14:01 +00:00
98d7c7e56c tvplanit: By default, new events in WeekView begin at the next full hour now (no longer ar noon). Some cosmetics.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 20:56:27 +00:00
aa6e70e006 tvplanit: Fix import of .ics files with recurring events to database-related datastores.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 21:54:25 +00:00
bab84c3523 tvplanit: Fix compilation with Laz 1.8.4. Avoid crashes of import methods if no resource has been created.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6508 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-18 20:01:53 +00:00
774f30a257 tvplanit: Activate iCal import also for TVpWeekView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6500 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-16 16:24:11 +00:00
947657a4ac tvplanit: Add optional parameter "IsNewEvent" to VpDayView's and VpWeekView's EditSelectedEvent (issue #33854, modified patch by linux-man).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6489 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-12 16:40:51 +00:00
ad07af3511 tvplanit: Fix VpDayView, VpWeekView and VpTaskList inplace editor to cancel input when ESC is pressed (like VpContactGrid, see prev commit).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 11:42:09 +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
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
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
b46c6f5ab2 tvplanit: Add property Layout to TVpWeekView for switching to horizontal arragement of days.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-23 11:40:39 +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
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
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
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
cf011258e6 tvplanit: Show hints for events in weekview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5154 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 17:53:51 +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
7b4cfd3f6e tvplanit: Add ReadOnly flag to ResourceGroup to prevent editing of events in overlay mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5147 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 19:06:41 +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
f1348844bf tvplanit: Add option for showing/hiding overlayed events to dayview and weekview context menu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 17:26:42 +00:00
ad6930be1a tvplanit: Implement drag and drop from weekview to dayview and within itself.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5128 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-03 21:51:37 +00:00
0f1bfbf6a5 tvplanit: Activate drag and drop from DayView to WeekView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-03 17:41:24 +00:00
6a1d71c140 tvplanit: Fix WeekView sometimes not showing "today" at program start.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5028 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-24 17:55:12 +00:00
e85fc428d2 tvplanit: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-16 10:44:10 +00:00
4fbe3969b5 tvplanit: Improved vertical text centering
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4977 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-15 12:29:06 +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
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
49161f56c1 tvplanit: Fix WeekView inplace editor sometimes picking wrong events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-05 10:20:36 +00:00
5370e6afa1 tvplanit: Fix all-day events in WeekView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-05 08:42:08 +00:00
3767e20c54 tvplanit: Use PointInRect function instead of huge "if" monsters
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4870 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 21:46:53 +00:00
454c96067c tvplanit: Fix incorrect handling of overnight events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4869 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 21:34:45 +00:00
d80869e322 tvplanit: Refactor TVpWeekViewDrawer.DrawDays - extract separate method DrawDay. Some cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4822 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 14:16:51 +00:00
54dc447750 tvplanit: Add new property "AllowInplaceEditing" for DayView, WeekView and TaskList.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4814 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 23:16:34 +00:00
ec4a4b6c77 tvplanit: Move painting code of TVpWeekView to separate unit VpWeekViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4806 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 21:04:36 +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
ea72a7a350 tvplanit: Fix incorrect closing of weekview's inplace editor in MouseClick.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4772 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 23:31:19 +00:00
1e89c2e60f tvplanit: Lots of cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4771 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 21:03:53 +00:00
0ca1fb03e6 tvplanit: Fix context menu of weekview
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4766 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-17 22:41:57 +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
b703a9f89e tvplanit: Fix some translation-related layout issues in several forms. Add missing resourcestrings. Fix trask items being painted with task header font.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4708 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-10 16:12:14 +00:00