Commit Graph

12524 Commits

Author SHA1 Message Date
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
jesus
62e7fc2053 LCL, grids, changed the cell's text drawing order, issue #17372
git-svn-id: trunk@27294 -
2010-09-10 19:15:59 +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
jesus
c925f08bcb LCL, check that dbgrid reserves at least one buffer, issue #14694
git-svn-id: trunk@27278 -
2010-09-07 17:48:05 +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
sekelsenmat
b542879b49 Fixes the name of the ICNS format
git-svn-id: trunk@27267 -
2010-09-04 16:28:08 +00:00
sekelsenmat
2739344796 Fixes the compilation of the LCL for WinCE by fixing the new winfileutils to work with WinCE
git-svn-id: trunk@27266 -
2010-09-04 15:28:39 +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
02308cd07e lcl: fix range cheking errors for windows file operations
git-svn-id: trunk@27256 -
2010-09-03 09:27:25 +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
dmitry
41cba2bb5e lcl: fix range checking error in win FileUtils, reported at #15642
git-svn-id: trunk@27251 -
2010-09-02 18:34:56 +00:00
zeljko
bf1bdb52a7 LCL: fixed calling of wrong inherited method in TCustomEdit.KeyUpAfterInterface(). fixes #17332
git-svn-id: trunk@27250 -
2010-09-02 18:31:38 +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
319db72532 lcl: fileutil initial unix/windows separation. improved support for Windows unicode file operations (bug #15642)
git-svn-id: trunk@27248 -
2010-09-01 20:18:45 +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
sekelsenmat
a390c1cde4 Deprecates the current TNotebook in preparation to fix it.
git-svn-id: trunk@27246 -
2010-09-01 13:55:44 +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
marc
32dbf71e3a * add workaround for alpha channel on palette based PNG images for fpc2.4 (fixed in fpc r15926 #af088605bf). Fixes issue #0017267
git-svn-id: trunk@27242 -
2010-08-31 21:32:03 +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