Commit Graph

51 Commits

Author SHA1 Message Date
ecb135c238 tvplanit: Keep start-to-end-time interval when start time is changed by TimeDialog in event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6516 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 21:13:53 +00:00
8a9d5799a8 tvplanit: Implement import of events from iCal files (*.ics). Some issues left.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-15 23:40:18 +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
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
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
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
35aab9fbed tvplanit: use smaller icons in internal dialogs
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5899 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-25 10:55:40 +00:00
2a4643b959 tvplanit: Every internal icon has three versions at 100%, 125% and 150% resolution now. (Icons from icon8.com). Old icons can be re-activated by undefining NEW_ICONS in vp.inc.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-23 17:39:54 +00:00
e9103a1af1 tvplanit: Update VpEdFmt to scale correctly in the HighDpi mode of Lazarus 1.8. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5884 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-20 17:00:14 +00:00
856b65b6bd tvplanit: Update VpWavDlg to scale correctly in the HighDpi mode of Lazarus 1.8. Fix scaled size of SoundFinderBtn in VpEvntEditDlg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5877 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-19 21:42:06 +00:00
21df6e63ed tvplanit: Update TEventEditForm to scale correctly in the HighDpi mode of Lazarus 1.8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5875 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-05-19 20:42:16 +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
6a1b6b86de tvplanit: Fix duplicate storage of contacts (hopefully..). Remove unnecessary code from event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5179 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-18 16:32:15 +00:00
df1f7bda09 tvplanit: Reverse order of OK and Cancel buttons for Linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5083 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-13 12:24:22 +00:00
d961a31803 tvplanit: Trying to get high-dpi correct (many changes)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5077 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-06 22:18:53 +00:00
990112f3ff tvplanit: Bring back TTimeEdit lost in a previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5037 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-26 13:02:32 +00:00
d733f1bd5e tvplanit: Hide sound finder btn in event editor if OnPlaySound event handler is not assigned in non-windows systems.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-19 17:34:56 +00:00
ccc86f27cf tvplanit: Fix positioning of controls in event editor for gtk2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5002 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-18 23:15:02 +00:00
c3e096135d tvplanit: Fix compilation with laz < 1.6 and fpc < 3.0. Refactor NavBar painting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4986 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-17 10:17:24 +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
1c77c991c8 tvplanit: Some more improvements in vertical control positioning in event editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4955 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 12:41:22 +00:00
9b7ab94f81 tvplanit: Improvements of event and contact editor at high-dpi, but still issues.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4951 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 09:40:54 +00:00
5afdf2e289 tvplanit: Fix vertical arrangement of controls in event editor at > 96 dpi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 22:58:32 +00:00
f51e3d26b3 tvplanit: Again - fix height of category combobox in event editor at 120 dpi.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4945 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 22:07:36 +00:00
aba9d82e27 tvplanit: Fix height of category combobox in event editor at 120 dpi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-13 21:34:45 +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
4f83704448 tvplanit: Fix Event Editor if start and end times are in reverse order. Some cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4871 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 22:24:10 +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
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
866f9db96a tvplanit: In event editor, reposition controls at runtime to take care of label widths changing due to translation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4788 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-21 11:25:17 +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
a089da3b74 tvplant: Fix duplicate storage of events in sqlite3 datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4770 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-18 19:45:43 +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
4493e26898 tvplanit: Cosmetic changes in WavDlg (use ModalResult)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4745 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-14 10:33:10 +00:00
8c34f2a85a tvplanit: New datastore property MediaFolder (TWavDlg looks here for sound files)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-14 09:08:12 +00:00
4f78ba87e7 tvplanit: In WavDlg, replace FileListbox by ShellListview. Some gui improvements in WavDlg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4741 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-13 19:42:10 +00:00
b5e33953a7 tvplanit: Minor layout changes for SoundFinderBtn in EventEditDlg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4740 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-13 17:26:15 +00:00
d1a1583328 tvplanit: Fix wavdlg to play the selected sound file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4739 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-13 13:04:44 +00:00
7ae8dc2155 tvplanit: Use OnPlaySound event in TWavDlg (basic functionality)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4738 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-13 12:57:00 +00:00
d22805889a tvplanit: Restore basic functionality of WavDlg.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4737 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-13 10:06:54 +00:00
fc91764452 tvplanit: Improved layout of Event editor in case of translation. Cosmetic format changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4731 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-12 18:11:04 +00:00
8b2fe7e075 tvplanmit: In TaskEditorDialog, replace the time combobox with Lazarus' TimeEdit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4726 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-12 13:20:21 +00:00
968af22828 tvplanit: Consistent field mappings.
Changed PlanIt field names: 
 Contacts: 
    Position -> Job_Position 
 Events: 
    AlarmAdv -> AlarmAdvance
    AlarmAdvType -> AlarmAdvanceType
    CustInterval -> CustomInterval.

Previous changes: 
 Resource: 
    Active --> ResourceActive
 Events: 
    AlarmWavPath --> DingPath
    Note --> Notes 
    Location (new);
 Contacts:
    Note --> Notes

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4725 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-12 12:53:26 +00:00
74f08ceafe tvplanit: Add new event field "Location". Rename some fields for more consistency. Undo some of the changes in previous commit inspired by CodeTyphoon version.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4717 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-11 14:09:10 +00:00
c4c24a03c9 tvplanit: Make sure that lfm files can be found. Remove any calls to lrs files from the sources.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4684 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-07 16:34:18 +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
b6ccf41e4f Fixed some small bugs
fixed dayview
reworked event Edit Dlg

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1084 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-24 22:41:52 +00:00
fd643c44c7 changed standard bk color of alarm dlg
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@355 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-20 21:13:06 +00:00
d9e7625cf7 fixed some dialogs
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@346 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-08 15:07:26 +00:00
ee3296a1cd Event editor reworked
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@343 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-05 23:55:30 +00:00