Commit Graph

140 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
giuliano
7f75c3a2e3 New version of Find and Replace Dialogues. Forms created in code without
loading a .lfm from stream. Added an frButtonsAtBottom Option.
Removed dependency from /lcl/forms/finddlgunit.* and /lcl/forms/replacedlgunit.*

git-svn-id: trunk@46783 -
2014-11-07 22:43:27 +00:00
juha
51ab663b7f LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781, patch from Sandro Cumerlato.
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
mattias
6f709510c7 lcl: use GetPhysicalFilename instead of readalllinks
git-svn-id: trunk@45244 -
2014-05-30 12:40:47 +00:00
paul
449c561861 lcl: move dialog icons from Lazarus to FPC resources
git-svn-id: trunk@42962 -
2013-09-27 03:38:18 +00:00
mattias
61c1298df5 LCL: dialogs: allow defining own messagedlg overloads
git-svn-id: trunk@42222 -
2013-07-28 21:48:45 +00:00
bart
2b0d38d8b6 TPromptDialog: handle Ctrl+C (copy MSG to clipboard).
Issue #0016295.

git-svn-id: trunk@42005 -
2013-07-06 12:57:26 +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
mattias
2edf8a1512 LCL: MessageDlg: changed result type to TModalResult for nicer code completion
git-svn-id: trunk@38623 -
2012-09-12 14:03:18 +00:00
juha
6999fe91fc LCL: Fix mrCancel and mbClose behavior in a MessageDlg. Issue #21801, patch from Bart Broersma
git-svn-id: trunk@37065 -
2012-04-28 14:52:08 +00:00
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
mattias
63bed888d2 LCL: clean up
git-svn-id: trunk@35505 -
2012-02-20 10:23:34 +00:00
mattias
bbe475b828 LCL: TFilenameEdit: check if Filename exists, use InitialDir
git-svn-id: trunk@35450 -
2012-02-18 15:52:39 +00:00
juha
6493c83448 LCL: added checkbox "Prompt on replace" to TReplaceDialog. Issue #20654, patch from Bart Broersma
git-svn-id: trunk@33585 -
2011-11-17 13:41:04 +00:00
jesus
5b5134d710 LCL, fix commondialog under gtk2 insist on calling close twice
git-svn-id: trunk@32194 -
2011-09-06 16:29:43 +00:00
maxim
0faebc761a LCL: fixed message dialog standard captions localization, bug #19757
git-svn-id: trunk@31727 -
2011-07-17 18:04:39 +00:00
mattias
bf3766ff9c LCL: TFindOption: frHideEntireScope, feature 19619
git-svn-id: trunk@31357 -
2011-06-24 10:54:51 +00:00
mattias
7b812f3b86 IDE: open file: add file masks of editor files
git-svn-id: trunk@29601 -
2011-02-18 20:06:39 +00:00
mattias
c5dcc6c2c8 LCL: added TFileDialog.ExtractAllFilterMasks
git-svn-id: trunk@29600 -
2011-02-18 19:25:06 +00:00
mattias
15e4d2cce8 lcl: fixed fpgui compilation
git-svn-id: trunk@29217 -
2011-01-27 17:27:05 +00:00
mattias
c7d2d778a0 LCL: TSpeedButton: started AutoSize, added parameter Drawing to GetGlyphSize and GetTextSize
git-svn-id: trunk@29122 -
2011-01-19 12:53:12 +00:00
paul
ebffc65625 lcl: Find/Replace dialogs title localization by Anton (part of issue #0018329)
git-svn-id: trunk@28944 -
2011-01-11 03:31:55 +00:00
paul
d34e4eb1c0 lcl: add a possibility to override QuestionDlg in widgetset
git-svn-id: trunk@28445 -
2010-11-24 08:16:34 +00:00
paul
e3134c1abd win32: start implementation of Vista+ FileOpen and FileSave dialogs. todo is in the win32wsdialogs.pp
git-svn-id: trunk@28239 -
2010-11-15 08:11:31 +00:00
sekelsenmat
56f71a1c43 Moves the code to set the initial dir for win32 from the LCL to the win32 widgetset. Fixes bug #17772
git-svn-id: trunk@28055 -
2010-11-03 10:54:18 +00:00
maxim
02790b2ed8 LCL: make file dialog title translatable (note that default title will be translated by using lclstrconsts.xx.po in your program). Fixes bug #12969.
git-svn-id: trunk@27708 -
2010-10-14 22:12:54 +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
sekelsenmat
74f27bdc7b Improves the fpc 2.2.4 defines
git-svn-id: trunk@24957 -
2010-04-26 08:43:23 +00:00
sekelsenmat
e3b6b29bdb Implements support for FPC 2.2.4 for WinCE
git-svn-id: trunk@24956 -
2010-04-26 08:31:15 +00:00
jesus
55303289f0 LCL, set default copies=1 in print dialog, from C. Western, issue #15831
git-svn-id: trunk@23755 -
2010-02-21 21:35:55 +00:00
paul
8d6ba261db lcl: fix compilation
git-svn-id: trunk@23438 -
2010-01-13 13:09:28 +00:00
mattias
a0468e41ab LCL: TFindDialog: added option entire scope, from Brad Campbell, bug #13783
git-svn-id: trunk@20397 -
2009-06-04 08:52:15 +00:00
paul
7077ce2718 lcl: fix InputQuery layout
git-svn-id: trunk@19969 -
2009-05-15 07:26:03 +00:00
paul
beb1e199bb lcl: add helper function to get stock button and dialog images and captions:
- GetButtonCaption,
  - GetButtonIcon
  - GetDialogCaption
  - GetDialogIcon

git-svn-id: trunk@19784 -
2009-05-03 14:59:50 +00:00
paul
c92f6641d1 lcl: replace TWidgetSet.LoadStockPixmap by ThemeServices.GetStockImage
git-svn-id: trunk@19769 -
2009-05-02 15:36:56 +00:00
paul
5e0facaee9 lcl: fix button sizes in TPromptDialog (messagedlg, showmessage) and TQuestionDialog
git-svn-id: trunk@19539 -
2009-04-21 05:05:40 +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
e486ddaa54 lcl: cleanup
git-svn-id: trunk@19284 -
2009-04-09 08:03:03 +00:00
paul
5858273212 lcl: formatting, + simplify TApplication.GetTitle
git-svn-id: trunk@19148 -
2009-03-29 06:43:39 +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
9839c4a098 win32:
- change set open/save dialog options after execute
  - use DefaultExt
fixes bug #0013040

git-svn-id: trunk@18507 -
2009-01-30 18:02:41 +00:00
vincents
0ed0c4a098 LCL: added CreateMessageDialog from Bart Broersma (issue #8186)
git-svn-id: trunk@18142 -
2009-01-05 20:42:25 +00:00
paul
0d1dc20479 lcl: draw disabled color button with disabled color rectangle (#bug 0012886)
git-svn-id: trunk@18030 -
2009-01-02 06:56:16 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
910cfc5b20 lcl: set default values for some component properties
git-svn-id: trunk@17725 -
2008-12-08 09:48:25 +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
paul
b36d20730f lcl:
- add TColorBox.CustomColors property (as delphi has)
  - populate TColorBox.CustomColors with standard + extended colors
  - add function to extract ColorIndex and ColorValue from CustomColors list

win32: 
  - split TWin32WSColorBox code between CreateHandle, FreeHandle and ShowModal
  - use TColorBox.CustomColors to populate win32 colorbox custom colors (todo for qt, gtk2, carbon?)

git-svn-id: trunk@17337 -
2008-11-11 10:39:22 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
75055ed73e LCL: publish TColorButton.GroupIndex (bug #11021)
git-svn-id: trunk@14604 -
2008-03-20 22:32:33 +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