Commit Graph

1929 Commits

Author SHA1 Message Date
zeljko
e6763367c1 Qt: fixed header offset and getClientRect for TListView when ViewStyle=vsReport.
git-svn-id: trunk@38533 -
2012-09-06 07:39:59 +00:00
zeljko
a3eea5f52e Qt: do not propagate keyrelease event as action trigger. issue #22737
git-svn-id: trunk@38520 -
2012-09-05 10:22:21 +00:00
zeljko
09d24bbe54 Qt: TQtWinApi.ExtTextOut() implemented Dx param. issue #22795
git-svn-id: trunk@38518 -
2012-09-05 06:53:35 +00:00
zeljko
dbe9056692 Gtk2,Qt: make ETO_OPAQUE work from TCanvas.TextOut(). issue #22719
git-svn-id: trunk@38373 -
2012-08-25 15:29:23 +00:00
zeljko
0bb2dc6719 Qt: use QTextCursor_insertText() instead of QTextEdit_insertPlainText() inside cursor edit block.
git-svn-id: trunk@38369 -
2012-08-25 10:45:41 +00:00
zeljko
aa1c945cdd Qt: moved insertPlainText() into QTextCursor beginEdit & endEdit to keep 1 undo() operation instead of 2.
git-svn-id: trunk@38368 -
2012-08-25 10:24:45 +00:00
zeljko
a2cf7dbb61 Qt: speed improvement for QTextEdit text insertions when it contains < or > chars. part of issue #22715
git-svn-id: trunk@38367 -
2012-08-25 10:08:25 +00:00
zeljko
87ed4c7d57 Qt: bit refactored viewportEventFilter of TQtCustomControl, use Sender in mouse move, not Widget.
git-svn-id: trunk@38366 -
2012-08-25 07:52:29 +00:00
zeljko
4c7a01b629 Qt: another fix for qt richtext parser. fixes issue #22715
git-svn-id: trunk@38365 -
2012-08-25 06:48:51 +00:00
zeljko
27a1e68df1 Qt: do not set popup parent for borderless forms (for popup forms) if TCustomForm.Parent (embedded form) is assigned.
git-svn-id: trunk@38332 -
2012-08-22 13:58:22 +00:00
zeljko
930060f1e2 Qt: fixed modal behaviour of borderless forms.issue #22568
git-svn-id: trunk@38326 -
2012-08-22 08:56:32 +00:00
zeljko
98dd16b6c0 Qt: fixed clearing of icon in tab.part of issue #22618
git-svn-id: trunk@38320 -
2012-08-22 07:05:01 +00:00
zeljko
7a161299ec Qt: allow edit of combobox with style csSimple. issue #22528
git-svn-id: trunk@38149 -
2012-08-04 10:55:45 +00:00
zeljko
96b40a914a Qt: allow showin modal form with borderStyle=bsNone. issue #22568
git-svn-id: trunk@38148 -
2012-08-04 10:45:38 +00:00
zeljko
15e52b52b5 Qt: hide statusbar panel only when width is 0, do not count any margin.issue #22362
git-svn-id: trunk@37862 -
2012-07-04 05:29:10 +00:00
zeljko
b68368f585 Qt: hide statusbar panels with width 0. issue #22362
git-svn-id: trunk@37857 -
2012-07-03 10:55:39 +00:00
zeljko
fe7b460ed5 Qt: unset icon when doing internal sync after sorting. part of issue #22218
git-svn-id: trunk@37587 -
2012-06-08 08:47:08 +00:00
zeljko
64f7c37ce8 Qt: do not call setValue() but setPosition() so lcl gets accurate values later. issue #22187
git-svn-id: trunk@37534 -
2012-06-07 07:47:10 +00:00
zeljko
d182302cc7 Qt: fixed wrong SetCapture() under win32. Problem was passed TQtWidget handle instead of underlaying widget winID() which is native handle.
git-svn-id: trunk@37451 -
2012-05-29 10:12:15 +00:00
zeljko
1b2f7f8684 Qt: bypass windowmanager when showing dragimagelist.
git-svn-id: trunk@37374 -
2012-05-21 11:15:49 +00:00
zeljko
9322aa8ab4 Qt: do not hide exception from application, raising exception inside DeliverMessage was wrong
git-svn-id: trunk@37316 -
2012-05-18 14:41:24 +00:00
zeljko
887900d24a Qt: always return True if lclobject disappeared from input event.
git-svn-id: trunk@37304 -
2012-05-17 09:09:07 +00:00
zeljko
6523578777 Qt: do not raise exception if widget is destroyed in input event, just show an warning via DebugLn, otherwise we have memleaks.
git-svn-id: trunk@37293 -
2012-05-16 11:13:33 +00:00
zeljko
ddd0657787 Qt: TQtCustomControl should pass arrow keys to lcl.
git-svn-id: trunk@37241 -
2012-05-10 13:21:09 +00:00
zeljko
6a8e4af165 Qt: more checks for lclobject validity inside input events.
git-svn-id: trunk@37239 -
2012-05-10 12:57:43 +00:00
zeljko
c229d7a370 Qt: additional check for LCLObject inside mdi child activation, fixes rare crash.
git-svn-id: trunk@37225 -
2012-05-09 08:14:01 +00:00
zeljko
aa578cedd1 Qt: allow processing of arrow keys only on TQtAbstractButton (TButton,TBitBtn,TCheckBox,TRadioButton).second part of issue #21983
git-svn-id: trunk@37218 -
2012-05-08 09:59:13 +00:00
zeljko
d487295f64 Qt: eat arrow keys otherwise LCL will stop the event. issue #21983
git-svn-id: trunk@37217 -
2012-05-08 06:35:16 +00:00
zeljko
1cd734692e Qt: fixed key events from QCalendar, now tabbing works fine.
git-svn-id: trunk@37157 -
2012-05-05 09:13:18 +00:00
zeljko
e7681a3637 Qt: fixed behaviour of messageDlg (PromptUser()) to return mrCancel always when Escape key is pressed or close btn clicked.issue #21885
git-svn-id: trunk@37075 -
2012-04-29 10:02:21 +00:00
zeljko
362e4674d2 Qt: fixed resize events of TQtTabWidget and accurate information about clientRect changes. issue #21805
git-svn-id: trunk@36925 -
2012-04-20 07:33:18 +00:00
zeljko
8d4671b52a Qt: added TQtWidget.testAttribute() function
git-svn-id: trunk@36908 -
2012-04-19 14:05:16 +00:00
zeljko
c5accacd74 Qt: enable wordwrap on TQtStaticText. issue #21697
git-svn-id: trunk@36711 -
2012-04-10 13:26:16 +00:00
mattias
bdef003197 LCL: makefiles: compile lcl.pas
git-svn-id: trunk@36679 -
2012-04-09 14:29:34 +00:00
mattias
6b9752807f LCL: updated unit paths in Makefile.compiled
git-svn-id: trunk@36678 -
2012-04-09 13:55:09 +00:00
mattias
07da74130a lcl: updated Makefile.compiled
git-svn-id: trunk@36672 -
2012-04-09 10:14:04 +00:00
mattias
221788591b updated Makefiles
git-svn-id: trunk@36671 -
2012-04-09 10:05:12 +00:00
zeljko
5e68dd0ae6 Qt: correct debug info when checking handles
git-svn-id: trunk@36500 -
2012-04-01 10:59:13 +00:00
zeljko
6de103ab9a Qt: send appropriate SB_XXX message to lcl in cases when slider reach maximum and tracking is disabled, or slider is moved
via mouse wheel and also tracking is disabled.

git-svn-id: trunk@36482 -
2012-03-31 14:36:38 +00:00
paul
df6f72a520 lcl, widgetsets: remove IntfSendsUTF8KeyPress from the widgetset interfaces implementation and call GetLCLCapability instead inside the generic function body
git-svn-id: trunk@36446 -
2012-03-30 08:28:34 +00:00
paul
d6e2a77af5 lcl:
- replace old SIZENORMAL, SIZEICONINC, ... constants with SIZE_RESTORED, SIZE_MINIMIZED
  - add new SIZE_FULLSCREEN constant to support wsFullScreen state

git-svn-id: trunk@36432 -
2012-03-30 01:05:10 +00:00
zeljko
abdba4431a Qt,Gtk2,Carbon: do not try to show form as non-modal over modal if lcl parent is assigned.
git-svn-id: trunk@36177 -
2012-03-20 12:45:30 +00:00
zeljko
86a85a3be4 Qt: do not accept rich text in any case in TCustomMemo (eg. paste html mime data).
git-svn-id: trunk@36171 -
2012-03-19 19:17:45 +00:00
zeljko
5b126c909b Qt, Gtk2: check if our Str:PChar param is nil, so do not any translation in GetTextExtentPoint() or GetTextExtentExPoint()
git-svn-id: trunk@36111 -
2012-03-17 11:33:26 +00:00
zeljko
ec701573e8 Qt: return 0 as maxcount if parameter string is empty in GetTextExtentExPoint()
git-svn-id: trunk@36110 -
2012-03-17 11:29:18 +00:00
zeljko
32c73d9d34 Gtk2,Qt: fixed returning value of GetTextExtentPoint() when string is empty.
git-svn-id: trunk@36108 -
2012-03-17 11:19:29 +00:00
zeljko
3068129128 LCL: added SM_LCLMAXIMIZEDWIDTH and SM_LCLMAXIMIZEDHEIGHT to system metrics rules to get accurate size of maximized window until we fix difference between forms frame rect and client rect. issue #21119
git-svn-id: trunk@36106 -
2012-03-17 10:46:34 +00:00
zeljko
3ca38dadcd Qt,Gtk2,Gtk: prepared winapi GetSystemMetrics to get accurate measures for maximized and fullscreen forms.part of #21119
git-svn-id: trunk@36103 -
2012-03-17 08:48:39 +00:00
zeljko
83122b7533 Qt: implemented nonmodal over modal form as sheet under macosx.
git-svn-id: trunk@35928 -
2012-03-13 13:59:15 +00:00
zeljko
19dd891ca7 Qt: make nonmodal over modal form work under win32.
git-svn-id: trunk@35927 -
2012-03-13 12:33:36 +00:00