paul
d409bf4ad2
decapitalize Constructor and Destructor
...
git-svn-id: trunk@14378 -
2008-03-03 08:28:46 +00:00
paul
682a924368
typo in comments
...
git-svn-id: trunk@14377 -
2008-03-03 08:23: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
2b483d841f
inline few functions
...
git-svn-id: trunk@14373 -
2008-03-03 06:39:51 +00:00
paul
921cee3b57
win32: make DrawDefaultDockImage more windows like
...
git-svn-id: trunk@14372 -
2008-03-03 06:38:54 +00:00
paul
4c654ea838
improve r14363 #35e5c5db54 workaround
...
git-svn-id: trunk@14364 -
2008-03-02 12:24:06 +00:00
zeljko
35e5c5db54
Qt: workaround for MDI children segfault introduced by new focus changing code.
...
git-svn-id: trunk@14363 -
2008-03-02 10:42:45 +00:00
paul
f7c7ce2ff8
qt: use application FocusChanged slot to catch focus change events instead of listening for focus events of individual widgets. This new way should give better feedback from qt about focus changes.
...
git-svn-id: trunk@14361 -
2008-03-02 06:10:36 +00:00
paul
fea0292e3d
qt: cleanup
...
git-svn-id: trunk@14360 -
2008-03-02 05:37:15 +00:00
zeljko
13b1c51267
Qt: TQtTableView implemented.
...
git-svn-id: trunk@14336 -
2008-03-01 08:44:18 +00:00
tombo
975886c991
LCL carbon: fixed mouse button handling with help from Alexander Grau
...
git-svn-id: trunk@14324 -
2008-02-29 18:18:59 +00:00
zeljko
6202babb26
Qt: Fix default position of MDIChild form.
...
git-svn-id: trunk@14323 -
2008-02-29 17:59:28 +00:00
zeljko
8d4d35c742
Qt: fix win32 problems with new clipboard workaround.
...
git-svn-id: trunk@14313 -
2008-02-29 14:03:39 +00:00
zeljko
2f9c799570
Qt: workaround for #10881 . Clipboard should be initialized at app start. Workaround for clipboard (synedit) blocking linux desktop.Small optimizations for clipboard.
...
git-svn-id: trunk@14311 -
2008-02-29 13:33:38 +00:00
vincents
64b32ffce8
wince interface: fix range check error, WPARAM has become unsigned in fpc 2.3.1 (bug #10912 )
...
git-svn-id: trunk@14309 -
2008-02-29 11:40:38 +00:00
mattias
e4cad5b120
gtk intf: fixed RealizeAccelerate
...
git-svn-id: trunk@14300 -
2008-02-28 13:05:18 +00:00
paul
f181308801
fix GetKeyState for carbon
...
git-svn-id: trunk@14295 -
2008-02-28 06:59:17 +00:00
paul
40c9844f59
GetKeyState:
...
- gtk1, gtk2: implement pressed state for mouse buttons
- qt: return state for X mouse buttons
git-svn-id: trunk@14294 -
2008-02-28 06:07:29 +00:00
paul
c0c5d656fc
win32:
...
- replace few places where combo edit window has been accessed through GetTopWindow instead of GetComboboxInfo (for csSimple style GetTopWindow assumption is not correct)
- simplify window class name extraction
git-svn-id: trunk@14293 -
2008-02-28 04:41:35 +00:00
paul
929eef8853
win32: fix crash with combos w/o edit (csDropDownList for example)
...
git-svn-id: trunk@14292 -
2008-02-28 04:39:18 +00:00
tombo
ecb6afce2f
IDE implemented compatibility issues:
...
- added Issues tab to Object Inspector
- added View/Issue browser
- added new package file type - issue xml file
- added Windows and Carbon LCL issues
- added jump back and forward images
- removed TButton and TBitBtn Color property hiding
- set mime type for package images
- added TLCLPlatforms set
git-svn-id: trunk@14287 -
2008-02-27 16:23:28 +00:00
paul
083521d007
gtk:
...
- fix GetKeyState (only keys state at moment)
- gtk drag/dock for windows
git-svn-id: trunk@14277 -
2008-02-27 12:54:30 +00:00
paul
3faf42a722
qt: improve GetKeyState - make it more windows compatible
...
git-svn-id: trunk@14267 -
2008-02-27 06:07:35 +00:00
jesus
54208be697
LCL, gtk, fix problem on closing popupmenu, issue #10884
...
git-svn-id: trunk@14266 -
2008-02-27 00:01:56 +00:00
jesus
b19cbee0b9
LCL, gtk, fixed compile when using option TraceGDICalls
...
git-svn-id: trunk@14265 -
2008-02-26 22:24:21 +00:00
paul
8e4a1950a9
more potential range check errors
...
git-svn-id: trunk@14253 -
2008-02-26 04:30:37 +00:00
paul
7b7eafc985
fix one range check error, formatting
...
git-svn-id: trunk@14251 -
2008-02-26 04:04:06 +00:00
paul
85e93e8f14
win32: dont send messages to LCL about internal combobox focus changes (fixes firing OnEnter, OnExit more than once, issue #0007241 )
...
git-svn-id: trunk@14250 -
2008-02-26 03:32:38 +00:00
paul
a5b4f9d12f
fix key handling of edit part of csSimple combobox (0007318)
...
git-svn-id: trunk@14249 -
2008-02-26 02:31:35 +00:00
tombo
c4ccc0a6ea
LCL Carbon: allow TPageControl to scroll in designer
...
* if getting unicode char when Cmd key pressed workaround fails, get it in standard way
git-svn-id: trunk@14247 -
2008-02-25 17:04:13 +00:00
tombo
c35a7a597d
LCL Carbon: allow selecting tabs of TPageControl in designer
...
git-svn-id: trunk@14246 -
2008-02-25 16:16:20 +00:00
mattias
11d6ac41f5
translations: fixed spelling mistake, fixed crash when rst file not found, updated german translation from Joerg Braun
...
git-svn-id: trunk@14245 -
2008-02-25 14:36:59 +00:00
paul
19820828de
win32: remove last constraint code for csSimple combobox
...
git-svn-id: trunk@14243 -
2008-02-25 08:53:42 +00:00
paul
3d629400eb
win32: don't constraint and autosize csSimple combobox
...
git-svn-id: trunk@14242 -
2008-02-25 07:42:01 +00:00
paul
e43614c705
decrease amount of win32 interface hints
...
git-svn-id: trunk@14241 -
2008-02-25 07:26:46 +00:00
vincents
d303b5d6d5
win32 interface: fixed range check error (bug #10885 )
...
git-svn-id: trunk@14240 -
2008-02-25 07:07:52 +00:00
paul
fca5f078fb
qt: fix AV when closing unit with form
...
git-svn-id: trunk@14238 -
2008-02-25 05:21:35 +00:00
paul
fe81e69498
qt: change {$mode delphi} to {$mode objfpc}
...
git-svn-id: trunk@14236 -
2008-02-24 04:44:28 +00:00
sekelsenmat
def1546d06
Further removes clistbox.
...
git-svn-id: trunk@14233 -
2008-02-22 18:09:03 +00:00
tombo
01476eddd4
LCL Carbon: fixed TEdit and TComboBox autosizing
...
git-svn-id: trunk@14232 -
2008-02-22 14:27:42 +00:00
tombo
a21128f663
LCL Carbon: show only current tab page if designing
...
git-svn-id: trunk@14231 -
2008-02-22 12:48:24 +00:00
sekelsenmat
d8d0de7c0e
Small fix for screenshot taking on carbon and removes carbon clistbox.
...
git-svn-id: trunk@14230 -
2008-02-22 09:46:02 +00:00
paul
238ef21fad
qt: debug mouse events of calendar widget
...
git-svn-id: trunk@14229 -
2008-02-22 02:23:36 +00:00
paul
d55de3897b
qt bindings 1.61
...
git-svn-id: trunk@14228 -
2008-02-22 01:46:37 +00:00
sekelsenmat
78d3a22099
Implements screenshot taking on the Carbon widgetset, adds -k-framework -kOpenGL for all Carbon apps as dependency and adds Apple OpenGL bindings to the carbon interface directory.
...
git-svn-id: trunk@14226 -
2008-02-21 22:00:28 +00:00
paul
a3704dd28e
remove csCaptureMouse from TCustomCalendar
...
git-svn-id: trunk@14221 -
2008-02-21 09:48:20 +00:00
paul
27d0c29fb7
remove csCaptureMouse from TCustomEdit and TCustomCombobox (they are not needed and breaks behavior or qt applications)
...
git-svn-id: trunk@14220 -
2008-02-21 06:01:58 +00:00
paul
99ca08c0bc
qt: improve combobox event handling
...
git-svn-id: trunk@14218 -
2008-02-21 05:35:01 +00:00
mattias
d992ea6cf8
gtk intf: cleanup
...
git-svn-id: trunk@14188 -
2008-02-19 08:43:28 +00:00
mattias
a7e5a68b2c
gtk2 intf: fixed checking accelerator vs 0 not vs obsolete GDK_VOIDSYMBOL
...
git-svn-id: trunk@14184 -
2008-02-18 15:51:55 +00:00
sekelsenmat
9f6b7ab596
Several upgrades for device selection and form position/size on wince.
...
git-svn-id: trunk@14182 -
2008-02-18 13:53:41 +00:00
sekelsenmat
2c82246914
Separates CheckBox on gtk2 and further removes clistbox.
...
git-svn-id: trunk@14179 -
2008-02-18 08:02:43 +00:00
paul
fa1810d49d
fix win32 compilation with fpc 2.2.1
...
git-svn-id: trunk@14178 -
2008-02-18 07:48:50 +00:00
sekelsenmat
8111761824
Fixes TComboBox.Autosize for Qt.
...
git-svn-id: trunk@14177 -
2008-02-18 07:18:04 +00:00
sekelsenmat
fc312ff2bb
Removes the obsolete CListBox under gtk and qt.
...
git-svn-id: trunk@14176 -
2008-02-18 07:02:01 +00:00
paul
dcad0439fa
qt: fix eating up keys (issue #0010841 )
...
git-svn-id: trunk@14175 -
2008-02-18 05:31:18 +00:00
sekelsenmat
e6cdd14d3b
Removes CListBox under win32
...
git-svn-id: trunk@14173 -
2008-02-17 17:53:51 +00:00
sekelsenmat
08df08f15d
Code cleanup.
...
git-svn-id: trunk@14171 -
2008-02-17 17:13:43 +00:00
sekelsenmat
6c1332e65d
Cleanup of unused functions on wince.
...
git-svn-id: trunk@14170 -
2008-02-17 16:51:06 +00:00
sekelsenmat
a4166c0986
Identation fixes.
...
git-svn-id: trunk@14169 -
2008-02-17 16:38:20 +00:00
paul
7a50172ef9
qt: fix invisible menus under linux
...
git-svn-id: trunk@14168 -
2008-02-17 15:15:25 +00:00
sekelsenmat
697fc18008
Improved WinCE brush code.
...
git-svn-id: trunk@14166 -
2008-02-16 21:54:53 +00:00
sekelsenmat
e81c05ee66
Starts removing the deprecated CList from win32 and wince.
...
git-svn-id: trunk@14165 -
2008-02-16 21:46:19 +00:00
sekelsenmat
9e54486ffa
Large unicode improvements for Windows CE.
...
git-svn-id: trunk@14164 -
2008-02-16 21:38:56 +00:00
sekelsenmat
db8581b37f
Fixes using system colors under Windows CE.
...
git-svn-id: trunk@14162 -
2008-02-16 19:17:28 +00:00
paul
d424e05321
qt:
...
- workaround CreatePatterBrush (issue #0010735 )
- few changes in createbitmap
git-svn-id: trunk@14160 -
2008-02-16 18:06:23 +00:00
paul
6c8377e7b0
Qt statusbar:
...
- simplify code a bit
- take panels alignment into account
- dont show size grip if parent is not a form (fixes #0010834 )
git-svn-id: trunk@14159 -
2008-02-16 16:23:42 +00:00
sekelsenmat
0c5c85ec57
Fixes changing the hint at run-time.
...
git-svn-id: trunk@14156 -
2008-02-16 07:35:34 +00:00
sekelsenmat
8023d99e58
Various Windows unicode fixes.
...
git-svn-id: trunk@14146 -
2008-02-15 20:23:58 +00:00
vincents
108da51c02
win32 interface: fixed spinedit with fpc 2.2.0, using first commctrl and then windows unit, so that good structures in the windows unit are used
...
git-svn-id: trunk@14145 -
2008-02-15 20:17:23 +00:00
jesus
6617af4295
LCL, fix crashes related to text sizing for WindowsUnicodeSupport under win9x
...
git-svn-id: trunk@14143 -
2008-02-15 19:43:52 +00:00
mattias
8d1b4060a1
LCL: added widgetset NoGUI
...
git-svn-id: trunk@14139 -
2008-02-15 10:49:38 +00:00
sekelsenmat
5066ff60d0
Fixes unicode string conversion routine on wince. CP_UTF8 isn't support on WinCE.
...
git-svn-id: trunk@14137 -
2008-02-14 21:21:56 +00:00
vincents
a630267f5b
win32 interface: fixed compilation with fpc 2.2.0 and 2.3.1
...
git-svn-id: trunk@14134 -
2008-02-14 13:20:14 +00:00
tombo
d52b3b49a7
Carbon LCL: improved TPageControl page removing a bit
...
git-svn-id: trunk@14132 -
2008-02-14 12:17:01 +00:00
sekelsenmat
bcf546afd6
Another small fix for wince on desktop. Now apps run without crashing. The fix is also necessary for wince on tablet pc at least.
...
git-svn-id: trunk@14128 -
2008-02-13 22:11:19 +00:00
sekelsenmat
50ebe6b542
Small fix for running wince intf on desktop.
...
git-svn-id: trunk@14127 -
2008-02-13 21:37:33 +00:00
sekelsenmat
33fff309d0
Fixed last linking problems using the wince interface on desktop os.
...
git-svn-id: trunk@14126 -
2008-02-13 21:19:45 +00:00
sekelsenmat
9639dc2b06
Removes ifdef.
...
git-svn-id: trunk@14125 -
2008-02-13 20:22:13 +00:00
sekelsenmat
b5c1ef3ae2
Added initial unicode support for wince and support for compiling the wince interface to win32 desktop operating system to improve debugging. It doesn't yet run, but already compiles.
...
git-svn-id: trunk@14124 -
2008-02-13 19:54:03 +00:00
sekelsenmat
fa9e26c441
Fixes Groupbox child control positioning and TCustomCheckBox descendents autosizing under WinCE.
...
git-svn-id: trunk@14123 -
2008-02-13 17:26:10 +00:00
zeljko
369132766d
Qt: added NumCopies property into TQtPrinter class
...
git-svn-id: trunk@14113 -
2008-02-12 14:44:51 +00:00
paul
258c1f15be
win32 imagelist: dont under comctrl temporary due to bad feedback on r14098 #4e33251c35
...
git-svn-id: trunk@14105 -
2008-02-12 08:45:57 +00:00
paul
b21744f605
comment code that is never used
...
git-svn-id: trunk@14103 -
2008-02-12 06:08:39 +00:00
paul
b670a88a3e
trayicon - fix hWndTray value
...
git-svn-id: trunk@14102 -
2008-02-12 06:03:55 +00:00
paul
47fb1d410c
reduce warning and notes
...
git-svn-id: trunk@14101 -
2008-02-12 05:59:51 +00:00
paul
e158ce57ae
reduce warnings and hints
...
git-svn-id: trunk@14099 -
2008-02-12 05:47:43 +00:00
paul
4e33251c35
bunch of compatibility fixes with fpc 2.2 rtl if win32extra will be cleaned
...
git-svn-id: trunk@14098 -
2008-02-12 05:40:57 +00:00
mattias
1a08f04dfb
gtk2 intf: reduced output
...
git-svn-id: trunk@14082 -
2008-02-11 11:51:57 +00:00
mattias
54bf460d15
LCL: added TDockManager.AutoFreeByControl: boolean needed by shared docking managers
...
git-svn-id: trunk@14081 -
2008-02-11 11:51:29 +00:00
vincents
e91a929e7a
win32 interface: fixed win64 compilation
...
git-svn-id: trunk@14079 -
2008-02-11 09:04:15 +00:00
paul
1efe09c999
use nested record in NMLVCUSTOMDRAW definition
...
git-svn-id: trunk@14078 -
2008-02-11 02:32:31 +00:00
mattias
c2d668eb0c
gtk2 intf: fixed clicked event for Button
...
git-svn-id: trunk@14073 -
2008-02-10 22:16:19 +00:00
mattias
e7f5ea0f21
gtk2 intf: fixed warnings on creating a button: SetCallbacks must only be called for the core widget
...
git-svn-id: trunk@14072 -
2008-02-10 22:04:33 +00:00
sekelsenmat
9d0941dad2
Fixes the z-order of TButton on gtk2 by splitting it's implementation from gtk1 and adding a EventBox under the button for gtk2.
...
git-svn-id: trunk@14071 -
2008-02-10 14:53:51 +00:00
mattias
763e629893
gtk intf: made eventbox of client areas visible. Otherwise it eats some mouse events
...
git-svn-id: trunk@14069 -
2008-02-10 13:57:46 +00:00
mattias
fbd1105a08
gtk intf: fixed debugging mouse events
...
git-svn-id: trunk@14067 -
2008-02-10 11:03:16 +00:00
zeljko
8a4b55bf34
Qt: TQtPrinter - more routines implemented
...
git-svn-id: trunk@14066 -
2008-02-10 10:00:22 +00:00
sekelsenmat
54152dcc3d
Fixes trayicon destruction on form close.
...
git-svn-id: trunk@14065 -
2008-02-10 09:35:13 +00:00
sekelsenmat
78a6878d99
Fixes preferred size for TComboBox in gtk2.
...
git-svn-id: trunk@14059 -
2008-02-09 22:03:53 +00:00
sekelsenmat
fa14be1de9
Removed the USE_QT_4_3 define. Now only Qt 4.3 or superior is supported.
...
git-svn-id: trunk@14057 -
2008-02-09 20:32:37 +00:00
zeljko
a7835482d9
Qt: initial implementation of TQtPrinter object.
...
git-svn-id: trunk@14052 -
2008-02-09 18:33:26 +00:00
paul
6ecc6cd943
docking: before start auto docking check if DragMode = dmAutomatic
...
git-svn-id: trunk@14049 -
2008-02-09 14:51:51 +00:00
mattias
2ccba88670
gtk2 intf: improved rotated fonts
...
git-svn-id: trunk@14045 -
2008-02-09 13:58:27 +00:00
zeljko
6b860e440b
Qt: implemented TSelectDirectoryDialog.
...
git-svn-id: trunk@14044 -
2008-02-09 13:58:22 +00:00
sekelsenmat
5ec111d625
Adds an workaround to fix TCheckListBox color problems on WinCE.
...
git-svn-id: trunk@14043 -
2008-02-09 13:24:23 +00:00
sekelsenmat
5d05c21957
Improved algorithm to get TrayIcon position on Windows.
...
git-svn-id: trunk@14042 -
2008-02-09 13:19:56 +00:00
sekelsenmat
2d2a1cb6ff
Fixes lcl compilation on win32, initial implementation for TWin32TrayIcon.GetPosition and moved popupnotifier example.
...
git-svn-id: trunk@14041 -
2008-02-09 12:39:21 +00:00
sekelsenmat
ae7e221cc7
Started moving TPopupNotifier to the LCL. Added linux script to create images lrs file. Implemented TTrayIcon.GetPosition on gtk2.
...
git-svn-id: trunk@14038 -
2008-02-09 10:24:40 +00:00
sekelsenmat
7d16c56822
Fixes showing the popup menu on gtk1 trayicon (bug #10700 )
...
git-svn-id: trunk@14037 -
2008-02-09 07:51:19 +00:00
zeljko
f644b9147c
Qt: small cleanup.
...
git-svn-id: trunk@14030 -
2008-02-08 13:43:05 +00:00
zeljko
395b20981f
Qt: Fixed bug #10706 , removed workaround.
...
git-svn-id: trunk@14029 -
2008-02-08 13:35:36 +00:00
paul
2fd9462bd6
qt: follow carbon way of drawing designer items (though hintwindow is crashing sometimes)
...
git-svn-id: trunk@14026 -
2008-02-08 08:01:32 +00:00
mattias
348cc7798a
LCL: small cleanups
...
git-svn-id: trunk@14021 -
2008-02-07 18:52:11 +00:00
tombo
31ca02018a
IDE carbon: improved designer drawing
...
git-svn-id: trunk@14016 -
2008-02-07 13:37:47 +00:00
tombo
1760486308
LCL gtk: override DrawGrid (using Pixels for gtk1)
...
git-svn-id: trunk@14015 -
2008-02-07 13:27:12 +00:00
tombo
5bdc5f770f
LCL carbon: DrawGrid implementation
...
git-svn-id: trunk@14014 -
2008-02-07 10:57:02 +00:00
tombo
4f202a8a66
LCL carbon: TPageControl fixed scrolling tabs right bug
...
git-svn-id: trunk@14012 -
2008-02-07 10:52:57 +00:00
paul
c2605409eb
win32: cleanup (0010780 by Luiz)
...
git-svn-id: trunk@14011 -
2008-02-07 08:03:09 +00:00
paul
f488474106
win32: fix bugs related to scrolling in GetLCLClientBoundsOffset (by Luiz Americo)
...
git-svn-id: trunk@14010 -
2008-02-07 07:41:21 +00:00
paul
cc625fd096
qt:
...
- implement TScrollBox
- fix some scrollbar and clientrect problems
git-svn-id: trunk@14009 -
2008-02-07 07:30:29 +00:00
mattias
377ac8850f
gtk intf: preventing deleting stock font object
...
git-svn-id: trunk@13998 -
2008-02-06 12:51:53 +00:00
tombo
011034bb1d
LCL carbon: fixed another bug in text layout caching recalculations
...
git-svn-id: trunk@13992 -
2008-02-06 10:14:25 +00:00
paul
d66e2c9627
qt: fix drawing text with rotated font
...
git-svn-id: trunk@13990 -
2008-02-06 07:58:43 +00:00
paul
4725a4fdfe
more formatting
...
git-svn-id: trunk@13989 -
2008-02-06 06:51:46 +00:00
paul
df37b768a1
formatting
...
git-svn-id: trunk@13988 -
2008-02-06 06:36:10 +00:00
paul
77989dc1e0
gtk2: draw text with rotation
...
- rearrange extras
- introduced TGtk2DeviceContext.DrawTextWithColor (mostly from 0009665 with modifications)
- use DrawTextWithColor in TextOut and ExtTextOut
git-svn-id: trunk@13987 -
2008-02-06 06:13:00 +00:00
paul
cda31b86f8
gtk: more pango 1.16 declarations needed for text drawing with rotation
...
git-svn-id: trunk@13986 -
2008-02-06 04:38:08 +00:00
paul
dff1565eb1
gtk2:
...
- enable GetObject for HFont
- use MulDiv in font size calculation instead of *, div (as in font.inc) (Grzegorz Zakrzewski)
- use PixelsPerInchY instead of PixelsPerInchX (Grzegorz Zakrzewski)
- minor formatting
git-svn-id: trunk@13985 -
2008-02-06 04:37:06 +00:00
paul
0d2554b287
qt: correct 3 system colors
...
git-svn-id: trunk@13983 -
2008-02-06 02:23:36 +00:00
paul
4fb9eb99e3
qt: before starting drag/dock check mouse down coordinate and mouse button (exclude from hook dock rect various titlebar buttons)
...
git-svn-id: trunk@13980 -
2008-02-05 06:22:14 +00:00
paul
d9f544ab7f
qt: workaround GetWindowRect bug
...
git-svn-id: trunk@13979 -
2008-02-05 05:57:24 +00:00
paul
0d97ad6200
qt:
...
- remove occasional writeln
- fix clientrect after changing scrollbars (0010760)
git-svn-id: trunk@13978 -
2008-02-05 02:13:31 +00:00
tombo
936810ce93
LCL carbon: forgotten minor change
...
git-svn-id: trunk@13973 -
2008-02-04 11:49:29 +00:00
tombo
08f44d0d80
LCL carbon: fixed text layout cache recalculations, when context changed
...
git-svn-id: trunk@13972 -
2008-02-04 11:38:15 +00:00
paul
543e960d76
dont use direct call of TControl.DoEndDock from DockPerformer (hint from Marius)
...
git-svn-id: trunk@13971 -
2008-02-04 02:39:25 +00:00
tombo
aa58732ee8
LCL carbon: improved TPageControl scrolling arrow position, fixed tabs scrolling bug
...
- fixed form designer resizing response
git-svn-id: trunk@13969 -
2008-02-03 13:39:42 +00:00
zeljko
a011dc0721
Qt: avoid crash when change pos of scrollbar inside TScrollBox.
...
git-svn-id: trunk@13968 -
2008-02-03 13:16:54 +00:00
paul
64c7e1a1a5
gtk2: remove hacks around TListBox.ItemIndex
...
git-svn-id: trunk@13967 -
2008-02-03 12:48:36 +00:00
paul
1df101d12e
qt:
...
- implement getObject for HFONT
- some fixes to TQtFont
git-svn-id: trunk@13966 -
2008-02-03 11:51:39 +00:00
paul
b71761338c
qt: fix function result
...
git-svn-id: trunk@13963 -
2008-02-03 10:50:34 +00:00
zeljko
09c4368afe
Qt: bugfix - QPainter::begin: Widget painting can only begin as a result of a paintEvent while application starts.
...
git-svn-id: trunk@13962 -
2008-02-03 09:57:05 +00:00
paul
7ea25e8927
some comments
...
git-svn-id: trunk@13961 -
2008-02-03 09:16:42 +00:00
paul
56c31a9c00
revert gtkcallback, commit right file
...
git-svn-id: trunk@13960 -
2008-02-03 08:50:18 +00:00
paul
8d3ee2378e
gtk: fix bugs with calendar controls (0010687)
...
git-svn-id: trunk@13959 -
2008-02-03 08:47:18 +00:00
paul
9a0a3d9bfd
qt: The OnClose event of TPopupMenu is not fired when is closed (part of 0009436)
...
git-svn-id: trunk@13958 -
2008-02-03 08:28:25 +00:00
paul
ff2de09e84
typo
...
git-svn-id: trunk@13957 -
2008-02-03 08:20:21 +00:00
paul
710239fce1
gtk: The OnClose event of TPopupMenu is not fired when is closed - patch from Luiz Americo with modifications (part of 0009436)
...
git-svn-id: trunk@13956 -
2008-02-03 07:03:11 +00:00
paul
16cac2db2d
qt:
...
- simplify SetScrollInfo
- fix hiding scroll when bRedraw is false
- improve GetScrollInfo
(issue #0010734 )
git-svn-id: trunk@13945 -
2008-02-01 18:11:11 +00:00
zeljko
a64bd53ce5
Qt: workaround for #10706 , stop events processing on DropList after combobox destroy called ...
...
git-svn-id: trunk@13910 -
2008-01-29 13:52:16 +00:00
paul
4c476f7023
qt: dont use QEventNonClientAreaMouseButtonPress event on qt < 4.3
...
git-svn-id: trunk@13907 -
2008-01-29 11:00:07 +00:00
tombo
aefeb828a2
LCL carbon: fixed calculating text extent for cached text layouts
...
git-svn-id: trunk@13891 -
2008-01-27 13:08:30 +00:00
paul
6f0fd6986d
qt: improved scrollbars (no more doubling of scrollbars after control reparenting)
...
git-svn-id: trunk@13890 -
2008-01-27 09:42:22 +00:00
paul
4c2fed68d4
qt: fix crash on recreating TCustomControl descendants
...
git-svn-id: trunk@13889 -
2008-01-26 18:58:06 +00:00
paul
1d29c3e238
qt: support for drag/dock for forms with dkDock style
...
win32: allow drag/dock TCustomForms too - not only TForm descendants
git-svn-id: trunk@13888 -
2008-01-26 18:20:19 +00:00
paul
54d4d815b2
qt: apply initial position and size from createparams structure on widget creation
...
git-svn-id: trunk@13887 -
2008-01-26 17:58:47 +00:00
paul
af8f0e1c03
gtk1 - erase background only for *real* custom controls (GtkApiWidget) (issue #0010702 )
...
gtk2 - allow erase background for any custom controls (for forms too - they can be colored now)
git-svn-id: trunk@13885 -
2008-01-26 12:06:02 +00:00
paul
cf0785c4bb
gtk2: dont use hack to set itemindex for listbox with single selection (part of 0010682)
...
git-svn-id: trunk@13884 -
2008-01-26 11:06:06 +00:00
tombo
318a8da0fd
LCL carbon: improved TNotebook scrolling
...
- better performance for TSynEdit by caching text layouts
git-svn-id: trunk@13875 -
2008-01-25 14:09:52 +00:00
paul
f1d8f78b0c
initial implementation of TWinControl.SetShape for gtk, qt, win32 + example
...
git-svn-id: trunk@13874 -
2008-01-25 06:56:57 +00:00
sekelsenmat
8bd4a8f969
Patch from Paul Michell. Implements setting checked for a menu item at run-time. Also added him to Contributors.txt
...
git-svn-id: trunk@13869 -
2008-01-24 21:32:38 +00:00
sekelsenmat
3ff0a0bd5b
Partial implementation of an utf-8 capable SetBlockWord on SynEdit. Enclosed on ifdef NEW_UTF8_SETWORDBLOCK. Also added helper functions on LCLProc for converting an utf-8 string into an array of chars for algorithms that require fast access to a char by position.
...
git-svn-id: trunk@13868 -
2008-01-24 20:56:30 +00:00
paul
fff0200dff
gtk: dont erase background of TCustomForm descendants
...
git-svn-id: trunk@13851 -
2008-01-24 02:59:06 +00:00
paul
b66fdb0bab
gtk: remove LM_INTERNALPAINT and related things
...
git-svn-id: trunk@13848 -
2008-01-24 01:37:40 +00:00
tombo
40ad8c6d06
LCL carbon: started TNoteBook tabs scrolling
...
git-svn-id: trunk@13843 -
2008-01-23 13:16:51 +00:00
paul
e48133ad74
gtk: perform erasing background on non opaque controls
...
git-svn-id: trunk@13842 -
2008-01-23 10:21:20 +00:00
paul
c380a23969
qt:
...
- init screeninfo
- thread support (issue #0010675 )
git-svn-id: trunk@13841 -
2008-01-23 09:56:45 +00:00
tombo
2384804e4d
LCL carbon: fixed error during mouse wheel
...
git-svn-id: trunk@13832 -
2008-01-22 13:44:16 +00:00
tombo
7e4fdbb9ab
LCL carbon: fixed clearing TListBox, added check when accessing TListBox.Items
...
git-svn-id: trunk@13831 -
2008-01-22 13:30:12 +00:00
tombo
79b247b5dd
LCL carbon: fixed using mask for TBitBtn and TMenuItem glyph
...
git-svn-id: trunk@13830 -
2008-01-22 13:18:39 +00:00
paul
707313382f
gtk2: further improve gtk2 ListBox ItemIndex
...
git-svn-id: trunk@13828 -
2008-01-22 09:56:06 +00:00
vincents
c3f66253e8
win32 interface: allow resizing and repositioning of statusbar (bug #10385 )
...
git-svn-id: trunk@13826 -
2008-01-22 07:06:24 +00:00
paul
9925daf8cd
gtk2: workaround problem with setting itemIndex in multiselected listbox
...
git-svn-id: trunk@13825 -
2008-01-22 04:43:39 +00:00
paul
9103143052
correct a bit ItemIndex changes in gtk2 (clearing of selection on delete still needs to be fixed)
...
git-svn-id: trunk@13822 -
2008-01-21 10:26:08 +00:00
paul
2b801abac0
qt, gtk2: ItemIndex compatibility with win32
...
git-svn-id: trunk@13819 -
2008-01-21 09:01:02 +00:00
paul
082aa6dcfd
gtk2 listbox: dont compare lisbox.Handle with 0 - use WSCheckHandleAllocated instead
...
git-svn-id: trunk@13817 -
2008-01-21 06:01:28 +00:00
paul
9a0d779e49
commit forgotten TWinCEWSImageList
...
git-svn-id: trunk@13815 -
2008-01-21 01:41:32 +00:00
paul
c60d5a52dd
minor formatting
...
git-svn-id: trunk@13814 -
2008-01-21 01:39:54 +00:00
paul
e50a1ae171
few mem leaks
...
git-svn-id: trunk@13809 -
2008-01-20 15:52:19 +00:00
paul
fea0888a37
fix qt crashes
...
git-svn-id: trunk@13808 -
2008-01-20 14:22:38 +00:00
paul
85f883a250
qt bindings v 1.60
...
git-svn-id: trunk@13806 -
2008-01-20 11:31:54 +00:00
paul
e2c49dc18f
gtk: move CreateToolbar code to TGtkWsToolBar ( fixes #0010530 )
...
git-svn-id: trunk@13788 -
2008-01-18 16:48:14 +00:00
paul
8f68c7cbd0
wince:
...
- implement BitBtns
- minor changes
git-svn-id: trunk@13783 -
2008-01-17 10:24:30 +00:00
paul
b0f4154cba
formatting, cleanup
...
git-svn-id: trunk@13782 -
2008-01-17 06:09:24 +00:00
paul
b195e208ac
qt: QTabBar_tabAt for qt < 4.3
...
git-svn-id: trunk@13779 -
2008-01-16 13:43:35 +00:00
paul
015034e457
qt: dont use .Handle <> 0 comparison use HandleAllocated instead
...
git-svn-id: trunk@13778 -
2008-01-16 12:15:49 +00:00
zeljko
1e077039d5
Qt: Fix AV on TCommonDialog release.
...
git-svn-id: trunk@13777 -
2008-01-16 12:10:34 +00:00
paul
04dc42a284
wince: port win32 fix #13755 (have not tested though)
...
git-svn-id: trunk@13776 -
2008-01-16 05:42:23 +00:00
paul
75ed1560dc
win32: fix behavior of docked form (issue #0010539 )
...
git-svn-id: trunk@13775 -
2008-01-16 05:38:03 +00:00
paul
6974762fd6
- formatting, cosmetic changes and cleanup
...
git-svn-id: trunk@13774 -
2008-01-16 04:05:34 +00:00
paul
e913ee236f
gtk: correct creation of user TWinControl descendants (issue #0010635 )
...
git-svn-id: trunk@13773 -
2008-01-16 01:54:37 +00:00
mattias
d49945c877
gtk intf: using translated strings for menu item short cuts
...
git-svn-id: trunk@13770 -
2008-01-15 21:59:26 +00:00
paul
3092ac63d9
qt: TQtWSDragImageList implementation
...
git-svn-id: trunk@13756 -
2008-01-15 06:00:23 +00:00
paul
6b0ae9506c
gtk: correct direction of dragimagelist hotspot
...
git-svn-id: trunk@13755 -
2008-01-15 05:29:41 +00:00
paul
ff395fbe25
wince: add imagelist and dragimagelist implementation (from win32 with changes)
...
git-svn-id: trunk@13754 -
2008-01-15 04:50:09 +00:00
paul
9c545d3562
gtk: TGtkWSDragImageList implementation
...
git-svn-id: trunk@13753 -
2008-01-15 03:29:00 +00:00
paul
4aa431716f
fix gtk1 compilation
...
git-svn-id: trunk@13749 -
2008-01-14 12:57:34 +00:00
paul
e3c223acf6
fix gtk1 compilation
...
git-svn-id: trunk@13748 -
2008-01-14 12:44:06 +00:00
paul
a2dfc721bd
gtk: dont call gtk_notebook_set_page if there is no reason
...
git-svn-id: trunk@13746 -
2008-01-14 08:27:13 +00:00
paul
e0b764dc96
gtk:
...
- move GtkSwitchPage from GtkCallbacks unit to GtkWsExtCtrls unit
- fix double call of OnChanging on manual page change (part of 8338)
git-svn-id: trunk@13745 -
2008-01-14 08:10:31 +00:00