Commit Graph

490 Commits

Author SHA1 Message Date
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
3683bf9450 tvplanit: Add new property CaptionStyle (lowercase or uppercase) to TVpContactButtonBar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6482 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 17:53:33 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
abf9796c82 tvplanit: Improved dragging of columns in VpContactGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6478 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-09 09:59:39 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
d63d52fda2 tvplanit: Fix compilation with Laz 1.8.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-07 10:01:49 +00:00
wp_xxyyzz
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
wp_xxyyzz
c35fa3e75e tvplanit: Set lower limit of VpDayView.RowHeight to 1 (discussion of issue #33763)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-19 22:57:26 +00:00
wp_xxyyzz
54a4101f8a tvplanit: Fix crash of VpDayViewPainter caused by deleting uncreated regions (issue #33763, idea by linux-man)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6439 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-19 22:05:59 +00:00
wp_xxyyzz
6629fa2cc6 tvplanit: activate Hi-DPI imagelist of Laz 1.9+ for DayView icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6438 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 22:55:29 +00:00
wp_xxyyzz
ec29b90757 tvplanit: VpDayView icons are painted side-by-side now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 15:52:16 +00:00
wp_xxyyzz
3043e953cc tvplanit: Provide image list for the dayview icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 09:47:36 +00:00
wp_xxyyzz
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
wp_xxyyzz
2e2acca4da tvplanit: Draw transparent category icons in VpDayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 22:51:07 +00:00
wp_xxyyzz
7ac9a7ca1b tvplanit: Cleaning up unit VpBase
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6433 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 22:21:23 +00:00
wp_xxyyzz
5502e43d53 tvplanit: Show category colors and icons in category combobox of event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 21:21:16 +00:00
wp_xxyyzz
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
wp_xxyyzz
451b6e0016 tvplanit: Remove unnecessary call to Datastore.PostEvents after closing VpDayView's event editor dialog (issue #33749).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6430 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 16:04:57 +00:00
wp_xxyyzz
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
wp_xxyyzz
64aaca1c1d tvplaint: Rename the new VpDayView property CustomRowHeight to RowHeight.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6426 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 08:09:21 +00:00
wp_xxyyzz
2fd663bcf0 tvplanit: Add new parameter AGutterRect to the OnBeforeDrawEvent and OnAfterDrawEvent events of TVpDayView (issue #33748)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6425 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 07:58:22 +00:00
wp_xxyyzz
bb2bf8b3ca tvplanit: Fix VpZeosDatastore crashing when db-connection and table creation is not in a certain order. Fix AutoCreate.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6419 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 23:14:44 +00:00
wp_xxyyzz
8c17a2d31b tvplanit: Fix VpNavBar component editor crashing after adding an item if no image list is assigned.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6418 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 20:44:00 +00:00
wp_xxyyzz
fd634956fd tvplanit: Make VpDayView's new property ShowNavButtons work at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6417 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 20:09:59 +00:00
wp_xxyyzz
ea478cd403 tvplanit: Avoid truncation of VpDayView's NavBtns if no Header height if no Datastore is assigned.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6416 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 19:47:29 +00:00
wp_xxyyzz
3eb43e2152 tvplanit: Use scaled (instead of constant) TickDist in TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6414 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 09:25:37 +00:00
wp_xxyyzz
5a4a3b19c9 tvplanit: Add new properties to TVpDayView: ShowNavButtons, FixedDate, CustomRowHeight, RowLinesStep, SimpleRowTime (slightly modified patch by "linux-man", issue #33723).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6413 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-15 09:08:53 +00:00
wp_xxyyzz
4d4e06ecb9 tvplanit: Fix ZEOS Datastore crashing if ZConnection is open when connected to datastore (issue #33717).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6407 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-12 17:05:40 +00:00
wp_xxyyzz
417eff8496 tvplanit: Use Constraints in the VpNavBar component editor form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6392 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-06 08:47:18 +00:00
wp_xxyyzz
6f01c05126 tvplanit: A combined commit due to outage of sourceforge
- Increase version to 1.0.11 for new development version
- Fix misalignment of listboxes in VpNavBar component editor form (issue #33698)
- More flexible aligment of the listboxes in VpNavBar component editor (alLeft/alClient)
- Add themed highlighting of VpNavBar items.
- Extended VpNavBar demo with selection of item theme and text color.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6391 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-05 23:21:08 +00:00
wp_xxyyzz
22a58397f4 tvplanit: Set version to 1.0.10 for next release.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6389 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-05 16:09:31 +00:00
wp_xxyyzz
b68354b929 tvplanit: Support scaled imagelist of Laz 1.9+ in VpNavBar. Fix compilation with Laz 1.6.4/fpc 2.6.4.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6388 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-05 15:01:55 +00:00
wp_xxyyzz
3cfeca9127 tvplanit: Support VpNavBar scaling with screen resolution.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6386 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 22:28:03 +00:00
wp_xxyyzz
74675b1396 tvplanit: Make NavBar componente edit Hi-DPI aware (except for icons). Cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6385 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 14:26:36 +00:00
wp_xxyyzz
c5ed4281a9 tvplanit: Call IDEDialogLayoutList.Apply/SaveLayout used by other component editors (seems to have no effect)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6384 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 13:16:33 +00:00
wp_xxyyzz
20b643ae68 tvplanit: Find already-open VpNavBar component editor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6383 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 13:01:51 +00:00
wp_xxyyzz
b1084a5d3f tvplanit: Fix incorrect enable/disable state of command buttons in vpNavBar component editor after exchanging listbox items.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6382 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 12:40:53 +00:00
wp_xxyyzz
c599028a0c tvplanit: Fix IDE crashing at end if VpNavBar component editor is still open after editing a property in object inspector.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6381 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 12:35:39 +00:00
wp_xxyyzz
4a68ab4027 tvplanit: use a Listbox in VpNavBar component editor for image selection.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6380 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 12:04:31 +00:00
wp_xxyyzz
9ae714dee3 tvplanit: Change layout of VpNavBar component editor to clarify which action buttons belong to folders or which belong to btnitems.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6379 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 10:01:26 +00:00
wp_xxyyzz
fb3f45cf2c tvplanit: Remove RefreshTimer from VpNavBar component editor form and replace its function by property hook handler.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6378 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-04 09:17:09 +00:00
wp_xxyyzz
47138e4412 tvplanit: Prevent VpNavBar component editor playing sounds in design mode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6376 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-03 22:17:43 +00:00
wp_xxyyzz
6542115d09 tvplanit: Fix missing update of object inspector/component tree when new folders/items are added by VpNavBar component editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6375 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-03 22:12:30 +00:00
wp_xxyyzz
166dae1e7f tvplanit: Fix crash of IDE when a folder is added and deleted to an empty JvNavBar. Issue #33676. Patch by Hichem.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6374 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-03 13:19:15 +00:00