zeljko
ae23055240
Qt: fixed TQtWidgetSet.SetFocus(), it should activate parent form if we call setfocus for control which is on inactive form.
...
git-svn-id: trunk@27614 -
2010-10-08 07:36:15 +00:00
zeljko
376cb466ca
Qt: fixed result of TQtWidgetSet.SetForegroundWindow()
...
git-svn-id: trunk@27599 -
2010-10-07 09:38:55 +00:00
zeljko
94827d66c8
Gtk2: fixed form focus. fixes #17533 , #17544
...
git-svn-id: trunk@27596 -
2010-10-07 06:31:58 +00:00
sekelsenmat
7b87139035
Patch from bug #17549 improves tray icon position in windows to handle taskbar positions different from the bottom
...
git-svn-id: trunk@27584 -
2010-10-05 15:35:46 +00:00
martin
89bc817f68
Fix getting too much string data from clipboard (w32 only). Issue #16483 Based on patch by Bart Broersma
...
git-svn-id: trunk@27553 -
2010-10-03 19:37:32 +00:00
jesus
962c2c3c0c
LCL, fix normal row drawing over fixed row (gtk), issue #13404
...
git-svn-id: trunk@27549 -
2010-10-02 19:39:41 +00:00
zeljko
71bf9bda93
Qt: fixed result of TQtWidgetSet.EnableWindow()
...
git-svn-id: trunk@27548 -
2010-10-02 16:41:32 +00:00
zeljko
f80a1aaa04
Gtk2: fixed result of TGtk2WidgetSet.EnableWindow()
...
git-svn-id: trunk@27547 -
2010-10-02 16:39:37 +00:00
mattias
3127c3ff7e
LCL: added -Ur needed for fpgui
...
git-svn-id: trunk@27520 -
2010-09-28 21:37:02 +00:00
mattias
021dbcbeb1
LCL: added linker options for dawrin
...
git-svn-id: trunk@27519 -
2010-09-28 21:22:04 +00:00
mattias
494718ffc5
qt intf: fixed compilation
...
git-svn-id: trunk@27518 -
2010-09-28 20:58:36 +00:00
mattias
951dd0f0c5
IDE: change build macro valeus: invalidate
...
git-svn-id: trunk@27517 -
2010-09-28 20:56:48 +00:00
mattias
b839e824d2
started lcl1 package
...
git-svn-id: trunk@27514 -
2010-09-28 18:29:03 +00:00
mattias
945d84525b
cocoa intf: using -dcocoa instead of -dcocoa1
...
git-svn-id: trunk@27513 -
2010-09-28 17:20:14 +00:00
mattias
bd2a961e4e
carbon intf: using -dcarbon instead of -dcarbon1
...
git-svn-id: trunk@27512 -
2010-09-28 17:19:25 +00:00
mattias
c023886080
carbon: normalized build scripts
...
git-svn-id: trunk@27471 -
2010-09-26 11:09:20 +00:00
sekelsenmat
b5904b902b
Patch from bug #17451 , fixes wince window org (yet again)
...
git-svn-id: trunk@27433 -
2010-09-22 09:47:31 +00:00
zeljko
5106674f1f
carbon: implemented GetBkColor.
...
git-svn-id: trunk@27424 -
2010-09-21 07:04:32 +00:00
zeljko
13bd9d7378
Qt,Gtk2: corrected return of Size.cx, simplified and fixed code in qt implementation about Size.cx returned values.
...
git-svn-id: trunk@27416 -
2010-09-20 06:54:25 +00:00
zeljko
76d62da455
Gtk2: use GDK_CONFIGURE event on TCustomForms to avoid multiple triggering of OnResize() event. fixes #17015
...
git-svn-id: trunk@27414 -
2010-09-19 18:32:24 +00:00
zeljko
f7c1c5ee34
Gtk2: implemented TGtk2WidgetSet.GetTextExtentExPoint(), pango_extents_to_pixels() is mimicked by theo's pango_extents_to_pixels_wa() from issue #16908 .
...
git-svn-id: trunk@27412 -
2010-09-19 15:31:09 +00:00
zeljko
a67a2dce83
Qt: implemented TQtWidgetSet.GetTextExtentExPoint()
...
git-svn-id: trunk@27398 -
2010-09-17 17:33:09 +00:00
zeljko
dfbf7ae956
Gtk2: implemented GetBkColor(). part of #14792 .
...
git-svn-id: trunk@27391 -
2010-09-17 06:38:24 +00:00
zeljko
bfc3350f00
Qt: implemented GetBkColor(). part of #14792
...
git-svn-id: trunk@27390 -
2010-09-17 06:33:19 +00:00
blikblum
d2ab60647a
lcl,win32: implement GetBkColor. Issue #14792
...
git-svn-id: trunk@27388 -
2010-09-16 19:02:43 +00:00
blikblum
0d632cce9c
win32: use a hardcoded flag to avoid sending LM_CHANGED msg to LCL when handling BM_SETCHECK (TCustomCheckBox), fixes #17425
...
git-svn-id: trunk@27386 -
2010-09-16 14:08:01 +00:00
zeljko
d4364b78d9
Qt: do not touch pallettes for QLineEdit,QComboBox & QTextEdit classes in palette initialization under X11, otherwise we have wrong selection color if selection setted up when widget is not visible.
...
git-svn-id: trunk@27381 -
2010-09-16 09:38:25 +00:00
zeljko
6f8a1be510
Qt: fixed result of TQtWidgetSet.SetFocus(), in case when handle param is invalid.
...
git-svn-id: trunk@27379 -
2010-09-16 06:27:30 +00:00
zeljko
f8823dc2ea
Qt: fixed result of TQtLineEdit.EventFilter(), no result in case LCLObject is nil.
...
git-svn-id: trunk@27378 -
2010-09-16 06:22:22 +00:00
marc
74c55b5b4e
* Take lineorder into account when creating bitmap
...
git-svn-id: trunk@27377 -
2010-09-15 23:22:25 +00:00
marc
fd72ca7ff3
* Use DstBpp instead of SrcDepth when calculating DstLineSize ( fixes #0017234 )
...
* Use SrcBytes (=3) for 24Bpp images when RGB indices require a pixel copy
git-svn-id: trunk@27376 -
2010-09-15 22:59:16 +00:00
sekelsenmat
f21517ba5c
Adds support for testing the atDesktop menus under wince-win32-x86. Also fixes some include file ide directives
...
git-svn-id: trunk@27372 -
2010-09-15 15:44:18 +00:00
sekelsenmat
a3b60a072f
Starts implementing menu support for wince in atDesktop mode
...
git-svn-id: trunk@27371 -
2010-09-15 15:16:50 +00:00
zeljko
bf387fa577
Qt: fixed AV with TQtTreeWidget. fixes #17411
...
git-svn-id: trunk@27364 -
2010-09-14 16:17:12 +00:00
zeljko
fe09cbf97c
Qt: cleanup unused local variables.
...
git-svn-id: trunk@27343 -
2010-09-13 06:18:35 +00:00
zeljko
ed177fd3aa
Qt: improved TQtWidgetSet.WindowFromPoint() returning from cache.
...
git-svn-id: trunk@27338 -
2010-09-12 17:50:15 +00:00
zeljko
2940387350
Gtk2: fixed result from WindowFromPoint(). fixes first part of #17389 , still to do cases of showing/hiding, enabling/disabling, moving/resizing under mouse when it's not moved.
...
git-svn-id: trunk@27311 -
2010-09-11 17:25:58 +00:00
zeljko
c7feb3efb5
Qt: added helper functions for WindowFromPoint() cache.
...
git-svn-id: trunk@27310 -
2010-09-11 16:44:11 +00:00
zeljko
00d38fd701
Qt: added caching of TQtWidgetSet.WindowFromPoint() to avoid unnecesarry calls of very slow QApplication_widgetAt() function. Now TQtWidgetSet.WindowFromPoint() returns same as Win32 WindowFromPoint(), especially in case if mouse isn't moved but widget under it has been disabled or hidden, or new widget is shown above it.
...
git-svn-id: trunk@27309 -
2010-09-11 16:11:48 +00:00
mattias
dc78f11aef
fixed typo cant
...
git-svn-id: trunk@27305 -
2010-09-11 14:06:32 +00:00
mattias
369aa3055c
fixed typo dont
...
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
dmitry
d309150340
cocoa: improve Menus handling. Added utility debug methods for NSObject
...
git-svn-id: trunk@27289 -
2010-09-10 14:44:16 +00:00
zeljko
1a283e877f
Gtk2: fixed asserts from gtk2 lib when using gtk_window_set_keep_above() but our form is reparented to some other control (eg. TPanel).
...
git-svn-id: trunk@27288 -
2010-09-10 09:50:05 +00:00
zeljko
cf350c8d33
Qt: fixed TQtWidgetSet.WindowFromPoint() when TQtViewport returned instead of TQtCustomControl, also result won't be returned anymore if widget is disabled (like MSDN says).
...
git-svn-id: trunk@27287 -
2010-09-09 20:41:04 +00:00
dmitry
3a97736476
cocoa: implemented CocoaWSComboBox api. removed unused WS classes
...
git-svn-id: trunk@27285 -
2010-09-09 09:24:27 +00:00
zeljko
9a31e1e0ce
Qt: implemented csCaptureMouse flag.
...
git-svn-id: trunk@27284 -
2010-09-08 13:20:08 +00:00
zeljko
ec644c4d7d
Gtk2: fixed TMemo.ReadOnly. fixes #17367
...
git-svn-id: trunk@27281 -
2010-09-07 19:18:48 +00:00
zeljko
5100ba4cda
Gtk2: TGtk2WidgetSet.SetWindowPos() implemented SWP_NOMOVE & SWP_NOSIZE
...
git-svn-id: trunk@27280 -
2010-09-07 19:06:59 +00:00
zeljko
bfa8ee5124
Qt: fixed wrong return value of TQtWidgetSet.GetWindowRect(), value should be in screen coordinates.
...
git-svn-id: trunk@27279 -
2010-09-07 18:56:07 +00:00
zeljko
83b0b2ef87
Qt: fixed delayed initialization of palettes under X11 (inactiveTitleColor, disabled controls color) by initializing palette imediatelly (as suggested from qt-nokia devels).
...
git-svn-id: trunk@27277 -
2010-09-07 14:23:03 +00:00
dmitry
bcb791dcb6
cocoa: initial implementation of CocoaListView and CocoaGroupBox
...
git-svn-id: trunk@27276 -
2010-09-06 13:37:27 +00:00
dmitry
959ce2b93d
cocoa: initial implementation of WSScrollbar and WSToggleBox
...
git-svn-id: trunk@27275 -
2010-09-05 16:47:07 +00:00
dmitry
9343928763
cocoa: initial implementation of TMemo control, improved WScontrols handle creation, initial CocoaScrollView implementation
...
git-svn-id: trunk@27274 -
2010-09-05 13:47:24 +00:00
dmitry
3cd980b72a
cocoa:
...
* changed bounds setting/getting mechanism using objccategory.
* removed bounds setting/getting functions from CocoaUtils
* implemented DC origin changing getting functions
* fix CriticalSection compilation problem (related bug #17341 )
* added stubs for Scroll-related winapi function
git-svn-id: trunk@27273 -
2010-09-05 09:57:31 +00:00
zeljko
f2e1d9f50b
Gtk2: fixed TGtk2WSWinControl.SetChildZPosition(). fixes #17298
...
git-svn-id: trunk@27269 -
2010-09-04 17:14:49 +00:00
zeljko
4cc5ab25bf
Qt: fixed TQtWSWinControl.SetChildZPosition().Partially fixes #17298
...
git-svn-id: trunk@27268 -
2010-09-04 17:00:08 +00:00
zeljko
9943e6437a
Qt: moved QtFileDialog.setShortcuts() to UpdateProperties, also added setShortcuts() for SelectDirectory dialogs.
...
git-svn-id: trunk@27265 -
2010-09-04 12:12:45 +00:00
zeljko
bb84c35d61
Qt: TQtWidgetSet.DrawText() implemented usage of DT_MODIFYSTRING and DT_END_ELLIPSIS.
...
git-svn-id: trunk@27264 -
2010-09-04 11:27:53 +00:00
zeljko
fd82ff4f5f
Qt: new class TQtObjectDump for dumping complete object children tree, hooked TQtFileDialog children controls to add standard shortcuts which are missing in non-native qt dialogs.
...
git-svn-id: trunk@27262 -
2010-09-04 09:52:47 +00:00
dmitry
9ac81b0d34
cocoa: implement SaveDC/ReleaseDC functions, WindowOrigin moving, CriticalSections
...
git-svn-id: trunk@27259 -
2010-09-03 21:14:49 +00:00
dmitry
dfad230000
cocoa: partialy implemented EnumFontFamiliesEx
...
git-svn-id: trunk@27258 -
2010-09-03 09:56:48 +00:00
zeljko
404ca55078
Qt: disallow QFileDialog constructor to use native dialogs out of static functions. fixes #16532
...
git-svn-id: trunk@27257 -
2010-09-03 09:39:01 +00:00
dmitry
ea83850a40
cocoa: improve text out drawing, implemented ref-counting for gdi objects
...
git-svn-id: trunk@27255 -
2010-09-02 22:35:04 +00:00
dmitry
4475bded43
carbon: fix font selection
...
git-svn-id: trunk@27254 -
2010-09-02 21:49:33 +00:00
dmitry
fb61563630
cocoa: implementing lines, polygons and text drawing
...
git-svn-id: trunk@27253 -
2010-09-02 21:47:51 +00:00
zeljko
42a3b3918b
Qt: fixed TQtWidgetSet.drawText() according to msdn docs.fixed #17329
...
git-svn-id: trunk@27249 -
2010-09-02 08:34:33 +00:00
dmitry
dc60c4d504
carbon: modified CarbonWSForm handle creation to use CreateParams for PopupParent
...
git-svn-id: trunk@27247 -
2010-09-01 20:11:57 +00:00
dmitry
4adbe49f92
cocoa: implemented GDI region functions
...
git-svn-id: trunk@27245 -
2010-09-01 13:31:20 +00:00
sekelsenmat
c239bbb27d
Patch from zaher from bug #17249 and also fixes compiling the wince interface for win32
...
git-svn-id: trunk@27244 -
2010-09-01 12:32:43 +00:00
dmitry
d92436b1e6
cocoa: initial support for controls painting
...
git-svn-id: trunk@27243 -
2010-09-01 09:07:14 +00:00
zeljko
115fb411b9
Qt: inform lcl about resize during design time.
...
git-svn-id: trunk@27241 -
2010-08-31 15:25:10 +00:00
zeljko
1a2d37383b
Qt: fixed issue when IDE designer with main menu clips component icons at bottom, also fixed triggering of mainmenu in design form. fixes #16674 .
...
git-svn-id: trunk@27240 -
2010-08-31 14:38:20 +00:00
zeljko
81e179d32a
Qt: fixed bug with context menu where standard and parent popup menu was shown when some action executed from standard menu (eg. TEdit.Copy).Bug introduced in r26637 #a3dac0b6df.
...
git-svn-id: trunk@27239 -
2010-08-30 18:18:11 +00:00
zeljko
326743ab96
Qt: do not remove mousepropagation attribute from TQtTabBar. fixes #15192
...
git-svn-id: trunk@27238 -
2010-08-30 17:09:51 +00:00
zeljko
541a710bc0
Qt: reworked TQtCheckListBox triggers so it's same across all qtlcl supported platforms.
...
git-svn-id: trunk@27237 -
2010-08-30 12:26:21 +00:00
zeljko
6ac8338ecf
Qt: assign qt font when not owning painter instead of setting new font for QPainter. fixes #16646
...
git-svn-id: trunk@27236 -
2010-08-30 09:52:05 +00:00
marc
74596e95e8
* Don't use ADesc.Depth as biBitCount, it can only be used in case of a 24 bits image. Fixes #0017234
...
git-svn-id: trunk@27235 -
2010-08-29 16:30:24 +00:00
dmitry
1b96dd26cd
carbon: don't start the event loop, if application has been terminated. bug #16896
...
git-svn-id: trunk@27234 -
2010-08-29 16:09:32 +00:00
dmitry
75a6fecb66
carbon: initial implementation of PopupParent (docs required)! bug #16883
...
git-svn-id: trunk@27233 -
2010-08-29 15:44:02 +00:00
zeljko
7456e34bba
Qt: workaround for Qt bug where QPainter refuses to setFont() when used by CreateFromPainter(). fixes #16646
...
git-svn-id: trunk@27232 -
2010-08-29 15:33:24 +00:00
zeljko
ea4be3fe87
Qt: moved setCursorPosition & getCursorPosition to IQtEdit, fixed crashes with setCursorPosition
...
git-svn-id: trunk@27228 -
2010-08-29 09:58:20 +00:00
zeljko
896b2f89a0
Qt: TQtTextEdit: implemented internal getCursorPosition() & setCursorPosition()
...
git-svn-id: trunk@27227 -
2010-08-29 06:46:21 +00:00
zeljko
549e73a73f
Qt: TQtWSCustomEdit: implemented getCaretPos() & setCaretPos()
...
git-svn-id: trunk@27226 -
2010-08-28 19:09:15 +00:00
zeljko
ad720b3f1f
Qt: simplified TQtAbstractScrollArea.getClientBounds, formatting & cleanups.
...
git-svn-id: trunk@27225 -
2010-08-28 17:06:04 +00:00
zeljko
a373c25fb8
Qt: return scrollarea widget instead of viewport contentsrect in case of pending resizeevent.
...
git-svn-id: trunk@27224 -
2010-08-28 16:46:34 +00:00
zeljko
ef6e5205d7
Qt: update clientrect before showing an listwidget. fixes #17134
...
git-svn-id: trunk@27222 -
2010-08-28 14:53:59 +00:00
zeljko
59cfec4d13
Gtk2: implemented GetCaretPos() & SetCaretPos() for TCustomEdit.Patch by Torsten Bonde Christiansen. fixes #17187
...
git-svn-id: trunk@27218 -
2010-08-28 11:45:03 +00:00
zeljko
3e3bcedcc2
Qt: assign result in TQtCheckBox.EventFilter
...
git-svn-id: trunk@27214 -
2010-08-27 13:02:25 +00:00
zeljko
e6af6e3920
Qt: fixed TQtTreeWidget (TListView=vsReport) mouse selection triggers. fixes #16712 , #17177
...
git-svn-id: trunk@27213 -
2010-08-27 10:36:45 +00:00
zeljko
3c4e1acbbe
Qt: do not sync checkbox state (TQtCheckListBox) under non X11 platforms.
...
git-svn-id: trunk@27210 -
2010-08-27 08:51:52 +00:00
zeljko
2148f60765
Qt: fix ScrollWindowEx(): scroll child control only when SW_SCROLLCHILDREN flag exists. fixes #17175
...
git-svn-id: trunk@27209 -
2010-08-27 05:37:26 +00:00
dmitry
c9c3967f42
carbon: implement keyboard processing before menu fire event (LCL compatible). fixes #17205 and probably some other issues
...
git-svn-id: trunk@27207 -
2010-08-26 23:25:31 +00:00
dmitry
6175b6e31e
carbon: added tracking dismiss property for menus. make menu Parent property public
...
git-svn-id: trunk@27205 -
2010-08-26 22:57:07 +00:00
paul
f20f3aa1ef
lcl: add public property TCustomListView.ColumnCount,
...
win32: don't access listview columns array out of it bounds (issue #0017263 )
git-svn-id: trunk@27199 -
2010-08-26 16:39:45 +00:00
zeljko
ac142e838f
Qt: QtTextEdit: recognize html tags and use insertLine in that case. fixes #17170
...
git-svn-id: trunk@27195 -
2010-08-26 11:25:16 +00:00
zeljko
0822eb52d5
Qt: fixed context menu msg with right mouse click on QAbstractItemView classes.fixes #17133
...
git-svn-id: trunk@27194 -
2010-08-26 09:45:01 +00:00
zeljko
31238a6951
Qt: fixed qt caret respondtofocus behaviour. fixes #17173
...
git-svn-id: trunk@27193 -
2010-08-26 09:24:13 +00:00
zeljko
e62fc9c0f6
Gtk2: fixed compilation with -dVerboseFocus. fixes #17209
...
git-svn-id: trunk@27191 -
2010-08-26 09:08:22 +00:00
zeljko
fb63637d37
Qt: fixed TQtCheckListBox for BiDi mode. fixes #17055
...
git-svn-id: trunk@27190 -
2010-08-26 08:23:08 +00:00
sekelsenmat
8553012044
patch from zaher dirkey, fixes cliprect under wince. see bug #17249
...
git-svn-id: trunk@27173 -
2010-08-23 19:01:21 +00:00
martin
2c75806565
GTK2: clean up caret timer-handler
...
git-svn-id: trunk@27171 -
2010-08-23 17:19:59 +00:00
dmitry
dcb7c549f9
carbon: code cleanup
...
git-svn-id: trunk@27170 -
2010-08-23 07:35:36 +00:00
dmitry
b905dfda78
carbon: use ThemeSystemFont instead of ATSU font as default font
...
git-svn-id: trunk@27169 -
2010-08-23 07:01:12 +00:00
martin
6eb5cddca6
Gtk2: Fix newly created caret not shown (until after SetCaretPos)
...
git-svn-id: trunk@27159 -
2010-08-21 00:49:45 +00:00
sekelsenmat
e5b69bef2d
Improves wince platform detection and adds a new convenience routine to customshelltreeview
...
git-svn-id: trunk@27111 -
2010-08-16 14:35:59 +00:00
dmitry
76e6393192
carbon: fixed setting initial ListView Multiselect value. Fixed MakeVisible for listview item. bug #17082
...
git-svn-id: trunk@27095 -
2010-08-14 09:11:37 +00:00
sekelsenmat
7704fc9d09
Fixes wince compilation
...
git-svn-id: trunk@27075 -
2010-08-12 13:30:00 +00:00
dmitry
b6c70dc7ed
carbon: fixes for Luiz's RadioButton changes
...
git-svn-id: trunk@27063 -
2010-08-11 05:44:16 +00:00
blikblum
557e1a8671
qt: optimize GetUtf8String
...
git-svn-id: trunk@27061 -
2010-08-11 01:52:41 +00:00
blikblum
e50914e4bf
qt: don't send LM_CHANGE messages when changing State of TRadioButton and TCheckBox programatically. Use Toggled signal instead of Clicked to notify of changes in TRadioButton. Part of 0017139 and 0017104
...
git-svn-id: trunk@27054 -
2010-08-10 17:49:43 +00:00
blikblum
5456d6fc31
wince: avoid sending LM_CHANGE message when clearing TRadioButton siblings and when setting TRadioButton checked property programatically. Send LM_CHANGE when TRadioButton is unchecked. Don't toggle TRadioButton state when it's already checked. Part of 0017139 and 0017104
...
git-svn-id: trunk@27051 -
2010-08-10 16:52:59 +00:00
blikblum
8d7d250608
win32: avoid sending LM_CHANGE message when clearing TRadioButton siblings and when setting TRadioButton checked property programatically. Send LM_CHANGE when TRadioButton is unchecked. Don't toggle TRadioButton state when it's already checked. Part of 0017139 and 0017104
...
git-svn-id: trunk@27050 -
2010-08-10 16:52:13 +00:00
dmitry
14b1813403
carbon: final fixes for LineTo 1-pixel line drawing
...
git-svn-id: trunk@27048 -
2010-08-10 08:39:10 +00:00
sekelsenmat
9a8d703529
Fixes Carbon drawing of lines with width 1
...
git-svn-id: trunk@27047 -
2010-08-10 04:11:19 +00:00
paul
2c127c9897
win32: fix TListView.Autosize by Bernd Kreuss (issue #0017141 )
...
git-svn-id: trunk@27046 -
2010-08-10 02:07:48 +00:00
marc
a65d1b9fc1
* Convert rgb(a) bitmap data if data in different order. Modified patch #0016304 by Denis Golovan
...
git-svn-id: trunk@27044 -
2010-08-09 22:55:52 +00:00
marc
0b2e80a484
* Move generic RGBIndices code to rawimage description. Part of patch #16304 by Denis Golovan
...
git-svn-id: trunk@27043 -
2010-08-09 22:53:38 +00:00
sekelsenmat
ed2bd3cf36
Changes SHSendBackToFocusWindow to dynamic loading
...
git-svn-id: trunk@27042 -
2010-08-09 08:03:40 +00:00
dmitry
3048fbf9e9
carbon: fix focusing, allowing an empty form to gain focus. bugs #16823,#16866
...
git-svn-id: trunk@27041 -
2010-08-08 20:47:27 +00:00
marc
e46e582d12
* Set HideKeyTableWarnings by default so no key table warnings ar shown (Out of OEM specific VK codes)
...
git-svn-id: trunk@27035 -
2010-08-08 15:07:23 +00:00
paul
65ab258cc6
win32: draw disabled text if bitbtn is disabled even when themes are enabled (issue #0017106 )
...
git-svn-id: trunk@27006 -
2010-08-04 10:29:37 +00:00
paul
83e5f75727
lcl: ignore BorderStyle changes for TForm during the design time (issue #0017099 )
...
git-svn-id: trunk@26993 -
2010-08-03 11:55:11 +00:00
sekelsenmat
0af3b0c7d5
Fixes menu handler deleting
...
git-svn-id: trunk@26990 -
2010-08-03 10:10:17 +00:00
sekelsenmat
015175889d
More debug info for wince
...
git-svn-id: trunk@26989 -
2010-08-03 09:34:22 +00:00
sekelsenmat
3619a95418
Fixes wince debug info
...
git-svn-id: trunk@26988 -
2010-08-03 08:32:29 +00:00
sekelsenmat
6e88a7c284
Improves wince menus, see bug #17090
...
git-svn-id: trunk@26986 -
2010-08-03 07:47:31 +00:00
dmitry
f017af8aaa
win32: implement IME input support for Edit controls. KeyUp (for VK_RETURN) event is supressed if IME composition is finished, bug #16430
...
git-svn-id: trunk@26984 -
2010-08-02 23:52:51 +00:00
paul
d53a9b30fa
win32: skip AlphaBlend in design time (issue #0017080 )
...
git-svn-id: trunk@26975 -
2010-08-02 09:03:05 +00:00
paul
3ecb4329dc
gtk2: formatting
...
git-svn-id: trunk@26974 -
2010-08-02 02:52:27 +00:00
sekelsenmat
fd285227cc
Fixes checkbox spacing in Hiresmode
...
git-svn-id: trunk@26897 -
2010-07-29 09:47:22 +00:00
sekelsenmat
02fc6db99f
wince: fixes the case when a form has no menu in atKeyPadDevice mode
...
git-svn-id: trunk@26893 -
2010-07-29 09:04:58 +00:00
dmitry
3f5b455058
carbon: implement BorderStyle for CarbonMemo, fix #17039
...
git-svn-id: trunk@26891 -
2010-07-29 08:19:56 +00:00
sekelsenmat
a7f5ebcf07
Fixes setting the caption of second-level menu items in wince
...
git-svn-id: trunk@26871 -
2010-07-28 15:21:00 +00:00
sekelsenmat
939ce63730
Fixes TButton and TEdit autosizing in WinCE.
...
git-svn-id: trunk@26870 -
2010-07-28 10:58:53 +00:00
sekelsenmat
fb877424e0
Small improvement to wince debug info
...
git-svn-id: trunk@26855 -
2010-07-27 14:42:48 +00:00
sekelsenmat
c6b619e53e
Fixes wince menus in secondary forms
...
git-svn-id: trunk@26853 -
2010-07-27 11:35:10 +00:00
sekelsenmat
8e7181cd43
Patch from DRIGUS GmbH, implements Allocate/DeallocateHwnd for wince
...
git-svn-id: trunk@26852 -
2010-07-27 11:24:17 +00:00
sekelsenmat
72d00b6953
Patch from José Mejuto, fixes Listview column autosize
...
git-svn-id: trunk@26846 -
2010-07-27 07:33:03 +00:00
dmitry
fc4c35c78e
carbon: fix incorrect mouseup emulation. (mouseup was reported even if mousebutton was not released)
...
git-svn-id: trunk@26842 -
2010-07-26 21:40:56 +00:00
sekelsenmat
c3c6eb4583
wince: implements sending back key as backspace to controls
...
git-svn-id: trunk@26841 -
2010-07-26 15:09:07 +00:00
paul
013200586a
lcl: move shortcut handling from after interface to before interface (bug #0016990 )
...
git-svn-id: trunk@26833 -
2010-07-26 04:54:10 +00:00
sekelsenmat
39e1a688b8
Fixes setting the left top-level menuitem caption under PDA mode
...
git-svn-id: trunk@26807 -
2010-07-24 11:19:13 +00:00
zeljko
eab8efacf7
Qt: simplified buttonrect calculation, part of #17018
...
git-svn-id: trunk@26806 -
2010-07-24 11:13:28 +00:00
sekelsenmat
3768b38f7e
Removes the wince start menu index
...
git-svn-id: trunk@26804 -
2010-07-24 10:42:50 +00:00
zeljko
c4530010c0
Qt: fixed TQtComboBox ButtonRect calculation with some themes. fixes #17018
...
git-svn-id: trunk@26800 -
2010-07-24 10:11:17 +00:00
sekelsenmat
714834cb9c
Fixes all wince menu bugs, except setting caption of subitems in atKeyPadDevice mode
...
git-svn-id: trunk@26798 -
2010-07-24 09:57:58 +00:00
zeljko
62be1c21cc
Qt: eat QtKeyF4 over combobox since it opens combo list by default with qt. fixes #17023
...
git-svn-id: trunk@26797 -
2010-07-24 09:32:06 +00:00
sekelsenmat
086c34072b
WinCE menu improvement
...
git-svn-id: trunk@26794 -
2010-07-23 16:48:38 +00:00
dmitry
838897a0b2
carbon: changed creation of global colorspaces from Generic to Device, for color accuracy
...
git-svn-id: trunk@26791 -
2010-07-23 13:38:33 +00:00
zeljko
c212a2a278
Qt: fixed wrong ButtonRect in TQtComboBox.EventFilter(). fixes #17018
...
git-svn-id: trunk@26790 -
2010-07-23 10:43:14 +00:00
dmitry
4981638369
carbon: fix customcontrol scrollbars updating
...
git-svn-id: trunk@26781 -
2010-07-22 12:44:04 +00:00
paul
ec0670136a
win32, wince: remove unused ancient accelerator code
...
git-svn-id: trunk@26775 -
2010-07-22 08:46:31 +00:00
paul
df4dcb0147
lcl: formatting, cleanup
...
git-svn-id: trunk@26773 -
2010-07-22 08:19:41 +00:00
paul
e0a5a6d15b
win32: remove some system menu items from the window if borderstyle = bsDialog to behave the same as standard windows dialogs and delphi dialogs
...
git-svn-id: trunk@26770 -
2010-07-22 04:47:44 +00:00
zeljko
67fa623ccb
Gtk2: check if form is designing when using gtk_window_set_keep_above()
...
git-svn-id: trunk@26765 -
2010-07-21 20:11:48 +00:00
zeljko
960c3f895a
Gtk2: use gtk_window_set_keep_above() just before show/hide. fixes #16595
...
git-svn-id: trunk@26764 -
2010-07-21 20:02:23 +00:00
zeljko
a18bbff0f4
Qt: block QtKey_Space on QRadioButton when it's not child of TRadioGroup.
...
git-svn-id: trunk@26763 -
2010-07-21 10:00:59 +00:00
zeljko
3d8f047dc7
Qt: stop event filter in case when QRadioButton isn't child of TRadioGroup. fixes #16998
...
git-svn-id: trunk@26762 -
2010-07-21 09:46:43 +00:00
zeljko
add468dac9
Qt: use COLOR_GRAYTEXT from QPaletteDisabled. fixes #16994
...
git-svn-id: trunk@26759 -
2010-07-21 05:46:32 +00:00
paul
35a4f8ad05
lcl, win32: better support for wm_help command. pass context and keyword to DoOnHelp in a compatible to delphi way (issue #0015065 )
...
git-svn-id: trunk@26744 -
2010-07-20 08:43:36 +00:00
paul
119861634f
gtk2: skip own popup menu check for containers if signal was emitted by their children (issue #0016981 )
...
git-svn-id: trunk@26743 -
2010-07-20 03:39:57 +00:00
mattias
e0341b226e
win32 intf: documented TPopupMenu.OnClose and delete items
...
git-svn-id: trunk@26733 -
2010-07-19 10:39:06 +00:00
paul
47c3b8be53
lcl, win32: cleanup
...
git-svn-id: trunk@26732 -
2010-07-19 05:43:57 +00:00
paul
6070876176
lcl: formatting
...
git-svn-id: trunk@26730 -
2010-07-19 03:15:12 +00:00
paul
dbfda353fe
win32: fix typo in HandleUnicodeChar (bug #0016950 )
...
git-svn-id: trunk@26729 -
2010-07-19 00:54:26 +00:00
jesus
62d890f71d
LCL, fix exception on gtk1 while trying to load default font
...
git-svn-id: trunk@26719 -
2010-07-17 18:33:18 +00:00
zeljko
6e6c409098
Qt: cleanup
...
git-svn-id: trunk@26687 -
2010-07-16 15:09:52 +00:00
zeljko
ed42b3ed5e
Qt: fix updating tabcaption. fixes #16864
...
git-svn-id: trunk@26684 -
2010-07-16 13:49:50 +00:00
zeljko
168f6a214e
Qt: fixed bug where qt segfaulted when eg. closed many pages (fast) in SE by Ctrl+F4.
...
git-svn-id: trunk@26683 -
2010-07-16 11:11:37 +00:00
paul
76c11c114e
gtk2: handle UTF8KeyPress key changes. based on patch of José Mejuto (gtk2 part of issue #0015927 )
...
git-svn-id: trunk@26673 -
2010-07-16 03:20:00 +00:00
paul
f6d293c39b
win32: process UTF8KeyPress properly - look for the key changes. based on patch of José Mejuto (win32 part of issue #0015927 )
...
git-svn-id: trunk@26672 -
2010-07-16 02:16:43 +00:00
paul
b18be4646a
lcl: fix ControlAtPos when it search recursively by Martin Friebe (issue #0014256 )
...
git-svn-id: trunk@26660 -
2010-07-15 06:25:51 +00:00
dmitry
1004c7bb6c
carbon: reduce debug output
...
git-svn-id: trunk@26655 -
2010-07-14 21:11:47 +00:00
zeljko
46e13be16d
Qt: properly set column widths, also ColumnDelete() fixed. fixes #16928
...
git-svn-id: trunk@26652 -
2010-07-14 16:30:29 +00:00
mattias
a8d5b99b2b
gtk2 intf: clean up
...
git-svn-id: trunk@26646 -
2010-07-14 15:14:00 +00:00
paul
5c9d0e55da
carbon: fix comment
...
git-svn-id: trunk@26645 -
2010-07-14 13:31:58 +00:00
paul
39aa93d9cf
qt: send viewport contextmenu event to viewport event filter
...
git-svn-id: trunk@26644 -
2010-07-14 13:18:08 +00:00
paul
e8db9d81c9
carbon: fix LM_CONTEXTMENU handling
...
git-svn-id: trunk@26642 -
2010-07-14 12:46:06 +00:00
paul
dc533a8aff
qt: send viewport mousemove event to viewport event filter
...
git-svn-id: trunk@26641 -
2010-07-14 11:16:15 +00:00
paul
9a46922fa4
gtk2: fix comment
...
git-svn-id: trunk@26639 -
2010-07-14 10:44:32 +00:00
paul
820ef22ddf
qt: fix problems with button clicks after the r26637 #a3dac0b6df
...
git-svn-id: trunk@26638 -
2010-07-14 09:30:54 +00:00
paul
a3dac0b6df
lcl: redo context menu message handling:
...
- when called by keyboard pass -1, -1 coords
- remove child->parent loop from LCL to widgetsets (win32 and wince do this automatically, qt do it too if mouse propagation is on)
- don't show parent context menu if child has own standard menu (like TEdit)
qt: redo mouse handling, turn on mouse propagation and mouse tracking for most of widgets, stop propagation in event filters
gtk2: implement context menu loop
widgetsets: remove LM_PRESSED, LM_RELEASED messages (LCL does not use them and they are not needed for any compatbility reasons)
git-svn-id: trunk@26637 -
2010-07-14 08:47:02 +00:00
dmitry
82860f9b73
carbon: fix inproper scrollbars showing #16613
...
git-svn-id: trunk@26636 -
2010-07-14 08:19:46 +00:00
zeljko
b6beec0f82
Qt: fixed warnings
...
git-svn-id: trunk@26626 -
2010-07-13 14:55:49 +00:00
zeljko
cbc5a306cd
Qt: cleanup
...
git-svn-id: trunk@26625 -
2010-07-13 14:40:29 +00:00
zeljko
b06d7701df
Qt: don't touch flags if we are in design time.
...
git-svn-id: trunk@26624 -
2010-07-13 14:38:54 +00:00
zeljko
32353ca72a
Qt: fixed bug where fsStayOnTop forms after hide cannot be shown anymore (visible in window list but invisible on screen).
...
git-svn-id: trunk@26623 -
2010-07-13 14:11:17 +00:00
zeljko
df22fafe9f
Qt: do not create scrollbar handles from TQtCustomControl.getClientBounds(), also better workaround for infinite loop with scrollingwincontrols, it happens only if Form.AutoScroll=True (there's no scrollbars for forms under qt yet - need different implementation).
...
git-svn-id: trunk@26621 -
2010-07-13 13:18:33 +00:00
zeljko
cab3089111
Qt: make viewportNeeded & viewportDelete virtual, so allow subclassing
...
git-svn-id: trunk@26612 -
2010-07-13 07:56:55 +00:00
zeljko
df68a7ddf6
Qt: big performance boost in StretchMaskBlt(), now mask is stretched (if needed) to image size.Removed destination width & height stretching from StretchMaskBlt(), since it is done internally in TQtDeviceContext.DrawImage()
...
git-svn-id: trunk@26607 -
2010-07-12 11:14:37 +00:00
zeljko
5c853d1f08
Qt: StretchMaskBlt(): fixed bug in statement for stretching dst width & height. fixes #16910
...
git-svn-id: trunk@26603 -
2010-07-11 20:03:57 +00:00
dmitry
59f9b13b95
carbon: fix compilation due to GetStockObject result type changes
...
git-svn-id: trunk@26600 -
2010-07-11 16:10:58 +00:00
zeljko
b0336c670d
Qt: let the TQtWidget remember it's last caret pos, fixes various problems with TSynEdit.
...
git-svn-id: trunk@26583 -
2010-07-10 19:25:22 +00:00
mattias
152fbbfa9c
gtk2 intf: when a window gets focus, send the LM_SETFOCUS message to the ActiveControl to follow the LCL logic
...
git-svn-id: trunk@26563 -
2010-07-10 06:51:28 +00:00
zeljko
158bd528ca
Qt: allow non spontaneous key event for IQtEdit.
...
git-svn-id: trunk@26555 -
2010-07-09 22:11:21 +00:00
dmitry
3e688d4f5d
carbon: allow BitBtns to set custom fonts. fix for #16882
...
git-svn-id: trunk@26544 -
2010-07-09 06:03:03 +00:00
zeljko
e489b279cb
Qt: set empty text for menuitem which is separator. fixes #16871
...
git-svn-id: trunk@26536 -
2010-07-08 20:35:48 +00:00
zeljko
d0a7a15d11
Gtk2: properly set wordwrap for TGtk2WSCustomMemo. fixes #16875
...
git-svn-id: trunk@26535 -
2010-07-08 20:29:59 +00:00
mattias
77c0853887
debugging
...
git-svn-id: trunk@26534 -
2010-07-08 20:24:51 +00:00
dmitry
fecbf2d56a
carbon: setting interface constraints for CarbonComboBox
...
git-svn-id: trunk@26531 -
2010-07-08 17:07:53 +00:00