Commit Graph

1080 Commits

Author SHA1 Message Date
zeljko
f25b61f322 Qt: implemented TQtWidgetSet.CreateCompatibleBitmap()
git-svn-id: trunk@22925 -
2009-12-02 14:18:42 +00:00
zeljko
2925e33ef7 Qt: use CanSendLCLMessage instead of comparing LCLObject before sending an message to lcl - all mouse & keyboard events + paint event.
git-svn-id: trunk@22923 -
2009-12-02 13:42:42 +00:00
zeljko
4b683366c7 Qt: check for LCLObject being is csDestroying state in mouse and kbd events.fixes #15235.
git-svn-id: trunk@22921 -
2009-12-02 12:01:32 +00:00
zeljko
06a978b8e3 Qt: fix segfault when creating QRegion with negative width or height.Fixed implementation of GetRgnBox, so it doesn't ask for QRegion_boundingRect() if returned region type is ERROR or NULLREGION.
git-svn-id: trunk@22881 -
2009-11-30 20:43:38 +00:00
zeljko
1b06607531 Qt: updated issues.xml - TListView.HideSelection isn't supported under qt.
git-svn-id: trunk@22856 -
2009-11-29 09:50:51 +00:00
zeljko
7071eb888d Qt: implemented ListView.OwnerData, we use PaintEvent to fire TListView.OnData(), a trial to fix #15202.
git-svn-id: trunk@22838 -
2009-11-27 18:52:21 +00:00
zeljko
3ed535c5f2 Qt: DropFilesEvent() fix for #15200. We must remove "file://" in front of filename since LCL doesn't parse it.
git-svn-id: trunk@22827 -
2009-11-27 15:30:57 +00:00
zeljko
2dcd8e4b2b Qt: fix for #15192 also tab moving now works in ide source editor.
git-svn-id: trunk@22809 -
2009-11-26 20:13:16 +00:00
zeljko
4f157751ed Qt: TQtComboBox -> do not call IntfGetItems if our combo list is still visible.fixes #15183
git-svn-id: trunk@22802 -
2009-11-26 18:15:27 +00:00
zeljko
c5007165e5 Qt: fixed bug while introducing OwnerData. SetAllocBy() is dummy now
git-svn-id: trunk@22796 -
2009-11-26 11:17:36 +00:00
zeljko
bea12e9550 Qt: rewritten HideSelection for TListView, fixes #15182
git-svn-id: trunk@22794 -
2009-11-26 10:27:32 +00:00
zeljko
056c3aad3f Qt: started OwnerData implementation.Implemented setItemsCount(), beginUpdate(), endUpdate() ...
git-svn-id: trunk@22793 -
2009-11-26 09:41:58 +00:00
zeljko
923ead3166 Qt: qtwsdialogs FilterIndex fix. fixes #15184
git-svn-id: trunk@22772 -
2009-11-25 16:12:39 +00:00
zeljko
9cf4e736f0 Qt: fix TPopupMenu.Alignment when we use RightToLeft.
git-svn-id: trunk@22740 -
2009-11-24 09:10:57 +00:00
zeljko
756c8f3da5 Qt: implemented TPopupMenu.Alignment
git-svn-id: trunk@22739 -
2009-11-24 09:04:35 +00:00
zeljko
d3fde8e1b7 Qt: implemented TPopupMenu.TrackButton
git-svn-id: trunk@22735 -
2009-11-24 08:29:58 +00:00
paul
964dd239b9 lcl: add TCustomEdit.HideSelection, publish it for TEdit, TMemo (requested by Marco van de Voort)
git-svn-id: trunk@22729 -
2009-11-24 03:29:11 +00:00
zeljko
6cf3d0b52a Qt: bugfix for TListView.HideSelection, fixes #15103
git-svn-id: trunk@22615 -
2009-11-16 08:13:47 +00:00
zeljko
f3e3bd4288 Qt: bugfix, readonly ctls should not avoid eg. Ctrl+C usage inside read only control (TQtLineEdit, TQtTextEdit), so we do not change focuspolicy at this place - let LCL decide about it.
git-svn-id: trunk@22524 -
2009-11-10 14:51:56 +00:00
zeljko
9512d19c8f Qt: implemented GetTabRect()
git-svn-id: trunk@22513 -
2009-11-10 08:02:59 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
zeljko
8533b5894c Qt: fix for #14871 , problem with TQtPage painting under win32 ... now it's same for all qt platforms and works ok.
git-svn-id: trunk@22270 -
2009-10-23 11:16:42 +00:00
zeljko
6fab82a729 Qt: fixed bug when changing ReadOnly for TQtTextEdit & TQtLineEdit during runtime.
git-svn-id: trunk@22250 -
2009-10-21 16:38:41 +00:00
zeljko
5c093cf06a Qt: qtwinapi - implemented CreatePatternBrush()
git-svn-id: trunk@22227 -
2009-10-19 06:43:58 +00:00
zeljko
1ac7f1cedc Qt: fix for #14840, autocalcrange of scrollbar.
git-svn-id: trunk@22225 -
2009-10-18 11:47:13 +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
89e1df3d7f Qt: TQtListWidget items sort rework, fixed AV introduced by previous TQtListWidget patch.
git-svn-id: trunk@22179 -
2009-10-14 21:04:36 +00:00
zeljko
e40c87784c Qt: TQtWSCustomListView: implemented text alignment for items and ColumnSetImage().
git-svn-id: trunk@22175 -
2009-10-14 19:43:07 +00:00
zeljko
42cdf709b5 Qt: Composition & RasterOps - we must check engine type or we have QPainter assert with unsupported composition modes.
git-svn-id: trunk@22130 -
2009-10-13 08:00:59 +00:00
paul
cce715386e qt: more adjustments for R2ToQtRasterOp
git-svn-id: trunk@22126 -
2009-10-13 02:22:42 +00:00
paul
40da25442d qt: fix R2ToQtRasterOp - swap R2_notmaskpen, R2_notmergepen
git-svn-id: trunk@22125 -
2009-10-13 01:27:57 +00:00
zeljko
5bd9a0fbc9 Qt: fixed compilation under win32 R2_XXX is different under windows.
git-svn-id: trunk@22101 -
2009-10-12 10:39:22 +00:00
zeljko
3a6bcf71c5 Qt: qtwinapi - initial implementation of RasterOp modes (getRop2() & setRop2())
git-svn-id: trunk@22099 -
2009-10-12 09:44:34 +00:00
zeljko
406bc7ae1f Qt: small fix for TQtAbstractItemView's - do not change item selection if mouse is pressed and moving mouse around.
git-svn-id: trunk@22098 -
2009-10-11 16:36:47 +00:00
zeljko
1f47e04ef2 Qt: rework of getCapture(), setCapture() under win32, now we use native windows calls instead of buggy grabMouse() qt proc. Fixes #14779.
git-svn-id: trunk@22096 -
2009-10-11 16:08:58 +00:00
zeljko
26466853c3 Qt: TQtListWidget MouseEvents rework. Now OnDblClick() properly works under windows.
git-svn-id: trunk@22091 -
2009-10-09 23:04:31 +00:00
zeljko
24cab2a456 Qt: removed unneeded TQtStaticText.Destroy(), formatting
git-svn-id: trunk@22086 -
2009-10-09 14:31:36 +00:00
zeljko
f26a487bf9 Qt: fix for #14737, added harmless workaround for Qt 64bit bug.
git-svn-id: trunk@22079 -
2009-10-09 08:56:01 +00:00
zeljko
8915c4816d Qt: QDoubleSpinBox, QSpinBox do not deliver messages if InUpdate().
git-svn-id: trunk@22078 -
2009-10-08 16:27:36 +00:00
zeljko
49c3771c08 Qt: avoid crash in TQtAbstractSlider.SlotValueChanged() because of update in SetScrollInfo()
git-svn-id: trunk@22063 -
2009-10-07 18:47:08 +00:00
zeljko
12c824bf15 Qt: don't focus TQtGroupBox in any case if TabStop=False.
git-svn-id: trunk@22055 -
2009-10-06 08:43:32 +00:00
zeljko
da3c455007 Qt: TQtWidget properties reorderd alphabeticaly, added StyleSheet property.
git-svn-id: trunk@21979 -
2009-10-02 07:11:36 +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
zeljko
5e2b10ec3d Qt: TQtSystemTrayIcon added ShowBaloonHint()
git-svn-id: trunk@21909 -
2009-09-28 17:37:00 +00:00
zeljko
771b53b7e8 Qt: avoid crash inside q_DrawXXX() functions when palette paremeter is nil and painter parent is nil. fixes #14673
git-svn-id: trunk@21876 -
2009-09-26 07:40:18 +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
zeljko
566a4c3378 Qt: bugfix for #14646 - TQtDeviceContext.DrawText()
git-svn-id: trunk@21821 -
2009-09-22 15:45:13 +00:00
zeljko
e62f9ab988 Qt: bugfix -> TQtWidgetSet.GetScrollBarSize() returned wrong results.
git-svn-id: trunk@21820 -
2009-09-22 13:53:16 +00:00
zeljko
38ed1a5624 Qt: we must release mouse grab when application deactivated by OS (win32 -> screensaver, OS sleep state etc)
git-svn-id: trunk@21792 -
2009-09-21 06:29:12 +00:00