Commit Graph

9255 Commits

Author SHA1 Message Date
sekelsenmat
ab4f4a7e27 Fixes getting a pixel color in Qt
git-svn-id: trunk@17760 -
2008-12-09 14:13:03 +00:00
paul
4bd4fa8fb0 win32: apply patch of Martin Friebe which allows triple and quad-mouse-click action for windows (only for left mouse button though) #0012767
git-svn-id: trunk@17742 -
2008-12-09 05:57:18 +00:00
paul
ebfa9fcc57 lcl: add overload for TRemovedPropertyList.IndexOf
git-svn-id: trunk@17741 -
2008-12-09 04:46:43 +00:00
paul
5a7173ef9a lcl: remove TButtonConrol.UseOnChange, register it as a removed property
others: remove various placed where we used UseOnChage property

git-svn-id: trunk@17740 -
2008-12-09 04:24:54 +00:00
paul
c9039dd63d lcl: add RegisterRemovedProperty procedure which allows to skip removed properties by TReader and by IDE
ide: use information about removed properties to skip them while loading components

git-svn-id: trunk@17739 -
2008-12-09 04:23:02 +00:00
paul
3d0838c488 lcl: start removal of TButtonControl.UseOnChange
git-svn-id: trunk@17738 -
2008-12-09 02:29:24 +00:00
mattias
fe7b742f0b codetools: creating FPC source defines with appended pathdelim
git-svn-id: trunk@17729 -
2008-12-08 15:01:18 +00:00
zeljko
7348c85216 Qt: bugfix - result was wrong in TQtWSCustomListView.ItemGetChecked()
git-svn-id: trunk@17728 -
2008-12-08 14:31:21 +00:00
paul
3596127a45 lcl: set default value for TStatusPanel.Alignment
git-svn-id: trunk@17726 -
2008-12-08 10:27:07 +00:00
paul
910cfc5b20 lcl: set default values for some component properties
git-svn-id: trunk@17725 -
2008-12-08 09:48:25 +00:00
paul
9e6ad52bfa lcl: force treeview to reset scrollbar info after window recreation (#0012761)
win32: redraw scrollbars also if themes are not used but available (xp application without manifest)

git-svn-id: trunk@17722 -
2008-12-08 07:58:31 +00:00
paul
a3e167cc37 gtk: don't crash on polygon when pen is clear, brush is not clear and winding fill mode is used (#0012759)
git-svn-id: trunk@17721 -
2008-12-08 07:23:13 +00:00
vincents
ebe1b9d29a LCL: published TImage MouseWheel events, tested by Maxim Ganetsky
git-svn-id: trunk@17709 -
2008-12-07 19:18:34 +00:00
jesus
50f6ae6046 LCL, fixed some grids default properties
git-svn-id: trunk@17705 -
2008-12-07 02:21:35 +00:00
zeljko
0cf2427cdd Qt: fixed scrolling of TCustomFrame.
git-svn-id: trunk@17704 -
2008-12-06 18:25:28 +00:00
paul
c806339762 lcl: publish wheel events for trackbar (by request of Maxim Ganetsky)
git-svn-id: trunk@17703 -
2008-12-06 14:43:30 +00:00
zeljko
738fb1f569 Qt: reduce getSysColor() overhead by caching colors.
git-svn-id: trunk@17700 -
2008-12-06 13:03:05 +00:00
paul
f7e1b1b5ac lcl: set some default values to TFont properties
git-svn-id: trunk@17699 -
2008-12-06 11:46:59 +00:00
zeljko
fb451cc154 Qt: Avoid crash in qtthemes when changing application style programatically.
git-svn-id: trunk@17698 -
2008-12-06 11:19:19 +00:00
paul
a3eafb41c7 lcl: set some default values to TControl properties
git-svn-id: trunk@17697 -
2008-12-06 11:11:09 +00:00
paul
cc3a5e522f lcl: fix a memory leak in the icns reader (when we tried to load an icon contained 256x256, 512x512 images with alpha)
git-svn-id: trunk@17695 -
2008-12-05 18:02:23 +00:00
sekelsenmat
1b7c183342 Makes the correction of the form height to avoid overlapping the menu be automatic.
git-svn-id: trunk@17693 -
2008-12-05 16:11:36 +00:00
zeljko
15eeba4708 Qt: fix wheel event for customcontrols which uses custom painted scrollbars by it's own (fastcube).
git-svn-id: trunk@17692 -
2008-12-05 09:46:56 +00:00
jesus
a2a70bc5c2 LCL, fix dbedit loosing changes when unfocused, issue #12745
git-svn-id: trunk@17686 -
2008-12-05 05:14:57 +00:00
sekelsenmat
98d9f5d134 Initial code for auto detecting menu position.
git-svn-id: trunk@17685 -
2008-12-04 16:45:42 +00:00
sekelsenmat
3ccc06be10 Patch from zeljko. Improves scrolling fixes
git-svn-id: trunk@17684 -
2008-12-04 16:39:12 +00:00
zeljko
9a5c600991 Qt: bugfix GetDCOriginRelativeToWindow() returned wrong origin when form contains mainmenu.
git-svn-id: trunk@17683 -
2008-12-04 16:19:14 +00:00
sekelsenmat
bd8fc98301 Fixes the AutoScroll property.
git-svn-id: trunk@17682 -
2008-12-04 14:26:34 +00:00
sekelsenmat
e42f38b071 Adds the MaximizedWindowHeightCorrection property to correct window height in Windows CE.
git-svn-id: trunk@17681 -
2008-12-04 13:24:18 +00:00
tombo
fb1ea9e664 LCL carbon: applied patch from Dmitry - fixes updating client bounds of controls with scrolling content
git-svn-id: trunk@17680 -
2008-12-04 13:02:44 +00:00
paul
5775f67b6e lcl: fix memory leak in translations unit
git-svn-id: trunk@17677 -
2008-12-04 01:45:00 +00:00
zeljko
81c926981b Qt: fix for qt window hints, fixes bug #12430.
git-svn-id: trunk@17673 -
2008-12-03 13:46:50 +00:00
jesus
7ceed3d638 LCL, postscript, use selectfont instead of findfont/scalefont, fix typo in postscript example
git-svn-id: trunk@17664 -
2008-12-02 22:13:31 +00:00
paul
de24de00a6 lcl: better skip handling of EAbort exception
git-svn-id: trunk@17662 -
2008-12-02 14:44:29 +00:00
sekelsenmat
27ef199c26 Workaround for gettext bug in windows ce
git-svn-id: trunk@17661 -
2008-12-02 13:50:11 +00:00
paul
16a1602bb1 carbon: fix memory leak from Dmitry
git-svn-id: trunk@17659 -
2008-12-02 11:59:18 +00:00
sekelsenmat
49a0f4403e Adds calendar support to Windows CE
git-svn-id: trunk@17657 -
2008-12-02 02:13:47 +00:00
sekelsenmat
73eb411b61 Fixes compilation of Carbon-Cocoa with FPC 2.2.2
git-svn-id: trunk@17656 -
2008-12-02 00:56:31 +00:00
jesus
4d0dfb40f0 LCL, fix grid exeption after removing all rows and adding a new row, issue #12666
git-svn-id: trunk@17655 -
2008-12-01 23:34:14 +00:00
zeljko
d2a489e5c4 Qt: better DrawFocusRect() patch.
git-svn-id: trunk@17654 -
2008-12-01 20:30:20 +00:00
zeljko
e23cf3a342 Qt: fixed bug inside SelectClipRgn(), reproducable on Mac & Linux only (now FastCube works fine ;) ).
git-svn-id: trunk@17653 -
2008-12-01 19:14:24 +00:00
jesus
21c26f68e4 LCL, Patch for TDBMemo so that UpdateRecord is only called when there has been changed something, from joost, issue #12725
git-svn-id: trunk@17652 -
2008-12-01 17:31:37 +00:00
paul
893a5a4867 qt: don't draw DrawEdge for empty rects
git-svn-id: trunk@17651 -
2008-12-01 16:58:34 +00:00
paul
cbdd72b1b2 qt: fix retrieving of few menu system colors
git-svn-id: trunk@17650 -
2008-12-01 15:54:32 +00:00
zeljko
5411abe0a1 Qt: fixed DrawFocusRect().
git-svn-id: trunk@17649 -
2008-12-01 15:43:42 +00:00
paul
3c5d2f3da3 qt: retrieve more correct titlebar colors. use direct windows call under qt-windows
git-svn-id: trunk@17648 -
2008-12-01 15:31:30 +00:00
zeljko
befdca0dbb Qt: drawEdge(), removed unecesarry color conversions.
git-svn-id: trunk@17647 -
2008-12-01 15:15:01 +00:00
paul
1e9b89230d qt: remove last pixel on line draw if pen is cosmetic (to mimic windows)
git-svn-id: trunk@17646 -
2008-12-01 15:03:36 +00:00
paul
eda677114d qt: fix few issues with DrawEdge
git-svn-id: trunk@17645 -
2008-12-01 14:23:42 +00:00
paul
cda2f61ad0 qt: fix DrawEdge colors
git-svn-id: trunk@17644 -
2008-12-01 13:35:25 +00:00
paul
35789f98bf lcl: allow to translate more color names
git-svn-id: trunk@17642 -
2008-12-01 03:09:17 +00:00
marc
d77f30e930 * Updated Russian translation by Maxin Ganetsky
git-svn-id: trunk@17639 -
2008-12-01 00:14:31 +00:00
marc
3c07dff07d * Updated Catalan translation by Antoni Clavell
git-svn-id: trunk@17638 -
2008-11-30 23:56:56 +00:00
marc
7728e82c3e * added todo for SB_THUMBPOSITION when tracking is finished
git-svn-id: trunk@17637 -
2008-11-30 23:35:12 +00:00
mattias
192fccaf68 FindDiskFilename: fixed case when there are three different times the same filename in a directory
git-svn-id: trunk@17636 -
2008-11-30 23:29:59 +00:00
paul
691a58c76b lcl: fix compilation with fpc 2.2.3 (jesusra, please review)
git-svn-id: trunk@17633 -
2008-11-30 06:25:43 +00:00
jesus
3e57042c0f LCL, initial postscript unicode support, updated/fixed postscript sample
git-svn-id: trunk@17631 -
2008-11-29 20:54:20 +00:00
paul
25088aa92b lcl: call colorbox custom color dialog *before* firing Change event
git-svn-id: trunk@17629 -
2008-11-29 12:59:22 +00:00
paul
7fad68ae28 lcl: don't return incorrent ItemIndex (valid values are from -1 to Count - 1)
git-svn-id: trunk@17628 -
2008-11-29 10:41:48 +00:00
zeljko
f861906cc1 Qt: implemented GetDCOriginRelativeToWindow()
git-svn-id: trunk@17623 -
2008-11-28 15:35:35 +00:00
paul
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00
paul
fb380a80d4 ide, codetools, ideintf: fix warnings
git-svn-id: trunk@17616 -
2008-11-28 02:53:56 +00:00
tombo
3c49588666 LCL carbon: applied patch for #0012445: Carbon IDE: Incorrect draw of non visual components from Dmitry
git-svn-id: trunk@17612 -
2008-11-27 15:02:28 +00:00
paul
12aeba4f6f lcl: set defaults for TBorderSpacing and TChildSizing properties
git-svn-id: trunk@17611 -
2008-11-27 07:57:27 +00:00
paul
2f2f3b5c11 lcl: set default values for TCustomTrayIcon properties
git-svn-id: trunk@17610 -
2008-11-27 04:46:42 +00:00
jesus
037203ea19 translations update
git-svn-id: trunk@17606 -
2008-11-26 20:45:06 +00:00
jesus
d92574550c LCL, updatepofile, fix to process some multilined rst strings previously discarded
git-svn-id: trunk@17605 -
2008-11-26 19:59:27 +00:00
mattias
caca721cc5 LCL: translations: added TranslateUnitResourceStrings overload with TPOFile, from Benito van der Zander, bug #12280
git-svn-id: trunk@17602 -
2008-11-26 15:36:38 +00:00
tombo
dd0f145e7e LCL carbon: fixed #0011015: Mac OS X : Ctrl+Shift+/ not allowed as a Short Cut Key combination by slightly modified patch from Dmitry Boyarintsev
git-svn-id: trunk@17599 -
2008-11-26 13:24:38 +00:00
paul
434df3cf0d qt: cleanup
git-svn-id: trunk@17598 -
2008-11-26 07:48:17 +00:00
zeljko
17982b9c1a Qt: fix WS classes, move methods from public to published sections.
git-svn-id: trunk@17597 -
2008-11-26 07:44:16 +00:00
andrew
6f3230e340 * Fixed a crash if Listcolumn or ListItem = nil
git-svn-id: trunk@17592 -
2008-11-26 00:32:52 +00:00
marc
6455f7ad16 + Added typed map
git-svn-id: trunk@17591 -
2008-11-26 00:06:46 +00:00
mattias
7ed7f3098d gtk intf: fixed Application.Deactivate
git-svn-id: trunk@17589 -
2008-11-25 20:07:16 +00:00
zeljko
6029a7c718 Qt: fix headerview behaviour inside TQtTabWidget, fixed bug #12709.
git-svn-id: trunk@17588 -
2008-11-25 19:02:53 +00:00
zeljko
3960cd04e7 Qt: implemented history for TQtFileDialog
git-svn-id: trunk@17585 -
2008-11-25 15:59:48 +00:00
tombo
29adec9a88 LCL carbon: changed public to published for ws classes, fixed header comments
git-svn-id: trunk@17582 -
2008-11-25 15:00:12 +00:00
zeljko
c734f2f286 Qt: bugfix for TQtTabWidget wrong coordinates, fixes bugs #9843 and #12230.
git-svn-id: trunk@17580 -
2008-11-25 12:22:54 +00:00
paul
efe9d531c3 widgetset: make WS classes method explicitly published
win32: fix WS classes. move methods to published sections

git-svn-id: trunk@17576 -
2008-11-25 02:29:28 +00:00
zeljko
b1780bca04 Qt: fixed scrolling of widgets.
git-svn-id: trunk@17572 -
2008-11-24 20:04:59 +00:00
jesus
1e9a8dcdbf LCL, published dbgrid UseXORFeatures property
git-svn-id: trunk@17568 -
2008-11-24 14:27:13 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
paul
6ab8ef7ffe lcl: set defaults to some control properties
git-svn-id: trunk@17560 -
2008-11-24 03:15:50 +00:00
marc
d2d4136761 * fixed navigationstate when iterator is created on an empty map and filled afterwards
git-svn-id: trunk@17556 -
2008-11-24 00:45:40 +00:00
andrew
39f84ae546 * a better fix for bug #12695 and some cleanup
git-svn-id: trunk@17555 -
2008-11-23 23:16:36 +00:00
andrew
f05a37586c * fixed obscure bug #12695 where gtk2 listview caused a crash
git-svn-id: trunk@17554 -
2008-11-23 22:32:28 +00:00
paul
177d9aa195 lcl: set defaults to some properties of standard controls
git-svn-id: trunk@17544 -
2008-11-23 12:26:40 +00:00
zeljko
d8efc87325 Qt: bugfix for #12693 - AV in OI when selecting custom color.
git-svn-id: trunk@17543 -
2008-11-23 12:03:34 +00:00
paul
fca22fcc33 lcl: return CLX colors temporary to allow project compilation (will raise deprecated warning now) and loading forms in ide (though CLX colors will not be listed in the object inspector anymore)
git-svn-id: trunk@17538 -
2008-11-23 10:25:45 +00:00
paul
47118a8640 qt: fix TQtComboBox.slotPaintCombo
- dont free DC 2 times
  - use currentIndex instead of Text search

git-svn-id: trunk@17535 -
2008-11-23 03:55:44 +00:00
marc
b9211d6127 * Fixed setting height of vertical scrollbar after loading when handle is not yet created
git-svn-id: trunk@17534 -
2008-11-23 02:21:15 +00:00
zeljko
7e433b19e6 Qt: QComboBox custom paint, reduce rect size by 1.
git-svn-id: trunk@17530 -
2008-11-22 21:27:46 +00:00
zeljko
04ae06b2af Qt: introduced custom paint for combobox.
git-svn-id: trunk@17529 -
2008-11-22 21:19:59 +00:00
mattias
0b0d219245 fixed some visibilities
git-svn-id: trunk@17521 -
2008-11-22 16:13:03 +00:00
andrew
6a71c231ad * Fixed bug #12690
* Removed unused vars

git-svn-id: trunk@17514 -
2008-11-22 14:39:14 +00:00
zeljko
846a3b94bb Qt: implemented itemSetImage() for TCustomListView
git-svn-id: trunk@17511 -
2008-11-22 11:51:14 +00:00
zeljko
87d2d92f67 Qt: fixed few bugs inside getTextMetrics()
git-svn-id: trunk@17509 -
2008-11-22 11:17:34 +00:00
paul
5c300b1051 lcl: set some defaults for TComboBox and TLabel properties
git-svn-id: trunk@17508 -
2008-11-22 10:51:19 +00:00
paul
de8dfe7d17 lcl: set default [akLeft, akTop] for Anchors property
git-svn-id: trunk@17506 -
2008-11-22 10:33:07 +00:00
zeljko
eea73aea5c Qt: bugfix #12688, now we can change color of TStatusBar.
git-svn-id: trunk@17503 -
2008-11-22 09:11:47 +00:00