Commit Graph

128 Commits

Author SHA1 Message Date
zeljko
50760cf759 Qt: implemented scrollbars on forms (scrollable forms).Currently it works only if QTSCROLLABLEFORMS define is enabled in qtdefines.inc. issue #24715
git-svn-id: trunk@43218 -
2013-10-12 14:27:43 +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
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
919ce9cbea Qt: fixed problems with modal and popup windows over modal windows with Mint's Marco window manager (Mate desktop).
git-svn-id: trunk@41346 -
2013-05-22 08:09:14 +00:00
zeljko
c42a83beba Qt: fixed bad behaviour of popup windows under metacity window manager.
git-svn-id: trunk@41339 -
2013-05-21 13:38:53 +00:00
zeljko
d8e57f164a Qt: workaround for xfwm4 bad modal window handling.Use same trick as for kde-3.XX when showing modal window.
git-svn-id: trunk@40625 -
2013-03-23 20:03:15 +00:00
zeljko
28dff08465 Qt: keep state of forms hidden from taskbar under X11. Fixes issue #23825.
git-svn-id: trunk@40180 -
2013-02-04 15:49:04 +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
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
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
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
zeljko
069fd42a33 Qt: apply nonmodal over modal rules only for X11, qt under windows needs another approach.
git-svn-id: trunk@35926 -
2012-03-13 11:21:13 +00:00
zeljko
1f615514a7 Gtk2: check if we are designed form when showing nonmodal over modal.
Qt: do not apply nonmodal over modal rules for darwin - it simply does not work.

git-svn-id: trunk@35920 -
2012-03-13 10:22:12 +00:00
zeljko
7f09bdfb96 Gtk2, Qt: allow show nonmodal form over modal form. issue #21459
git-svn-id: trunk@35919 -
2012-03-13 09:33:04 +00:00
zeljko
c89a9595eb Qt: final fix for TQtMenuBar memleaking.
git-svn-id: trunk@34200 -
2011-12-15 07:25:41 +00:00
zeljko
e4f9a6fa22 Qt: set again immediate widget creation to darwin too, problem was with FOwnWidget which should be false anyway
when QMenuBar is constructed with known parent (form in this case), so qt will destroy it.

git-svn-id: trunk@34189 -
2011-12-14 17:56:50 +00:00
zeljko
59c576a21a Qt: revert r34171 #7571057b7d, mac can crash with this enabled under heavy load, let qt think about time of creation of window.
git-svn-id: trunk@34187 -
2011-12-14 17:33:50 +00:00
zeljko
7571057b7d Qt: make qt under mac happier with enabling immediatewidget creation attribute for forms.
git-svn-id: trunk@34171 -
2011-12-14 09:08:57 +00:00
zeljko
f0cd76b3a5 Qt: removed usage of slow QApplication_syncX() when showing forms, all X11 code merged into one ifdef inside ShowHide().
git-svn-id: trunk@34051 -
2011-12-08 17:16:47 +00:00
zeljko
904a40a259 Qt: skip taskbar entry for modal forms under X11
git-svn-id: trunk@34002 -
2011-12-06 15:09:41 +00:00
zeljko
e2870d69ef Qt: workaround for qt lib issue with modal windows minimizing (needed two clicks to minimize app) on X11. issue #20824
git-svn-id: trunk@33995 -
2011-12-06 13:43:56 +00:00
zeljko
45fe050768 Qt: simplify adding flags for modal forms under X11, also fixed showing of popupform over modal form
git-svn-id: trunk@33941 -
2011-12-04 11:12:01 +00:00
zeljko
2623d5ca7a Qt: added MDIChildArea for mdichild objects for easier fix of tricky focus behaviour inside mdichild forms.
git-svn-id: trunk@33357 -
2011-11-05 18:27:48 +00:00
zeljko
4883602da1 Qt: introduced TQtMDIArea class to properly implement GetClientHandle
git-svn-id: trunk@33327 -
2011-11-05 09:16:44 +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
5f414bbf0f Qt: full implementation of MDI
git-svn-id: trunk@33325 -
2011-11-05 08:41:51 +00:00
zeljko
15e82e2123 Qt: now we keep track of fonts changing and respect ParentFont property.fixes issue #19695
git-svn-id: trunk@33309 -
2011-11-04 18:16:04 +00:00
zeljko
8e9196f96a Qt: fixed compilation of qt widgetset.
git-svn-id: trunk@31474 -
2011-06-30 12:02:49 +00:00
zeljko
3e228ec5c1 Qt: make code in TQtWSCustomForm.CreateHandle() more readable by removing casts.
git-svn-id: trunk@31386 -
2011-06-25 16:34:58 +00:00
zeljko
a452810bf5 Qt: fixed bad behaviour of modal forms and TQtMessageBox under metacity window manager. issue #19507
git-svn-id: trunk@31121 -
2011-06-06 16:33:11 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
zeljko
4382974f54 Qt: do not allow QtTool for modal windows under win32, otherwise global actions are fired.issue #18709
git-svn-id: trunk@29547 -
2011-02-14 15:37:03 +00:00
zeljko
5abc30c3ed Qt: fixed compilation under non X11 platforms.
git-svn-id: trunk@29255 -
2011-01-30 10:38:15 +00:00
zeljko
39fa1c6db3 Qt: make non-resizeable forms with borderstyle bsNone,bsSingle and bsDialog.issue #18372.
git-svn-id: trunk@29254 -
2011-01-30 10:07:52 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +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
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
ef1accc0b0 Qt: do not set taskbar rules for mdichild forms.
git-svn-id: trunk@26445 -
2010-07-03 15:07:38 +00:00
zeljko
97298eab5c Qt: implemented ShowInTaskbar under X11. fixes #16832.
Gtk2: fixed compilation under linux.

git-svn-id: trunk@26444 -
2010-07-03 14:51:15 +00:00
zeljko
3226f3a299 Qt: check if activeWindow() is fsSplash (which can be hidden in the meantime), so modal form cannot be shown.fixes #16590,#16753
git-svn-id: trunk@26227 -
2010-06-21 10:24:12 +00:00
zeljko
c640156c1a Qt: do not immediate create handles if we are under qt-4.5.XX otherwise forms aren't painted properly due to Qt bug.
git-svn-id: trunk@25814 -
2010-06-01 12:02:36 +00:00
zeljko
bc29cb20a4 Qt: use fsAllStayOnTop for widget flagging.
git-svn-id: trunk@25745 -
2010-05-29 06:22:06 +00:00
zeljko
ef9ab37cc9 Qt: moved ShowHide() to QtWSForms to reduce casts, call QApplication_syncX() on X11 to get better visual performance. fixes #16550
git-svn-id: trunk@25655 -
2010-05-26 08:07:54 +00:00
zeljko
cda968f496 Qt: create toplevels immediatelly on X11. fixes #16550
git-svn-id: trunk@25641 -
2010-05-25 18:31:17 +00:00
sekelsenmat
9d7aa39624 Implements a new form style: fsSystemStayOnTop, reverts win32 fsStayOnTop to mean staying on top of the App only and implements sending WM_HOTKEY messages to the user TMyForm.WndProc. Also adds the OldFormStyle to the parameters of TWSCustomForm.SetFormStyle so that it isn't always necessary to recreate the Wnd.
git-svn-id: trunk@25531 -
2010-05-20 09:28:21 +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
276aef1701 Qt: fixed Qt forms reparenting, recreateWnd() when changing FormStyle or BorderStyle when form is parented to another control,
otherwise it looses it's parent.

git-svn-id: trunk@25364 -
2010-05-13 14:25:14 +00:00