Commit Graph

195 Commits

Author SHA1 Message Date
wp_xxyyzz
d5536a27bc tvplanit: Refactor dayview painting (FixFontHeight and CalcRowHeadWidth into separate procedures).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 19:21:55 +00:00
wp_xxyyzz
8cebf7fdb9 tvplanit: Misc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4909 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 15:53:06 +00:00
wp_xxyyzz
524b731df8 tvplanit: Add dutch translation (by JanRoza). Update demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4908 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 12:39:22 +00:00
wp_xxyyzz
698d597333 tvplanit: New property UseAutoIncFields for TVpBufDSDatasource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 22:56:59 +00:00
wp_xxyyzz
32e02ae41e tvplanit: Fix white stripe appearing at the right of dayview print preview. Some refactoring and clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4905 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 20:30:06 +00:00
wp_xxyyzz
99b58efb54 tvplanit: Initial version with printing capabilities (still lots of bugs...)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4903 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 14:47:03 +00:00
wp_xxyyzz
f3cc257d5c tvplanit: Rename DrawingStyle dsNone to dsNoBorder. Fix dsBorder for all event views.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4900 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 08:39:53 +00:00
wp_xxyyzz
fc0fee4e00 tvplanit: Beginning to implement borderless DrawingStyle (dsNone)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4899 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-02 23:14:26 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
d1c3eed2fa tvplanit: Fix compilation error in prev commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 20:45:03 +00:00
wp_xxyyzz
90b0a58290 tvplanit: Fix some more minor DayView painting glitches.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4879 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-01 15:19:38 +00:00
wp_xxyyzz
a9cc270101 tvplanit: Allow for missing fields UserField0..9 in database tables.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4876 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 22:08:31 +00:00
wp_xxyyzz
82e258bdb7 tvplanit: Call notification when City-state-zip format is changed. Some improvements in "demo" projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:55:10 +00:00
wp_xxyyzz
9be9d8a4b8 tvplanit: New TVpControlLink property CityStateZip defining the country-dependant order and structure of the city-state-zip part of the address.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4866 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:22:33 +00:00
wp_xxyyzz
ae8fecb42d tvplanit: Display birthdate in contact edit dialog. Fix localization file not being found if its name contains the wrong path delimiter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 11:02:25 +00:00
wp_xxyyzz
7348cfd58a tvplanit: Fix TVpGeneralFilenameProperty (renamed from TVpGenericFilenameProperty). Register TVpLocalizeFilenameProperty and TVpWavFilenameProperty (instead of TVpWavFileProperty).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 09:51:37 +00:00
wp_xxyyzz
e445237ac3 tvplanit: Activate localization file in sample project "demo" (note: vplocalize.xml must be copied to project folder).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 22:48:44 +00:00
wp_xxyyzz
a804344102 tvplanit: Fix enabled state of day view popup menu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4855 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 16:50:32 +00:00
wp_xxyyzz
5bbb50a408 tvplanit: Clean up package requirements of demo projects
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4846 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 22:49:26 +00:00
wp_xxyyzz
723aa23ea5 tvplanit: Initial commit of an inifile datastore (working only partially at the moment). Add a demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4845 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-27 22:43:15 +00:00
wp_xxyyzz
7ec6f3104d tvplanit: Fix linewrapping in DayView cells. Fix DayView event display if recurring event is edited.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4844 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 22:21:39 +00:00
wp_xxyyzz
564a84a7d6 tvplanit: More refactoring of event painting in TVpDayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 13:52:59 +00:00
wp_xxyyzz
48bdc3b5c6 tvplanit: Remove a few unused variables in DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4838 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-26 08:14:09 +00:00
wp_xxyyzz
bbb235eec8 tvplanit: Fix demo not showing DayView when switching from MonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-25 10:56:48 +00:00
wp_xxyyzz
852270b0c2 tvplanit: Fix missing popup translation of task list and contact grid. Fix demo changing view when language is changed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 22:34:38 +00:00
wp_xxyyzz
281124bc97 tvplanit: Fix alarm and recurrance icons in DayView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4830 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 21:41:24 +00:00
wp_xxyyzz
4f2302a941 tvplanit: Fix DayView in-place editor reaching into adjacent column
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4826 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 19:10:59 +00:00
wp_xxyyzz
9943d1eca3 tvplanit: Fix not persistent storage of visible days in DayView (demo).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4825 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 17:55:44 +00:00
wp_xxyyzz
5d8b843f2b tvplanit: Some refactoring of task list (flat display style, cosmetic changes).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4818 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-24 10:33:55 +00:00
wp_xxyyzz
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
wp_xxyyzz
2a95d0b226 tvplanit: Refactor TVpContactGridPainter.DrawContacts (avoid repeated code per contact element).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 16:13:17 +00:00
wp_xxyyzz
9b8ce7a12b tvplanit: Move drawing code of TVpContactGrid to separate unit (VpContactGridPainter). Split off some shared code to TVpBasePainter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4811 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 11:53:21 +00:00
wp_xxyyzz
10899a4c21 tvplanit: No bevel in flat mode around a TVpWeekView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4809 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-23 08:47:09 +00:00
wp_xxyyzz
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
wp_xxyyzz
26d8e9b546 tvplanit: Improvements in demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4807 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 21:16:10 +00:00
wp_xxyyzz
9b5d03f687 tvplant: More features in demo project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4805 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 20:19:35 +00:00
wp_xxyyzz
38be775a00 tvplanit: Extend demo to show several days in DayView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4803 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 14:28:19 +00:00
wp_xxyyzz
e9199cdad2 tvplanit: Activate translation of dayview speedbuttons,
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 22:41:36 +00:00
wp_xxyyzz
cbd022cdea tvplanit: Add full demo incl NavBar and translation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4776 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 22:24:29 +00:00
wp_xxyyzz
b52244fc30 tvplanit: Remove dependence on ZeosDS package from sqlite3DS package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4774 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 11:46:07 +00:00
wp_xxyyzz
fe58e1530e tvplanit: Example for TBufDataset datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4773 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-19 11:44:35 +00:00
wp_xxyyzz
aafafb3e26 tvplanit: add demo for sqlite3datastore (based on SQLDB)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4769 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 19:02:42 +00:00
wp_xxyyzz
e655a1d85e tvplanit: Fix uninitialized local variable in TZeosDatastore.SetConnection.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-17 21:55:15 +00:00
wp_xxyyzz
9df4ade9b1 tvplanit: Add example for zeos datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-17 21:44:24 +00:00