Commit Graph

2732 Commits

Author SHA1 Message Date
paul
a75cc9ff3c CheckGroupBox autosizing patch from Mattias
git-svn-id: trunk@12530 -
2007-10-20 08:43:21 +00:00
paul
1221b576c7 patch from Mattias (something with autoSizing and run parameters dialog borders)
git-svn-id: trunk@12526 -
2007-10-20 02:31:41 +00:00
marc
d643d77da7 * when setting image transparency also set graphic.transparent in case of a bitmap. This fixes #9634 and avoids the need for setting bitmap transparency manually. Setting btimap transparency afterwards is still possible
git-svn-id: trunk@12515 -
2007-10-18 23:00:02 +00:00
mattias
1e738d86c5 LCL: DoAutoSize no longer tries to move childs positioned by CHildSizing.Layout
git-svn-id: trunk@12503 -
2007-10-17 10:34:37 +00:00
mattias
3cf6a7f99d LCL: TCustomNotebook added workaround for win32/64 intf that does not send WMSize messages for hidden pages
git-svn-id: trunk@12494 -
2007-10-16 21:57:11 +00:00
mattias
5bef34477f LCL: TPage: fixed ReAlign of TPage on leave, resize, return, fixed clean up after delayed resizing when parent controls become visible
git-svn-id: trunk@12488 -
2007-10-16 11:45:36 +00:00
mattias
029946b537 LCL: enabled autosize for controls without parent, TForm will not autosize if minimized/maximized, once painted
git-svn-id: trunk@12483 -
2007-10-15 23:30:39 +00:00
mattias
b2748c46db openglcontrol gtk2: reduced debugging output, fixed crash on destroy
git-svn-id: trunk@12479 -
2007-10-15 22:00:28 +00:00
paul
19df9e9b0f lcl: fix OnClick, OnChange event sequence for TCustomCheckBox (now must be identical on all widgetsets)
git-svn-id: trunk@12474 -
2007-10-15 11:18:13 +00:00
mattias
8528701b5f LCL: reduced debug output
git-svn-id: trunk@12469 -
2007-10-14 22:57:31 +00:00
mattias
18fa72e639 LCL: TBitBtn: implemented NumGlyphs from Giuliano Colla
git-svn-id: trunk@12467 -
2007-10-14 22:23:19 +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
tombo
15e3c6e26f LCL TCustomEdit: removed useless code in InitializeWnd
git-svn-id: trunk@12459 -
2007-10-14 11:05:07 +00:00
mattias
e197702f9e reduced warnings
git-svn-id: trunk@12414 -
2007-10-11 07:42:35 +00:00
vincents
fd83263261 LCL: made menu caption and hint translatable (#9876)
git-svn-id: trunk@12389 -
2007-10-09 08:27:16 +00:00
paul
564ac218a6 lcl: fix issue when scrollbar can have position more than in real
win32: fix incorrectly calculated clientrect of TScrollBox
(issue #0001986)

git-svn-id: trunk@12351 -
2007-10-06 15:51:37 +00:00
mattias
f20081a879 IDE: improved and enabled creation of .lrt files and combining all .rst/.lrt files into one .po files per project. ToDo: do the same for packages. From Luis Rodrigues
git-svn-id: trunk@12344 -
2007-10-06 13:59:31 +00:00
paul
852f93d82f lcl: move VerboseScrollingWinControl debug condition to separate method (to simplify condition change)
git-svn-id: trunk@12328 -
2007-10-05 05:48:17 +00:00
paul
38c4cf597b change formatting of controlscrollbar.inc (since nobody from devels were against)
git-svn-id: trunk@12326 -
2007-10-05 01:42:04 +00:00
paul
71c6cf7c04 lcl: fix formatting a bit
git-svn-id: trunk@12250 -
2007-09-30 06:13:28 +00:00
paul
8dca013550 lcl: change formatting a bit
git-svn-id: trunk@12248 -
2007-09-30 03:45:45 +00:00
paul
94eefa1e0e win32: use default window position and/or size in case of position in poDefault, poDefaultPosOnly, poDefaultSizeOnly (issue #0008139)
git-svn-id: trunk@12230 -
2007-09-29 08:26:34 +00:00
paul
b864b14f3d - change some formatting
- fix some verbose strings

git-svn-id: trunk@12207 -
2007-09-28 06:19:02 +00:00
paul
13c1fd094c Qt:
- restored painting inside groupbox
- fix IntersectClipRect
- fix DrawText (clipping)

git-svn-id: trunk@12188 -
2007-09-27 01:16:33 +00:00
paul
55a9f353b2 Qt:
- fix problem with grabbing mouse capture for TCustomControl
- remove toolbar and toolbutton implementation into ifdefs since ToolBar and ToolButton are TCustomControl descendants and fully implemented by LCL means

git-svn-id: trunk@12148 -
2007-09-23 06:52:30 +00:00
paul
60d836ccf8 widgetset: implement basic DrawFrameControl using TThemeServices class (no need for DrawFrameControl anymore in carbon, qt and maybe gtk widgetsets)
git-svn-id: trunk@12147 -
2007-09-23 06:48:16 +00:00
paul
df48056fc0 LCL: fix shortcut handling for TButton and TCheckBox
git-svn-id: trunk@12133 -
2007-09-22 12:54:48 +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
sekelsenmat
69c6ec9a96 Added gtk2 implementation for TTrayIcon and removed the widgetset implementations of GetCanvas on TTrayIcon.
git-svn-id: trunk@12106 -
2007-09-21 09:10:30 +00:00
sekelsenmat
05240ab420 Added win32 implementation of the trayicon
git-svn-id: trunk@12103 -
2007-09-21 07:07:29 +00:00
paul
764b474b83 Qt:
- fix TQtWinControl.CanFocus
- fix FocusPolicy for widgets - they now have only Click policy. Tab policy is not needed since LCL handle tabbing itself
- remove setTabOrders and related code since LCL handle tabbing itself
(issue #0009726)

git-svn-id: trunk@12102 -
2007-09-21 05:08:35 +00:00
sekelsenmat
fb74cf2f73 Started moving TTrayIcon to LCL. Implemented basics and the Qt implmentation.
git-svn-id: trunk@12097 -
2007-09-20 21:33:28 +00:00
paul
1335a9782c Win32: set imagelist and imageindex for TCustomNotebook and pages
git-svn-id: trunk@12085 -
2007-09-20 08:13:55 +00:00
paul
feb1dfe899 Qt:
- rework FileDialogs - now they understand more options and handle events (disadvantage - FileDialogs are no more native)
- fix ColorDialog (was wrong selected color)
- introduce TQtStringList which encapsulates QStringListH
- fix compilation of qt 4.2

git-svn-id: trunk@12083 -
2007-09-20 06:56:09 +00:00
paul
7da6e8a36f Qt:
- protect most qtwscontrols.pp class methods by WSCheckHandleAllocated
- cleanup

git-svn-id: trunk@12027 -
2007-09-14 05:05:19 +00:00
marc
5e2d879340 * Fixed menuitemclick for menus with submenu. Based on patch from Luis Rodrigues
* Optimized getting menu imagelist
* some cleanup

git-svn-id: trunk@12025 -
2007-09-13 22:42:57 +00:00
paul
a6de3a8e90 Qt: improve spin logic
git-svn-id: trunk@12009 -
2007-09-12 14:13:35 +00:00
mattias
b514d80686 LCL: fixed removing TCustomPage pfAdded when destroying handle
git-svn-id: trunk@11991 -
2007-09-10 19:23:00 +00:00
tombo
84a9218273 LCL fileutil: use PathSeparator for SearchFileInPath separator in FindDefaultExecutablePath instead of ':'
git-svn-id: trunk@11978 -
2007-09-09 14:13:52 +00:00
paul
8c2198629f - fix hang (on exit) of projects contains listview with assigned more than 1 imagelist (and hang on lazarus itself) (from Nikolay) issue #9609
git-svn-id: trunk@11975 -
2007-09-09 09:33:16 +00:00
paul
7d5f9842ec - fix win32 crash if listview imagelist changed to nil (from Nikolay aka Browny)
- change ToolButtons font on ToolBar font change events (from Nikolay)
- redraw ToolButton if enabled changed and pass apropriate flag to ImageList.Draw (from Nikolay)
- cleanup

git-svn-id: trunk@11974 -
2007-09-09 08:53:16 +00:00
paul
297ed60657 lcl:
- add rubberband component
- add qt rubberband implementation

git-svn-id: trunk@11954 -
2007-09-07 16:39:27 +00:00
mattias
ca365cd4ff h2pas: added tool to convert c function types to pointers
git-svn-id: trunk@11953 -
2007-09-07 10:34:35 +00:00
marc
5f938bdfed * Fixed TImage autosizing
git-svn-id: trunk@11945 -
2007-09-05 23:41:26 +00:00
paul
ddfc237f5c LCL:
- dont call WS class methods in listview.loaded if handle is not  allocated yet

git-svn-id: trunk@11941 -
2007-09-05 03:05:43 +00:00
tombo
5937d4ff1c IntfBaseWinAPI: applied patch #0009592: Bug in TWidgetSet.DrawText from Phil J. Hess
git-svn-id: trunk@11937 -
2007-09-04 11:45:49 +00:00
paul
d00181d3e6 forgotten files + cleanup
git-svn-id: trunk@11927 -
2007-09-03 08:04:01 +00:00
marc
fd56b7393b * Changed default bitmaptype to DIBSection, so different depths can be supported (fixes default transparency on win32)
git-svn-id: trunk@11921 -
2007-09-02 22:51:27 +00:00
marc
7bec7f1be6 * Fixed bug #9405, a wrong graphic type was forced
git-svn-id: trunk@11918 -
2007-09-02 15:46:26 +00:00