zeljko
74bcb1d11f
Qt: formatting
...
git-svn-id: trunk@31213 -
2011-06-14 12:02:08 +00:00
zeljko
779e0eea41
Qt: TQtWidgetSet introduced WindowManagerName property to handle different behaviour between various wm (especially metacity vs others).
...
git-svn-id: trunk@31120 -
2011-06-06 15:09:08 +00:00
zeljko
2946723366
Qt: always invalidate widgetAt() cache since QWidget_mapToGlobal() could fail in multithreading environment and then segfault app.
...
git-svn-id: trunk@30882 -
2011-05-24 06:19:34 +00:00
zeljko
0080ce812a
Qt: do not ask if QKeySequence_isEmpty for global action, otherwise it won't be added to global actions list.
...
git-svn-id: trunk@29544 -
2011-02-14 12:26:53 +00:00
zeljko
4aa7b988f1
Qt: added global actions handling (Alt+Key in app main form).issue #18478
...
git-svn-id: trunk@29543 -
2011-02-14 11:50:23 +00:00
zeljko
f8893e96d8
Qt: fixed weird behaviour of fonts when lcl font.name='default', we must assign QApplication default font family in that case.
...
git-svn-id: trunk@28868 -
2011-01-05 14:01:29 +00:00
zeljko
b27fe29d35
Qt: initialize pallettes only if we are under KDE3 installation, since selection and disable
...
colors are mismatched only in this case.
git-svn-id: trunk@28846 -
2010-12-31 08:55:25 +00:00
zeljko
1bc2a1db55
Qt: fixed type cast which caused immediate crash of qtlcl when assigning PtrUInt to WParam.
...
git-svn-id: trunk@27792 -
2010-10-21 11:31:13 +00:00
zeljko
e6a8e1e2a4
LCL: reverted TLMMouse Keys to PtrInt.
...
Qt: fixed wrong cast in TQtTimer.Create(), cast to THandle(PtrUInt) instead to PtrInt, fixes crash on 32bit with -Cr
git-svn-id: trunk@27788 -
2010-10-21 10:53:10 +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
fe09cbf97c
Qt: cleanup unused local variables.
...
git-svn-id: trunk@27343 -
2010-09-13 06:18:35 +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
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
zeljko
0fc5f38dce
Qt: check if app mainform visible in appBringToFront.
...
git-svn-id: trunk@26018 -
2010-06-10 08:00:19 +00:00
zeljko
08ca74b42e
Qt: fixed loop appActivate/appDeactivate when restoring stayonTop forms in appActivate.
...
git-svn-id: trunk@25746 -
2010-05-29 07:21:07 +00:00
zeljko
324b896065
Qt: another trial to fix appminimize in case when we switch virtual desktops (X11 only)
...
git-svn-id: trunk@25599 -
2010-05-24 06:45:59 +00:00
zeljko
86443fce56
Qt: remove stayontop in appdeactivate, restore in appactivate.
...
git-svn-id: trunk@25537 -
2010-05-20 11:14:21 +00:00
zeljko
c86392f301
LCL: added ASystemTopAlso bool param to TApplication.RemoveStayOnTop & TApplication.RestoreStayOnTop, WS.AppRemoveStayOnTop & WS.AppRestoreStayOnTop, because TApplication.HandleException should normalize all stayontop (app, sys), but app activate/deactivate only fsStayOnTop.
...
git-svn-id: trunk@25535 -
2010-05-20 10:54:19 +00:00
zeljko
b0ec64ca2d
Qt: enabled AppRemoveStayOnTopFlags & AppRestoreStayOnTopFlags
...
git-svn-id: trunk@25534 -
2010-05-20 10:29:36 +00:00
zeljko
93d903b1e3
Qt: implemented QtRemoveStayOnTop, QtRestoreStayOnTop, but disabled until LCL side reworked.
...
git-svn-id: trunk@25529 -
2010-05-20 09:07:18 +00:00
zeljko
466e7cf010
Qt: simplified AppMinimize, AppRestore
...
git-svn-id: trunk@25510 -
2010-05-19 09:36:36 +00:00
zeljko
3fc0e1c26e
Qt: fixed ugly behaviour of qt when switch virtual desktops.
...
git-svn-id: trunk@25464 -
2010-05-16 15:05:14 +00:00
zeljko
b9d8f1fc2f
Qt: added internal HASX11 define.It is used internally in qtlcl instead of IFDEF LINUX since X11 can be on FreeBsd or NetBsd.
...
git-svn-id: trunk@25456 -
2010-05-16 10:50:38 +00:00
zeljko
05f1f285ca
Qt: fixed proper restoring of forms in AppRestore (eg. maximized forms)
...
git-svn-id: trunk@25449 -
2010-05-15 21:27:29 +00:00
zeljko
15f26949ac
Qt: when called appMinimize & appRestore , minimize & restore designer forms too
...
git-svn-id: trunk@25447 -
2010-05-15 20:26:48 +00:00
zeljko
2773d06487
Qt,Gtk2: added minimize/restore ability to get consistent behaviour on all platforms. Patch by Flavio Etrusco modified by me for qt. fixes #13919
...
git-svn-id: trunk@25407 -
2010-05-14 19:12:02 +00:00
zeljko
59f8b84790
Qt: implemented eventHandler via QSocketNotifier, patch by Almindor.
...
git-svn-id: trunk@25251 -
2010-05-08 14:46:31 +00:00
zeljko
db2c2f2cbc
Qt: reduce amount of calls when QEventApplicationPaletteChange triggers
...
git-svn-id: trunk@25146 -
2010-05-03 08:31:43 +00:00
zeljko
0103468420
Qt: reinitialize widget palette on QEventPaletteChange, cleanups
...
git-svn-id: trunk@25139 -
2010-05-02 17:01:26 +00:00
zeljko
8d37468fe5
Qt: invalidate only handles of syscolor brushes when style is dynamically changed, otherwise we have segfault, because brush can be in saveddc data.
...
git-svn-id: trunk@25136 -
2010-05-02 15:25:31 +00:00
zeljko
66b938bd38
Qt: clear allocated syscolorbrushes on style change.
...
git-svn-id: trunk@25133 -
2010-05-02 14:17:11 +00:00
paul
ecccf982ed
qt: initial implementation for GetSysColorBrush + various cleanup and bug fixes
...
git-svn-id: trunk@25131 -
2010-05-02 11:26:52 +00:00
zeljko
c9e25bf219
Qt: added qt lib version helper functions and constants QtVersionMajor, QtVersionMinor and QtVersionMicro.
...
git-svn-id: trunk@24996 -
2010-04-27 08:40:06 +00:00
paul
82492703f2
lcl: correct declaration of TRIVERTEX, add TTriVertex, TGradientRect types, fix Qt and Gtk versions of GradientFill
...
git-svn-id: trunk@24458 -
2010-04-06 07:10:10 +00:00
zeljko
caf4b2dd3f
LCL: added IsWindow(HWND), implemeted IsWindow() for qt, gtk and gtk2.
...
git-svn-id: trunk@24283 -
2010-03-29 12:42:58 +00:00
marc
20448170ae
+ WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
...
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
paul
825457d6b0
win32, wince, qt, gtk: fix DCSetPixel to allow system colors by Luiz Americo (issue #0015265 )
...
git-svn-id: trunk@23136 -
2009-12-14 05:29:59 +00:00
zeljko
8aaa541d27
Qt: added IntfAppActivate & IntfAppDeactivate
...
git-svn-id: trunk@23129 -
2009-12-13 21:09:23 +00:00
zeljko
cef549858e
Qt: dragimagelist should respect DoLock and DoUnlock parameters.
...
git-svn-id: trunk@22192 -
2009-10-15 10:13:06 +00:00
zeljko
666fea3cc7
Qt: *ATTENTION* qt45 is default from now on (no more USE_QT_XX defines, qt43 and qt44 are not supported anymore)
...
default bindings version is 1.72.
git-svn-id: trunk@21913 -
2009-09-29 11:24:31 +00:00
paul
00ec699a6e
lcl: rename AttachMenuToWindow to SetMenu for winapi compatibility
...
git-svn-id: trunk@21868 -
2009-09-25 16:09:33 +00:00
paul
48e060d9f7
lcl: MainMenu refactoring and other menu changes:
...
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
- TMainMenu.WindowHandle is introduced for delphi compatibility
- Don't show a main menu for the bsDialog windows (delphi compatibility)
- Explicitly request MainMenu to notify form about destruction
git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
sekelsenmat
839f502c1d
Updates LCL Capability constants
...
git-svn-id: trunk@21284 -
2009-08-18 15:47:26 +00:00
sekelsenmat
cc2fd37660
Uses constants instead of raw numbers for the result of GetLCLCapacity
...
git-svn-id: trunk@21281 -
2009-08-18 14:52:56 +00:00
zeljko
0e20e0ed72
Qt: do not process stalled events before QCoreApplication_quit(), stalled events are handled by qt.Such call produces AV's on app quit in rare cases (Qt-4.5).
...
git-svn-id: trunk@20444 -
2009-06-05 16:08:58 +00:00
paul
077b9c0616
lcl: fonts:
...
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
- replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848
git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
02f8fc163d
lcl: add new LCLCapability flag lcDragDockStartOnTitleClick
...
git-svn-id: trunk@19701 -
2009-04-30 03:22:04 +00:00
zeljko
99c2e458af
Qt: Added Qt-4.5 bindings - 1.69. Default for win32 is qt-4.5.
...
git-svn-id: trunk@19501 -
2009-04-19 09:33:34 +00:00
zeljko
26bf487d9a
Qt: removed deffered deletion from qt44.
...
git-svn-id: trunk@18285 -
2009-01-14 07:46:21 +00:00