Commit Graph

73 Commits

Author SHA1 Message Date
bart
fbf0df95ec Dialogs, ExtDlgs:
- return correct Height/Width for TFindDialog, TCalendarDialog, TCalculatorDialog
- implement Top/Left for TExtCommonDialog

git-svn-id: trunk@47028 -
2014-11-29 16:19:38 +00:00
bart
13d20a3399 TCalendarDlg: reduce visibility of Top/Left properties (not needed @designtime and it has unwanted effects in the designer).
git-svn-id: trunk@46995 -
2014-11-26 19:43:20 +00:00
bart
c57b1c69bc TCalendarDialog: anchor the buttons instead of aligning (looks a bit nicer IMHO).
git-svn-id: trunk@46839 -
2014-11-13 17:39:08 +00:00
bart
6e411be053 TCalendarDialog: implement Left and Top properties.
git-svn-id: trunk@46801 -
2014-11-12 15:11:37 +00:00
bart
2ece5f8498 TCalendarDialog: implement OnChange event.
git-svn-id: trunk@46792 -
2014-11-09 18:41:00 +00:00
bart
311f06d24a TCalendarDialog: update TCalendarDialog.Date before calling OnXXXChanged events. Issue #0026852.
git-svn-id: trunk@46791 -
2014-11-09 18:36:58 +00:00
bart
002710fa19 TCalendarDialog: implement OnShow, OnClose and OnCanClose events.
git-svn-id: trunk@46790 -
2014-11-09 16:02:17 +00:00
bart
a10a83428d TCalendarDialog: make it possible to navigate calendar by keyboard.
git-svn-id: trunk@46789 -
2014-11-09 15:20:05 +00:00
mattias
76b41ca24f LCL: clean up
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
paul
84a7c42b2f lcl: move calculator images from Lazarus to FPC resources
git-svn-id: trunk@42965 -
2013-09-27 05:40:11 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
juha
48f88c37ef Revert "Use AllFilesMask everywhere instead of GetAllFilesMask, mask must be fixed in FPC libs"
git-svn-id: trunk@40957 -
2013-04-30 16:35:02 +00:00
juha
73fb9ab0e2 Use AllFilesMask everywhere instead of GetAllFilesMask
git-svn-id: trunk@40849 -
2013-04-19 07:08:03 +00:00
juha
a2ad729243 LCL: Set position of Calendar- and CalculatorDialog to poScreenCenter at design time. Issue #22171
git-svn-id: trunk@37479 -
2012-06-02 11:32:12 +00:00
juha
46dd2e5203 LCL: Prevent "Test Dialog" feature of Calculator and Calendar dialogs locking the IDE, issue #21644
git-svn-id: trunk@36661 -
2012-04-08 17:14:56 +00:00
juha
bd7ff78718 LCL: Refactoring. Make TCalculatorDialog.Execute more understandable by removing a "with" block.
git-svn-id: trunk@36659 -
2012-04-08 07:57:02 +00:00
maxim
3677e97597 LCL: fix some inconsistencies in translating dialog titles (patch from cobines, bug #19869):
a) TSavePictureDialog
      - override DefaultTitle
      - do not set Title in Create (already done in inherited constructor)
      - set fCompStyle:=csSaveFileDialog (as in TSaveDialog)

    b) TCalculatorDialog
      - don't use your own Title, but use inherited Title property
      - override DefaultTitle

    c) TCalendarDialog
      - don't use your own DialogTitle, but use inherited Title property
      - remove DialogTitle property
      - override DefaultTitle

git-svn-id: trunk@31848 -
2011-08-02 20:25:45 +00:00
paul
57daf59d6e lcl: use DefaultFormatSettings to prevent deprecated message generation
git-svn-id: trunk@28588 -
2010-12-02 07:21:19 +00:00
paul
6380ade6ac lcl, win32: handle clDefault font color in controls
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +00:00
paul
07c85a5453 lcl: fix CreateParams for TPreviewFileControl
git-svn-id: trunk@25228 -
2010-05-07 00:44:13 +00:00
paul
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
paul
2d12587b11 lcl: TPreviewFileControl should not remove WS_CHILD in CreateParams since it is a child control
git-svn-id: trunk@25198 -
2010-05-05 00:33:54 +00:00
mattias
4135aa5ec6 LCL: TCalendarDialog: enabled AutoSize, bug #16305
git-svn-id: trunk@24782 -
2010-04-21 07:38:19 +00:00
mattias
ad982bfee9 LCL: TCalculatorForm, TCustomDockForm, TSynBaseCompletionForm, ShowInputDialog: combine creation
git-svn-id: trunk@24422 -
2010-04-05 00:03:39 +00:00
paul
5dbecdbe8d lcl: move few const arrays from the unit section to a methods where they are really used
git-svn-id: trunk@23640 -
2010-02-05 09:39:18 +00:00
paul
f8a1f56fb6 lcl: don't use initialization section with resources in extdlgs, include resources only if calculator panel is used.
git-svn-id: trunk@23638 -
2010-02-05 09:19:06 +00:00
sekelsenmat
9d1b80451a Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
5a3f0457dd lcl: don't close calendar dialog and calendar popup form on double click if user clicked on wrong parts of calendar (issue #0009722)
git-svn-id: trunk@19126 -
2009-03-27 03:25:20 +00:00
paul
802244bbfa lcl: cleanup TCalendarDialog
git-svn-id: trunk@19088 -
2009-03-24 10:11:29 +00:00
paul
68603b956b lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
d7d65211b7 lcl: cleanup
git-svn-id: trunk@18512 -
2009-01-31 10:37:31 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
vincents
2d5ba04966 LCL: don't add scrollbars to calendar dialog
git-svn-id: trunk@16825 -
2008-10-01 10:22:04 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
paul
b3f92f1005 lcl: fix TCalcButton
- AsFloat now does not raise an exception if value is empty
 - fix calculator form creation

git-svn-id: trunk@16177 -
2008-08-21 14:01:54 +00:00
mattias
fc3340556a LCL: fixed encoding
git-svn-id: trunk@15983 -
2008-08-07 14:16:17 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
tombo
899c458ad0 LCL graphics:
- implemented TPicture saving to different format
- improved picture formats management, added more JPEG extensions
LCL picture dialogs:
- added function for retrieving extension from selected filter

git-svn-id: trunk@15653 -
2008-07-02 12:12:10 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
mattias
0d29c31f7c gtk2 intf: implemented selection change for file dialogs
git-svn-id: trunk@12632 -
2007-10-29 22:47:46 +00:00
mattias
1d517decaf IDE: fixed auto code templates to not always add the typed character, IDE: fixed resetting IDE ToolStatus, fixing crash when double clicking on install package button, IDEIntf: added property OpenEditorsOnCodeToolChange to allow tools to cleanly change sources (this fixes the bug of quickfix items not working with temporary files)
git-svn-id: trunk@12613 -
2007-10-27 18:26:35 +00:00
mattias
6264aac23c LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
vincents
bd03f62f68 LCL calendar dialog:
+ added DialogPosition property (#8885)
+ double clicking the calendar closes the dialog 

git-svn-id: trunk@11150 -
2007-05-16 08:38:20 +00:00
vincents
a168e7a228 LCL: don't capitalize keywords (e.g Property -> property)
git-svn-id: trunk@11043 -
2007-05-01 17:32:12 +00:00
vincents
cee4c76647 disable autosize for calendardialogform, because it doesn't work correctly
git-svn-id: trunk@9350 -
2006-05-24 21:14:32 +00:00