Commit Graph

516 Commits

Author SHA1 Message Date
mattias
4c1b802fe1 LCL: autosizing parent control now work with childs anchored to parent
git-svn-id: trunk@11851 -
2007-08-23 20:14:12 +00:00
mattias
ebac9fd99f gtk2 intf: added workaround for inherited call bug of TGtk2WSCustomComboBox.DestroyHandle
git-svn-id: trunk@11779 -
2007-08-10 17:18:51 +00:00
vincents
fd3816388c LCL: FindNextControl returns first control, if the current control is not in the taborder list (fixes #9390) from Gerard Visent
git-svn-id: trunk@11765 -
2007-08-09 20:51:31 +00:00
mattias
d48eb4b364 codetools: implemented function to convert simple functions to constants, h2pas: new tools to reduce IFDEFs and fucntions to constant conversion
git-svn-id: trunk@11761 -
2007-08-08 18:22:43 +00:00
mattias
3f1cae0b7b LCL: TToolBar: Indent is now used in AdjustClientRect to allow AutoSize=true, TWinControl.GetChildBounds now use AdjustClientRect for space
git-svn-id: trunk@11736 -
2007-08-04 12:13:16 +00:00
mattias
0f906599f6 LCL: fixed DoAutoSize endless loop, h2pas: small improvements, fixed range check errors
git-svn-id: trunk@11717 -
2007-08-02 18:51:03 +00:00
mattias
83af777229 gtk intf: fixed LineTo to not paint last pixel if Pen.Width<=1
git-svn-id: trunk@11711 -
2007-08-02 11:46:06 +00:00
paul
ca9fa35962 - lcl: fix compiler errors with VerboseDrag turned on
- qt: dont send LM_CAPTURECHANGED if previously there was no capture (fix qt drag drop)

git-svn-id: trunk@11680 -
2007-07-30 17:45:22 +00:00
sekelsenmat
fb1c77e480 Fixed identation and activated debug information for CN_CHAR handling on TWinControl, when VerboseKeyboard is activated
git-svn-id: trunk@11675 -
2007-07-30 07:18:35 +00:00
vincents
3f7cf2ae0c added Bart Boersma to the contributors
git-svn-id: trunk@11491 -
2007-07-13 12:42:44 +00:00
paul
212f9b4855 QT:
- fix destroying of PopupMenu
- implemented setShowInTaskBar
- better handling of BorderStyle = bsNone
- hide menuBar if there is no MainMenu
- allow creating of MDIForm and MDIChild form (qt has implementation)
- fix problem with overlaying menubar by other widgets

git-svn-id: trunk@11452 -
2007-07-10 03:01:25 +00:00
mattias
a07810628b gtk1 intf: workaround for gtk bug: if there is a theme engine, ignore area parameter of draw events, fix for bug #1152
git-svn-id: trunk@11440 -
2007-07-07 10:21:18 +00:00
vincents
fd11231a53 LCL: cleanup unnecessary local variable (bug #9218)
git-svn-id: trunk@11432 -
2007-07-06 07:56:44 +00:00
vincents
8ab969918a LCL: don't call default mouse wheel message handler if DoMouseWheel has handled the message (bug #8364)
git-svn-id: trunk@11414 -
2007-07-03 11:59:22 +00:00
mattias
1eff85d939 gtk2 intf: improved resizing code to not need the caching trick
git-svn-id: trunk@11212 -
2007-05-29 00:30:26 +00:00
mattias
78509220c9 LCL: TSpeedButton: if mouse capture lost then update state, fixed state when invoking Click which triggers ShowModal
git-svn-id: trunk@11211 -
2007-05-28 12:12:51 +00:00
paul
0b6ce0bd99 BiDiMode patch from zaher dirkey (report 0008955)
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
mattias
d45e62cd1b gtk2 intf: disabled removing callbacks, added GetDefaultClientRect for TPage and TNoteBook
git-svn-id: trunk@11189 -
2007-05-23 23:24:14 +00:00
paul
f0b6a15c49 - problems with showing control second time after hiding form (noticed in Search/Replace dialog under gtk1)
git-svn-id: trunk@11170 -
2007-05-20 09:03:30 +00:00
mattias
f1ddc29682 LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
paul
65e4295973 - TForm.OnShow and OnHide should fire before actual visibility change
- TEdit OnChange should not be called while control creation sequence
(reports 8826, 8828)

git-svn-id: trunk@11120 -
2007-05-10 07:39:53 +00:00
mattias
f33da32bb4 LCL: reduced calls of ReAlign from Darek
git-svn-id: trunk@11021 -
2007-04-28 18:45:02 +00:00
mattias
383d48a263 LCL: IsControlMouseMsg no longer queries childs which get their own messages.
git-svn-id: trunk@11019 -
2007-04-27 15:35:29 +00:00
mattias
3012a523fe fixed FPC 2.0 compilation
git-svn-id: trunk@11018 -
2007-04-27 15:06:08 +00:00
mattias
c902aecea7 gtk2 intf: fixed resizing windows, fixed creation and position of hint windows
git-svn-id: trunk@11017 -
2007-04-27 14:25:19 +00:00
mattias
0cbf3340ac gtk2 intf: fixed connecting events of TListBox
git-svn-id: trunk@11012 -
2007-04-27 09:30:50 +00:00
mattias
25c19fafdd gtk2 intf: fixed places were still old gtk_file_selection instead o gtk_file_chooser were used
git-svn-id: trunk@11010 -
2007-04-27 07:56:24 +00:00
paul
6bffe803aa - fixing problems with problems with TNoteBook.TabPosition in win32
- Qt implementation of TabPosition
- Gtk Notebook creating code moving

git-svn-id: trunk@10864 -
2007-04-04 07:39:25 +00:00
mattias
6b9944e3a0 IDE: compiling a package now shows it in the MainBar caption, building the IDE does not save virtual projects
git-svn-id: trunk@10837 -
2007-03-31 12:41:20 +00:00
paul
78187ac487 - added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop

git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
vincents
d69e8e388f LCL: commented debug output of TWinControl.WMChar
git-svn-id: trunk@10804 -
2007-03-26 10:01:08 +00:00
mattias
f107b6226b gtk intf: fixed sending LM_CHAR
git-svn-id: trunk@10803 -
2007-03-26 09:43:02 +00:00
vincents
2e210fd810 LCL: don't try to focus a control with csDestroyingHandle in ControlState (bug #8334)
git-svn-id: trunk@10671 -
2007-02-22 22:36:24 +00:00
marc
6737a6ef3d * cursor patch from Paul Ishenin
+ added extra handle checks
* enabled some gtk2.2 code for getting cursorpos

git-svn-id: trunk@10597 -
2007-02-06 01:34:29 +00:00
mattias
2b1083e359 LCL: SetTempCursor is now called on every mouse move, cursors of TControls
git-svn-id: trunk@10595 -
2007-02-05 23:24:03 +00:00
micha
8e29013693 fix cursor position, patch by Paul Ishenin (issue #8181)
git-svn-id: trunk@10533 -
2007-01-29 20:57:51 +00:00
mattias
28dffc6241 LCL: changed LCL additions ControlAtPos to use Flags, added capfNoScrolling
git-svn-id: trunk@10489 -
2007-01-22 16:04:05 +00:00
mattias
312ea10264 lcl: moved TWinControlActionLink Help attributes to TControlActionLink from Sergei
git-svn-id: trunk@10392 -
2007-01-08 01:27:21 +00:00
mattias
3f4887140f LCL: OnResize and OnChangeBounds are now suspended after OnCreate
git-svn-id: trunk@10360 -
2006-12-30 11:48:48 +00:00
mattias
ffb717dbc2 codetools: class completion: copying class keyword for virtual methods
git-svn-id: trunk@10326 -
2006-12-13 09:19:05 +00:00
mattias
b8e285a693 gtk2 intf: added gdkwindows for client widgets: gtk_fixed_new
git-svn-id: trunk@10120 -
2006-10-28 15:07:08 +00:00
mattias
d6eb52a88b gtk intf: reduced X queries for GetCursorPos, LCL: extended ControlAtPos to search recursive, gtk2 intf: FindControlAtPos now searches recursive and now finds sub child controls, IDE: renaming units via save-as now consider code renames by user
git-svn-id: trunk@10114 -
2006-10-28 10:50:00 +00:00
mattias
0c307f6bf0 IDE: improved ancestor laoding, LCL: fixed TWinControl.InsertControl overhead calling wrong UpdateControlState
git-svn-id: trunk@10005 -
2006-09-29 17:03:51 +00:00
mattias
4e9094019f LCL: fixed storing ClientWidth/Height and using them after loading for child controls
git-svn-id: trunk@9923 -
2006-09-18 00:08:45 +00:00
mattias
c8913db097 LCL: fixed TCustomPage.IsControlVisible
git-svn-id: trunk@9915 -
2006-09-16 10:08:39 +00:00
mattias
f68e5b904f IDE: improved layout of compiler options, LCL: calling AdjustSize when client rect changed
git-svn-id: trunk@9890 -
2006-09-13 20:57:35 +00:00
mattias
0e642e4143 LCL: improved autosizing of TWinControl with childs
git-svn-id: trunk@9877 -
2006-09-12 23:22:24 +00:00
mattias
2f449c60a7 qt intf: TLabel from Felipe
git-svn-id: trunk@9794 -
2006-09-02 20:38:21 +00:00
vincents
f5476de4bb LCL: fixed notification of parent font changes (issue #7325)
git-svn-id: trunk@9772 -
2006-08-31 10:13:45 +00:00
mattias
ca2b538cf7 IDE Help for FPC keywords activated, IDE find now supports multi lines, regexpr case insensitive, regexpr whole words
git-svn-id: trunk@9766 -
2006-08-29 17:35:20 +00:00
vincents
c42bbc3a30 lcl: don't set shift state to ssMiddle when handling a wheel mouse message (issue #7093)
git-svn-id: trunk@9765 -
2006-08-29 12:36:08 +00:00
mattias
5c7c30f966 LCL aligning: no longer forgets to call DoAutoSize after aligning
git-svn-id: trunk@9762 -
2006-08-28 21:36:21 +00:00
mattias
ac5ae3b17e fixed fpc 2.1.1 compilation, docking: implemented shrinking to get space for docked control
git-svn-id: trunk@9718 -
2006-08-12 10:55:22 +00:00
mattias
f0c29671f5 updated german translation from Swen
git-svn-id: trunk@9710 -
2006-08-10 10:15:48 +00:00
mattias
2fcdb04917 carbon: implemented LM_SIZE, LM_MOVE, LM_PAINT messages
git-svn-id: trunk@9701 -
2006-08-04 15:35:52 +00:00
mattias
b71a2a8654 added check if fDockClients=nil (issue #7023)
git-svn-id: trunk@9591 -
2006-07-10 19:41:27 +00:00
mattias
50e2dbfddb added workaround for x86_64 double 0/x bug
git-svn-id: trunk@9490 -
2006-06-23 16:09:38 +00:00
mattias
b9f853b989 disabled ipfilebroker, because of missing IFDEF IP_LAZARUS
git-svn-id: trunk@9429 -
2006-06-13 07:39:52 +00:00
mattias
88a04ff101 removed TLabel fontchanged hook and added TCheckList.OnClickChecked event from Darek
git-svn-id: trunk@9403 -
2006-06-05 10:24:47 +00:00
mattias
cac7932f7c LCLnow uses GetPreferredSize without theme space
git-svn-id: trunk@9333 -
2006-05-22 00:05:39 +00:00
mattias
e81c0f77a0 added WithThemSpace parameter to GetPreferredSize
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00
mattias
236481b49c implemented parameter hints
git-svn-id: trunk@9314 -
2006-05-20 12:53:57 +00:00
mattias
6d45de5a54 added Giuliano Colla to contributors
git-svn-id: trunk@9253 -
2006-05-08 10:32:45 +00:00
mattias
e9aefb922b fixed alRight, alBottom order, when two controls are at the same position
git-svn-id: trunk@9252 -
2006-05-08 09:37:02 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
a8832a3e66 help for IDE windows: started editor and mapping
git-svn-id: trunk@9198 -
2006-04-28 14:16:25 +00:00
mattias
422e644e54 reduced overhead in TWinControl.IsControlMouseMsg from Darek
git-svn-id: trunk@9164 -
2006-04-23 20:20:22 +00:00
mattias
13302aeb6c added TWinControl.SelectFirst
git-svn-id: trunk@9046 -
2006-03-30 09:27:44 +00:00
vincents
380fa81917 finished implementation of TWinControl.Repaint (fixes issue #1890)
git-svn-id: trunk@8968 -
2006-03-20 19:13:16 +00:00
mattias
a88db22c6c implemented setting font for gtk widgets from Darek
git-svn-id: trunk@8754 -
2006-02-17 13:40:26 +00:00
mattias
d47a79ff62 added anchor docking example
git-svn-id: trunk@8722 -
2006-02-09 18:31:10 +00:00
mattias
da5881ed7f fixed ChildSizing spacing and Layout
git-svn-id: trunk@8639 -
2006-01-27 21:51:58 +00:00
mattias
3c3ac6365a improved AutoSizing for Parent controls
git-svn-id: trunk@8636 -
2006-01-27 20:36:32 +00:00
mattias
90de7d2a9a implemented TControl.BorderSpacing.CellAlignHorizontal/Vertical, replaced TRadioGroup recreatewnd calls with UpdateItems, changed TRadioGroup.AutoFill to true as default
git-svn-id: trunk@8633 -
2006-01-27 15:21:08 +00:00
mattias
2daff690f8 added shrinking to TRadioGroup and TCheckGroup
git-svn-id: trunk@8621 -
2006-01-25 23:18:16 +00:00
mattias
4572967898 TRadioGroup and TCheckGroup are now using ChildSizing properties
git-svn-id: trunk@8619 -
2006-01-25 22:48:01 +00:00
mattias
6c6535d395 implemented ChildSizing.Layout/EnlargeHorizontal/EnlargeVertical/ShrinkHorizontal/ShrinkVertical
git-svn-id: trunk@8618 -
2006-01-25 21:52:47 +00:00
mattias
40c0cd86f7 implemented more parts of TAutoSizeBox needed for ChildSizing.Layout
git-svn-id: trunk@8613 -
2006-01-24 16:52:43 +00:00
vincents
1f51beb255 * removed CM_PARENTFONTCHANGED
* implemented ParentFont property (issue #1268)

git-svn-id: trunk@8540 -
2006-01-17 12:11:04 +00:00
mattias
8e0de71ba9 improved setting color of widgets from Darek
git-svn-id: trunk@8534 -
2006-01-17 10:39:39 +00:00
mattias
51d730320c carbon interface: implemented basic key handling
git-svn-id: trunk@8521 -
2006-01-14 23:27:42 +00:00
mattias
68755c278e removed unneeded invalidate
git-svn-id: trunk@8435 -
2006-01-04 12:36:40 +00:00
micha
e49ba83bc8 fix mouse messages to controls (issue #1479)
git-svn-id: trunk@8377 -
2005-12-27 15:46:30 +00:00
vincents
0bbe8bab58 fixed showing non-autosized labels loaded from a lfm (issue #1526)
git-svn-id: trunk@8327 -
2005-12-15 11:35:07 +00:00
mattias
7fc727d17a added UpdateShowing and reduced autosizing during handle creation
git-svn-id: trunk@8321 -
2005-12-14 21:28:50 +00:00
mattias
a0e53901fc reduced grid VisualChange calls
git-svn-id: trunk@8258 -
2005-12-06 18:29:08 +00:00
mattias
6d975c970d fixed gtk capturing setting LCL CaptureControl
git-svn-id: trunk@8247 -
2005-12-02 12:06:13 +00:00
mattias
466590d235 fixed TRadioGroup.InitializeWnd calling inherited
git-svn-id: trunk@8246 -
2005-12-02 10:45:38 +00:00
mattias
740bdda6ff implemented TWinControl.DoAutoSize for aligned and parent anchored child controls
git-svn-id: trunk@8178 -
2005-11-16 18:47:41 +00:00
mattias
7f21a7743b improved parent AutoSizing for aligned clients
git-svn-id: trunk@8173 -
2005-11-16 08:55:53 +00:00
mattias
a5858e5cf2 fixed invalidating preferred size on invalidating client rect
git-svn-id: trunk@8170 -
2005-11-15 17:49:24 +00:00
mattias
2074b79dab fixed checking SetActiveControl
git-svn-id: trunk@8159 -
2005-11-14 22:57:10 +00:00
mattias
c54f333978 started IDE progress dialog and splitted project sessions
git-svn-id: trunk@8120 -
2005-11-09 19:40:59 +00:00
vincents
dfa88d335e fixed color of notebook pages.
git-svn-id: trunk@8117 -
2005-11-09 10:20:24 +00:00
mattias
115184dccb fixed creating child handles on Visible=false parent at designtime
git-svn-id: trunk@8094 -
2005-11-07 18:50:28 +00:00
micha
1cc42929d8 make key handling more regular
git-svn-id: trunk@8078 -
2005-11-06 19:33:52 +00:00
micha
b30bc55540 enable autosizing at design time (fixes issue #1244)
git-svn-id: trunk@8060 -
2005-11-04 20:30:12 +00:00
vincents
836eadc235 replaced DestroyComponent to FinalizeWnd as mirror image of InitializeWnd (fixes issue #1327)
git-svn-id: trunk@8042 -
2005-11-02 21:33:15 +00:00
vincents
3e08307ac5 fixed warnings
git-svn-id: trunk@8014 -
2005-10-31 10:14:51 +00:00
mattias
e4ced904c8 added TControl.AnchoredControls, improved TSplitter for multiple anchored controls, started TAnchoredDockManager
git-svn-id: trunk@8001 -
2005-10-30 12:09:22 +00:00