zeljko
cd8a98a15d
Qt: fixed TQtWidgetSet.DrawText() when ARect param is out of bounds of clipRect, also added QT_DRAWTEXT_MAP_TO_CLIPRECT define if someone want's that drawText respects DT_WORDBREAK flag if included. fixes #17678
...
git-svn-id: trunk@27779 -
2010-10-21 07:27:47 +00:00
vincents
ab775d508d
lcl: published TStringGrid OnGetCheckboxState and OnSetCheckboxState
...
git-svn-id: trunk@27778 -
2010-10-20 19:20:12 +00:00
vincents
794ad9f79c
lcl tests: fixed compilation, use default widget set and stdctrls for TButton
...
git-svn-id: trunk@27777 -
2010-10-20 14:02:33 +00:00
vincents
48b1cbded7
lcl tests: fixed compilation
...
git-svn-id: trunk@27776 -
2010-10-20 14:00:21 +00:00
mattias
5ad496ffd6
LCL: reduced hints
...
git-svn-id: trunk@27772 -
2010-10-20 08:18:58 +00:00
mattias
b07592dfec
carbon intf: reduced notes
...
git-svn-id: trunk@27771 -
2010-10-20 08:18:32 +00:00
paul
d5cb0e2fbe
lcl: redo MouseEnter/MouseLeave notifications:
...
- move application mouse events notification from various message handlers to the WND proc of TWinControl
- don't assume that control at mouse is the current control which has mouse events. If some control has a mouse capture set then it has the mouse messages and not the control at mouse
- don't perform a control search in TApplication.DoBeforeMouseMessage - it already has an argument which contains the new mouse control (fixes bug #0016715 )
- fix CM_MOUSEENTER, CM_MOUSELEAVE message handlers so Parent controls will always get CM_ notification before the event handler and inspite of who is the message owner
git-svn-id: trunk@27770 -
2010-10-20 08:02:22 +00:00
zeljko
084fed8f6c
Qt: fixed bug with QPainter translation in TQtWidgetSet.GetClipBox(). fixes #17670
...
git-svn-id: trunk@27769 -
2010-10-20 06:38:47 +00:00
paul
e914afd958
lcl: set default TSpeedButton.Color value to clBtnFace
...
git-svn-id: trunk@27768 -
2010-10-20 05:51:22 +00:00
zeljko
303f533d2e
Qt: fixed complete screen lock caused by setting capture on native abstractitemview (eg. TQtTreeWidget) by moving TQtCustomControl.grabMouse to TQtAbstractScrollArea.grabMouse().Now viewport grabs mouse and that's correct.
...
git-svn-id: trunk@27759 -
2010-10-19 09:31:07 +00:00
paul
6ce6821a27
lcl: always exclude tvsPainting from the treeview states on DoPaint exit (bug #0017653 )
...
git-svn-id: trunk@27758 -
2010-10-19 01:18:11 +00:00
paul
9b70fb4a72
lcl: formatting
...
git-svn-id: trunk@27757 -
2010-10-19 01:11:31 +00:00
paul
94ca121303
lcl: TCustomCheckListBox.SetState:
...
- check index before the action
- don't perform actions if the new state the same as before (issue #0017660 )
git-svn-id: trunk@27756 -
2010-10-19 01:02:35 +00:00
vincents
55f95c92d2
qt interface: fixed compilation with fpc 2.5.1 after the changes in IUnknown
...
git-svn-id: trunk@27753 -
2010-10-18 20:54:00 +00:00
zeljko
115f4ce243
Qt: fixed wrong TQtTreeWidget.getClientBounds when header is visible, removed headerOffset from TQtWSCustomListView.getItemAt() since needed offset is wrong because of wrong getClientBounds which should take into account embedded header control.
...
git-svn-id: trunk@27749 -
2010-10-18 13:18:02 +00:00
zeljko
e8d188bf55
Qt: fixed bug when TQtAbstractScrollArea didn't propagate mouse move events after clicking on it's viewport because mousepropagation is disabled.
...
New behavior: never disable mouse propagation on scroll area viewport.
git-svn-id: trunk@27748 -
2010-10-18 12:24:05 +00:00
zeljko
72e07feaae
Qt: fixed bug where TQtWSCustomListView.getItemAt() returned wrong or no result when header visible (showcolumns=true).
...
git-svn-id: trunk@27746 -
2010-10-18 12:02:01 +00:00
paul
b83df84f67
win32: use standard hand point cursor (issue #0017432 )
...
git-svn-id: trunk@27744 -
2010-10-18 04:45:18 +00:00
zeljko
08bb81fce3
Qt: don't create QTreeWidgetItem with QTreeWidget as parent, otherwise we'll have bug when inserting items using TListView.Insert(AIndex). fixes #17650 .
...
git-svn-id: trunk@27742 -
2010-10-17 12:02:51 +00:00
paul
6e3431f67d
win32: use the correct MakeLong
...
git-svn-id: trunk@27726 -
2010-10-17 02:28:28 +00:00
paul
f1dec0d4e0
win32: a trial to fix a range check error Martin has found
...
git-svn-id: trunk@27725 -
2010-10-17 02:23:09 +00:00
paul
cfc294acab
win32: don't directly set the mouse cursor in Twin32WSWinControl.SetCursor but do this through the window procedures
...
git-svn-id: trunk@27721 -
2010-10-16 16:01:00 +00:00
paul
d6d4003fe6
win32: also skip disabled windows while changing the cursor
...
git-svn-id: trunk@27720 -
2010-10-16 15:05:55 +00:00
paul
3efdffe38a
win32: skip invisible windows while setting a cursor (bug #0017636 )
...
git-svn-id: trunk@27719 -
2010-10-16 14:49:19 +00:00
sekelsenmat
409c85821c
Fixes a small bug in Qt. ItemIndex didn't work for the last item, for example ItemIndex=15 with 15 items.
...
git-svn-id: trunk@27717 -
2010-10-15 10:25:27 +00:00
zeljko
17cbc0d5bf
Qt: properly set tabicon. fixes #17635
...
git-svn-id: trunk@27716 -
2010-10-15 07:15:34 +00:00
zeljko
1b805137bf
Qt: added TQtTabWidget.setTabIcon(), part of #17635
...
git-svn-id: trunk@27715 -
2010-10-15 06:54:02 +00:00
paul
520d367826
lcl, win32: fix showing of windows which needs to be shown on taskbar (bug #0017561 )
...
git-svn-id: trunk@27714 -
2010-10-15 06:45:36 +00:00
paul
9f513e68e6
lcl: fix focus issue with docked forms (issue #0017558 )
...
git-svn-id: trunk@27713 -
2010-10-15 05:12:55 +00:00
paul
81c0f13c5f
lcl: fix backward search by TSearchAction by Anton (issue #0017588 )
...
git-svn-id: trunk@27712 -
2010-10-15 01:46:10 +00:00
maxim
02790b2ed8
LCL: make file dialog title translatable (note that default title will be translated by using lclstrconsts.xx.po in your program). Fixes bug #12969 .
...
git-svn-id: trunk@27708 -
2010-10-14 22:12:54 +00:00
zeljko
22c960e012
Gtk2: fixed configure event when moving form under compiz. fixes #17625
...
git-svn-id: trunk@27705 -
2010-10-14 07:22:55 +00:00
paul
7cfcf487e3
move WaveTo from synedit to GraphUtil
...
git-svn-id: trunk@27699 -
2010-10-14 00:48:35 +00:00
sekelsenmat
744a64c9cd
Patch from bug #17615 . Fixes FindMatch for wince
...
git-svn-id: trunk@27679 -
2010-10-13 11:11:24 +00:00
zeljko
1f9b17079e
Qt: fixed problem with dnd when dragged control doesn't have csCaptureMouse. fixes #17617
...
git-svn-id: trunk@27675 -
2010-10-13 06:44:59 +00:00
maxim
35ee37d215
Translations: Portuguese translation update by Marcelo B Paula, bug #17613
...
git-svn-id: trunk@27669 -
2010-10-12 20:49:14 +00:00
sekelsenmat
6a2f27cac2
Patch from bug #17594 . Solves compiling Lazarus with the fpc branch fpc-xpcom
...
git-svn-id: trunk@27667 -
2010-10-12 15:00:44 +00:00
sekelsenmat
aacf8b768a
Patch from bug #17555 . Improves GetTextMetrics
...
git-svn-id: trunk@27666 -
2010-10-12 13:48:45 +00:00
paul
4f37db4253
gtk2: fix comment
...
git-svn-id: trunk@27662 -
2010-10-12 10:18:09 +00:00
sekelsenmat
3d54c41f98
Isolates the system environment apis in separate includes files. One for common code and one per operating system
...
git-svn-id: trunk@27661 -
2010-10-12 09:54:03 +00:00
maxim
2418dbb9f6
LCL: Lithuanian translation update by Žilvinas Ledas, bug #17605 .
...
git-svn-id: trunk@27655 -
2010-10-11 20:10:45 +00:00
zeljko
a072a15271
Qt: fixed crash inside TQtWidgetSet.SetFocus when parent form isn't visible yet, but trying to activate.
...
git-svn-id: trunk@27653 -
2010-10-11 12:13:33 +00:00
zeljko
9368dd2ccb
Gtk2: fixed compilation with -dRawimageConsistencyCheks and -dVerboseStretchCopyArea
...
git-svn-id: trunk@27651 -
2010-10-11 09:21:28 +00:00
zeljko
af7a4a248b
Gtk2: removed code which stop capturing when moving mouse (used by me only, for debugging) ...
...
git-svn-id: trunk@27648 -
2010-10-11 06:15:29 +00:00
zeljko
9da784edf0
Gtk2: removed unused units.
...
git-svn-id: trunk@27642 -
2010-10-10 18:11:22 +00:00
zeljko
dffaa39719
Gtk2: ifdefed gtk2proc CaptureMouseForWidget with GTK2_USE_OLD_CAPTURE define.
...
git-svn-id: trunk@27641 -
2010-10-10 18:02:43 +00:00
zeljko
eab39ab766
Gtk2: Gtk2WSForms.ShowModal() code moved to Gtk2WSForms.ShowHide(), since gtk_window_present() will call show on widget if it isn't already visible.
...
git-svn-id: trunk@27640 -
2010-10-10 17:54:25 +00:00
zeljko
268b91cad8
Gtk2: added workaround for gtk2 where GtkButton "clicked" signal isn't triggered when our modal form is started from OnDropDown().
...
Related to #14318
git-svn-id: trunk@27639 -
2010-10-10 16:20:18 +00:00
zeljko
afb190401d
Gtk2: fixed setCapture(), now it uses new way of capturing, old can be used with -dGTK2_USE_OLD_CAPTURE.
...
fixed unwanted focus grab of THintWindow.
fixed bug when scrollbar button double clicked, we need 2 clicks to focus our client area. Fixed bugs #13878 #17596 .
git-svn-id: trunk@27638 -
2010-10-10 15:26:45 +00:00
jesus
923c7f1753
LCL, make grid's picklist editor to fit cell bounds where possible
...
git-svn-id: trunk@27637 -
2010-10-09 18:48:21 +00:00