Commit Graph

179 Commits

Author SHA1 Message Date
zeljko
6d89520c5e Qt: cancel application hint when app is minimized or when virtual desktop is switched via pager.
git-svn-id: trunk@43710 -
2014-01-11 21:05:57 +00:00
zeljko
5fcfa99343 Qt: improved teTreeView theme drawer, trigger IntfDoOnThemeChange when theme is changed.
git-svn-id: trunk@43168 -
2013-10-08 09:55:04 +00:00
zeljko
ae866a4d12 Qt: fixed application closing when session manager is used. issue #18910
git-svn-id: trunk@43043 -
2013-09-30 11:11:12 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
zeljko
467b293531 Qt: fixed bug with AltGr key handling under windows.We are using winapi directly as workaround for bug in Qt library. issue #23808
git-svn-id: trunk@41378 -
2013-05-24 07:20:39 +00:00
zeljko
37d130d8ed Qt: rework fixes for metacity like wm's. Now marco and gnome shell are mapped as metacity.
git-svn-id: trunk@41347 -
2013-05-22 08:41:02 +00:00
zeljko
efb76fb76b Qt: fixed visibility of THintWindow class when virtual desktop is switched or application minimized.issue #24363
git-svn-id: trunk@40995 -
2013-05-02 11:05:55 +00:00
zeljko
f5bc6f0df1 Qt: propagate QEvent::ShortcutOverride to parent, so stop key event if shortcut is executed. issue #22827
git-svn-id: trunk@38572 -
2012-09-08 09:13:29 +00:00
zeljko
1b2f7f8684 Qt: bypass windowmanager when showing dragimagelist.
git-svn-id: trunk@37374 -
2012-05-21 11:15:49 +00:00
zeljko
cd23c7197e Qt: cleanup unused local variables
git-svn-id: trunk@35673 -
2012-03-03 15:58:13 +00:00
zeljko
48fb810448 Qt: use style hints to increase menubar height result in SM_CYMENU if needed. issue #1020
git-svn-id: trunk@35649 -
2012-03-02 07:31:06 +00:00
zeljko
62739cca82 Qt: make application activate/deactivate 100% accurate by 2way check when qt sends QEvent::ApplicationDeactivate.
git-svn-id: trunk@35586 -
2012-02-24 18:09:10 +00:00
zeljko
309d5ca982 LCL: added lcEmulatedMDI TLCLCapability needed for mdi lcl emulator.
git-svn-id: trunk@35356 -
2012-02-13 13:45:30 +00:00
zeljko
7fc44ac9f8 Qt: make SM_CYMENU 1 under darwin, not 0.
git-svn-id: trunk@35312 -
2012-02-11 18:52:41 +00:00
zeljko
cb5cd0503b Qt: return 0 for SM_CYMENU under darwin, since it's not embedded into form
git-svn-id: trunk@35311 -
2012-02-11 18:50:51 +00:00
zeljko
d0ea51667e Qt: fixed compilation under darwin
git-svn-id: trunk@35310 -
2012-02-11 18:39:48 +00:00
zeljko
4160c140c1 Qt: implemented SM_CYMENU system metrics, also added todo for SM_CYMENUSIZE and SM_CXMENUSIZE.
git-svn-id: trunk@35298 -
2012-02-11 10:02:36 +00:00
zeljko
884f78a7c0 Qt: cleanup unused local variables.
git-svn-id: trunk@35220 -
2012-02-07 12:02:14 +00:00
zeljko
7a324ede40 Qt: make TQtImage.FHandle private, introduce Handle readonly property. issue #21235
git-svn-id: trunk@35203 -
2012-02-07 07:38:40 +00:00
zeljko
a77f6d8a5e Qt: fixed forms in library (dll) crashing.
git-svn-id: trunk@34642 -
2012-01-07 17:22:02 +00:00
zeljko
9395999ae0 Qt: added attribute QtAA_MacDontSwapCtrlAndMeta for qt >= 4.6 under mac.issue #20897
git-svn-id: trunk@34172 -
2011-12-14 09:26:35 +00:00
zeljko
014bdd4735 Qt: introduced TQtGDIObjects class to track gdi objects validity, added missing TQtRegion into SelectObject()
git-svn-id: trunk@33483 -
2011-11-12 11:26:24 +00:00
zeljko
00b128132e Qt: better exception explanation if raised inside TQtWidgetSet.IsValidGDIObject(), TQtWidgetSet.DeleteObject() use FreeThenNil instead just Free
git-svn-id: trunk@33443 -
2011-11-09 18:18:12 +00:00
zeljko
7a2204aa2d Qt: fixed range check error introduced in r33401 #290ebf51b6
git-svn-id: trunk@33412 -
2011-11-08 11:30:24 +00:00
zeljko
290ebf51b6 Qt: fixed TQtWidgetSet.DCSetPixel. issue #20644
git-svn-id: trunk@33401 -
2011-11-07 18:03:34 +00:00
zeljko
9cf887e215 Qt: cleanup
git-svn-id: trunk@33400 -
2011-11-07 17:14:47 +00:00
zeljko
dc82bc3804 Qt: final fix for qt mdi focus behaviour. Now it works exactly as expected and friendly to lcl.
git-svn-id: trunk@33394 -
2011-11-07 10:26:29 +00:00
zeljko
2ab49d0d32 Qt: rewritten FocusChanged, reordered the way how qt sends focus events to LCL.Fixed bug when an invalid but <> nil handle can be obtained inside FocusChanged by using IsValidHandle(). Fixed problems with mdi focus.
git-svn-id: trunk@33379 -
2011-11-06 18:43:32 +00:00
zeljko
63f05ff12f Qt: more debug code in FocusChanged event
git-svn-id: trunk@33372 -
2011-11-06 14:06:20 +00:00
zeljko
db9726089b Qt: renamed params of event focuschanged
git-svn-id: trunk@33365 -
2011-11-06 10:32:40 +00:00
zeljko
576ac959ca Qt: fixed infinite loop and crash with spurious events from mdiarea, when try to focusin/focusout
mdichild form.

git-svn-id: trunk@33334 -
2011-11-05 12:50:38 +00:00
zeljko
bfc0d54628 Qt: fixed crash with MDI child
git-svn-id: trunk@33333 -
2011-11-05 12:14:00 +00:00
zeljko
1b878cad7d Qt: fixed infinite loop inside mdiarea when we switch mdi children
git-svn-id: trunk@33326 -
2011-11-05 08:58:36 +00:00
zeljko
f1c68cf775 Qt: renamed TQtBrush Widget: QBrushH to FHandle: QBrushH, also TQtPen Widget:QPenH to FHandle: QPenH
git-svn-id: trunk@33291 -
2011-11-04 10:45:39 +00:00
zeljko
7a3d27f62c Qt: renamed TQtFont Widget: QFontH to FHandle: QFontH, also TQtFontMetrics Widget: QFontMetricsH to FHandle: QFontMetricsH
git-svn-id: trunk@33289 -
2011-11-04 10:31:30 +00:00
zeljko
da01ce8458 Qt: renamed TQtImage Handle: QImageH to FHandle: QImageH.
git-svn-id: trunk@33287 -
2011-11-04 10:22:59 +00:00
zeljko
fdd2a0c7a1 Qt: cleanups, simplification of some code, fixed some compiler warnings and hints
git-svn-id: trunk@33041 -
2011-10-23 09:30:16 +00:00
zeljko
43ff01a261 Qt: cleanup, formatting
git-svn-id: trunk@33038 -
2011-10-23 07:44:30 +00:00
zeljko
7d4cbadd45 Qt: added lcReceivesLMClearCutCopyPasteReliably = LCL_CAPABILITY_NO, since qt doesn't support sending of LM_COPY,LM_PASTE,LM_CUT at this moment.part of issue #20475
git-svn-id: trunk@33037 -
2011-10-23 06:06:35 +00:00
zeljko
4049c78bd2 Qt: fixed crash of TPostscriptCanvas. issue #20354
git-svn-id: trunk@32521 -
2011-09-27 06:12:53 +00:00
zeljko
924de66534 Qt: do not focus/activate dragImageList widget.
git-svn-id: trunk@31487 -
2011-07-01 10:51:00 +00:00
zeljko
84d29ef869 LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().

git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
zeljko
e6ada195c2 Qt: do not restore lcl app if we are minimized & restored via pager actions (switching virtual desktops).
git-svn-id: trunk@31298 -
2011-06-20 14:17:19 +00:00
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