Commit Graph

12535 Commits

Author SHA1 Message Date
sekelsenmat
c239bbb27d Patch from zaher from bug #17249 and also fixes compiling the wince interface for win32
git-svn-id: trunk@27244 -
2010-09-01 12:32:43 +00:00
dmitry
d92436b1e6 cocoa: initial support for controls painting
git-svn-id: trunk@27243 -
2010-09-01 09:07:14 +00:00
marc
32dbf71e3a * add workaround for alpha channel on palette based PNG images for fpc2.4 (fixed in fpc r15926 #af088605bf). Fixes issue #0017267
git-svn-id: trunk@27242 -
2010-08-31 21:32:03 +00:00
zeljko
115fb411b9 Qt: inform lcl about resize during design time.
git-svn-id: trunk@27241 -
2010-08-31 15:25:10 +00:00
zeljko
1a2d37383b Qt: fixed issue when IDE designer with main menu clips component icons at bottom, also fixed triggering of mainmenu in design form. fixes #16674.
git-svn-id: trunk@27240 -
2010-08-31 14:38:20 +00:00
zeljko
81e179d32a Qt: fixed bug with context menu where standard and parent popup menu was shown when some action executed from standard menu (eg. TEdit.Copy).Bug introduced in r26637 #a3dac0b6df.
git-svn-id: trunk@27239 -
2010-08-30 18:18:11 +00:00
zeljko
326743ab96 Qt: do not remove mousepropagation attribute from TQtTabBar. fixes #15192
git-svn-id: trunk@27238 -
2010-08-30 17:09:51 +00:00
zeljko
541a710bc0 Qt: reworked TQtCheckListBox triggers so it's same across all qtlcl supported platforms.
git-svn-id: trunk@27237 -
2010-08-30 12:26:21 +00:00
zeljko
6ac8338ecf Qt: assign qt font when not owning painter instead of setting new font for QPainter. fixes #16646
git-svn-id: trunk@27236 -
2010-08-30 09:52:05 +00:00
marc
74596e95e8 * Don't use ADesc.Depth as biBitCount, it can only be used in case of a 24 bits image. Fixes #0017234
git-svn-id: trunk@27235 -
2010-08-29 16:30:24 +00:00
dmitry
1b96dd26cd carbon: don't start the event loop, if application has been terminated. bug #16896
git-svn-id: trunk@27234 -
2010-08-29 16:09:32 +00:00
dmitry
75a6fecb66 carbon: initial implementation of PopupParent (docs required)! bug #16883
git-svn-id: trunk@27233 -
2010-08-29 15:44:02 +00:00
zeljko
7456e34bba Qt: workaround for Qt bug where QPainter refuses to setFont() when used by CreateFromPainter(). fixes #16646
git-svn-id: trunk@27232 -
2010-08-29 15:33:24 +00:00
zeljko
ea4be3fe87 Qt: moved setCursorPosition & getCursorPosition to IQtEdit, fixed crashes with setCursorPosition
git-svn-id: trunk@27228 -
2010-08-29 09:58:20 +00:00
zeljko
896b2f89a0 Qt: TQtTextEdit: implemented internal getCursorPosition() & setCursorPosition()
git-svn-id: trunk@27227 -
2010-08-29 06:46:21 +00:00
zeljko
549e73a73f Qt: TQtWSCustomEdit: implemented getCaretPos() & setCaretPos()
git-svn-id: trunk@27226 -
2010-08-28 19:09:15 +00:00
zeljko
ad720b3f1f Qt: simplified TQtAbstractScrollArea.getClientBounds, formatting & cleanups.
git-svn-id: trunk@27225 -
2010-08-28 17:06:04 +00:00
zeljko
a373c25fb8 Qt: return scrollarea widget instead of viewport contentsrect in case of pending resizeevent.
git-svn-id: trunk@27224 -
2010-08-28 16:46:34 +00:00
zeljko
ef6e5205d7 Qt: update clientrect before showing an listwidget. fixes #17134
git-svn-id: trunk@27222 -
2010-08-28 14:53:59 +00:00
dmitry
92059229cd lcl: remove UpChars array from FileUtil replacing them with string comparing functions usage
git-svn-id: trunk@27221 -
2010-08-28 14:17:24 +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
blikblum
1a26b3406d lcl: check for parent when setting TRadioButton siblings. part of 17284
git-svn-id: trunk@27217 -
2010-08-28 01:52:20 +00:00
zeljko
3e3bcedcc2 Qt: assign result in TQtCheckBox.EventFilter
git-svn-id: trunk@27214 -
2010-08-27 13:02:25 +00:00
zeljko
e6af6e3920 Qt: fixed TQtTreeWidget (TListView=vsReport) mouse selection triggers. fixes #16712, #17177
git-svn-id: trunk@27213 -
2010-08-27 10:36:45 +00:00
sekelsenmat
8951344ee9 Fixes typo from last commit
git-svn-id: trunk@27212 -
2010-08-27 09:36:46 +00:00
sekelsenmat
25cd658e92 Endianess fix for the new asian conversion functions
git-svn-id: trunk@27211 -
2010-08-27 09:24:08 +00:00
zeljko
3c4e1acbbe Qt: do not sync checkbox state (TQtCheckListBox) under non X11 platforms.
git-svn-id: trunk@27210 -
2010-08-27 08:51:52 +00:00
zeljko
2148f60765 Qt: fix ScrollWindowEx(): scroll child control only when SW_SCROLLCHILDREN flag exists. fixes #17175
git-svn-id: trunk@27209 -
2010-08-27 05:37:26 +00:00
blikblum
bb7a0731ed lcl: uncheck radiobutton siblings when handle not allocated, bug #17281
git-svn-id: trunk@27208 -
2010-08-27 01:48:32 +00:00
dmitry
c9c3967f42 carbon: implement keyboard processing before menu fire event (LCL compatible). fixes #17205 and probably some other issues
git-svn-id: trunk@27207 -
2010-08-26 23:25:31 +00:00
dmitry
6175b6e31e carbon: added tracking dismiss property for menus. make menu Parent property public
git-svn-id: trunk@27205 -
2010-08-26 22:57:07 +00:00
mattias
595a43bd40 translations: german: updates from Swen Heinig
git-svn-id: trunk@27204 -
2010-08-26 20:59:31 +00:00
paul
f20f3aa1ef lcl: add public property TCustomListView.ColumnCount,
win32: don't access listview columns array out of it bounds (issue #0017263)

git-svn-id: trunk@27199 -
2010-08-26 16:39:45 +00:00
zeljko
ac142e838f Qt: QtTextEdit: recognize html tags and use insertLine in that case. fixes #17170
git-svn-id: trunk@27195 -
2010-08-26 11:25:16 +00:00
zeljko
0822eb52d5 Qt: fixed context menu msg with right mouse click on QAbstractItemView classes.fixes #17133
git-svn-id: trunk@27194 -
2010-08-26 09:45:01 +00:00
zeljko
31238a6951 Qt: fixed qt caret respondtofocus behaviour. fixes #17173
git-svn-id: trunk@27193 -
2010-08-26 09:24:13 +00:00
zeljko
e62fc9c0f6 Gtk2: fixed compilation with -dVerboseFocus. fixes #17209
git-svn-id: trunk@27191 -
2010-08-26 09:08:22 +00:00
zeljko
fb63637d37 Qt: fixed TQtCheckListBox for BiDi mode. fixes #17055
git-svn-id: trunk@27190 -
2010-08-26 08:23:08 +00:00
jesus
aa000f9e7e LCL, fix dbgrid insert operation, broken in previous patch, issue #17261
git-svn-id: trunk@27189 -
2010-08-25 17:23:50 +00:00
mattias
93e12fed35 LCL: clean up
git-svn-id: trunk@27184 -
2010-08-25 07:21:39 +00:00
jesus
f77fe5926d LCL, fix dbgrid losing focus, issue #17239
git-svn-id: trunk@27183 -
2010-08-24 20:17:25 +00:00
sekelsenmat
a740ec2386 We now support all windows code pages as listed here: http://msdn.microsoft.com/en-us/goglobal/bb964654.aspx
git-svn-id: trunk@27177 -
2010-08-24 08:47:20 +00:00
sekelsenmat
0ee7468af1 Patch from JiXian Yang, improves asian encoding support
git-svn-id: trunk@27176 -
2010-08-24 08:42:29 +00:00
sekelsenmat
8553012044 patch from zaher dirkey, fixes cliprect under wince. see bug #17249
git-svn-id: trunk@27173 -
2010-08-23 19:01:21 +00:00
jesus
136fc6f86a LCL, fix dbgrid editor position on new record if dgAlwaysShowEditor option is on, issue #17241
git-svn-id: trunk@27172 -
2010-08-23 17:32:16 +00:00
martin
2c75806565 GTK2: clean up caret timer-handler
git-svn-id: trunk@27171 -
2010-08-23 17:19:59 +00:00
dmitry
dcb7c549f9 carbon: code cleanup
git-svn-id: trunk@27170 -
2010-08-23 07:35:36 +00:00
dmitry
b905dfda78 carbon: use ThemeSystemFont instead of ATSU font as default font
git-svn-id: trunk@27169 -
2010-08-23 07:01:12 +00:00
sekelsenmat
175c321577 Slightly modified patch from Jixian Yang. Implements support for converting to east asian code pages.
git-svn-id: trunk@27163 -
2010-08-22 14:30:05 +00:00
martin
6eb5cddca6 Gtk2: Fix newly created caret not shown (until after SetCaretPos)
git-svn-id: trunk@27159 -
2010-08-21 00:49:45 +00:00
maxim
7daa7004e0 DefaultTranslator: make --lang commandline parameter override all other methods of getting LanguageID. Patch from Stephano, bug #17218.
git-svn-id: trunk@27158 -
2010-08-20 20:20:23 +00:00
maxim
9778743866 DefaultTranslator: translate resourcestrings if they are present
git-svn-id: trunk@27154 -
2010-08-20 01:37:54 +00:00
sekelsenmat
230ddb896f Implements loading/saving the state of the pages properly in the form designer for TUntabbedNotebook
git-svn-id: trunk@27142 -
2010-08-19 09:29:46 +00:00
sekelsenmat
44e4879443 Basic usage of TUntabbedNotebook in the form designer is now working.
git-svn-id: trunk@27141 -
2010-08-19 09:05:08 +00:00
sekelsenmat
5be39fc3e2 Improves TUntabbedNotebook
git-svn-id: trunk@27139 -
2010-08-18 15:23:55 +00:00
sekelsenmat
96a99be189 Adds a component editor for the TUNBPage
git-svn-id: trunk@27128 -
2010-08-17 14:48:05 +00:00
sekelsenmat
a8ce3a530c No longer installs the new notebook in the IDE by default (define INSTALL_TUNTABBEDNOTEBOOK). Fixes crash in the new notebook
git-svn-id: trunk@27127 -
2010-08-17 14:32:18 +00:00
jesus
eb83377212 postscript glyph update
git-svn-id: trunk@27112 -
2010-08-16 15:36:49 +00:00
sekelsenmat
e5b69bef2d Improves wince platform detection and adds a new convenience routine to customshelltreeview
git-svn-id: trunk@27111 -
2010-08-16 14:35:59 +00:00
mattias
3c18a7f2dd LCL: clean up
git-svn-id: trunk@27105 -
2010-08-16 08:08:02 +00:00
mattias
8d715a791f LCL; clean up
git-svn-id: trunk@27104 -
2010-08-16 08:07:43 +00:00
maxim
9e09a508b6 Portuguese translation update by Marcelo B Paula, bug #17176.
git-svn-id: trunk@27103 -
2010-08-15 14:01:26 +00:00
sekelsenmat
6ed8d741d4 Starts a skeleton for utf-8 to chinese codepage conversion
git-svn-id: trunk@27102 -
2010-08-15 07:28:29 +00:00
sekelsenmat
0fd0fb1ae8 Fixes crash in TUntabbedNotebook
git-svn-id: trunk@27101 -
2010-08-15 05:49:06 +00:00
dmitry
76e6393192 carbon: fixed setting initial ListView Multiselect value. Fixed MakeVisible for listview item. bug #17082
git-svn-id: trunk@27095 -
2010-08-14 09:11:37 +00:00
sekelsenmat
99e42b0a93 Fixes crash in TUntabbedNotebook
git-svn-id: trunk@27094 -
2010-08-14 07:39:03 +00:00
sekelsenmat
bd13bc5897 Gives a initial size for TUntabbedNotebook
git-svn-id: trunk@27093 -
2010-08-14 06:33:32 +00:00
sekelsenmat
58756ec370 Starts implementing TUntabbedNotebook
git-svn-id: trunk@27092 -
2010-08-14 06:27:40 +00:00
paul
df7e1829b2 lcl: fix typo (issue #0014063)
git-svn-id: trunk@27087 -
2010-08-13 08:44:26 +00:00
paul
7dbd789466 lcl: preserve extra fields when passing lm_mousewheel message to child controls (issue #0014063)
git-svn-id: trunk@27086 -
2010-08-13 02:52:11 +00:00
paul
9dcdaa31d8 lcl: don't perform shortcut check and other double notification in recursive calls of DoKeyDownBeforeInterface
git-svn-id: trunk@27084 -
2010-08-13 01:46:31 +00:00
blikblum
366d200bb8 lcl: undo rev 27074 #706b7cc905 and re implement using a static variable
git-svn-id: trunk@27081 -
2010-08-12 16:05:16 +00:00
sekelsenmat
7704fc9d09 Fixes wince compilation
git-svn-id: trunk@27075 -
2010-08-12 13:30:00 +00:00
blikblum
706b7cc905 lcl: move RegisterPropertyToSkip calls of Grids and DBCtrls to unit initialization so it's called only once and not on every component created
git-svn-id: trunk@27074 -
2010-08-12 12:55:04 +00:00
blikblum
bbfbce8fdd lcl: fix compilation after rev 27070 #69b2b72516
git-svn-id: trunk@27073 -
2010-08-12 12:49:38 +00:00
blikblum
69b2b72516 lcl: move RegisterPropertyToSkip calls to Register* procedures or unit initialization so it's called only once and not on every component created
git-svn-id: trunk@27070 -
2010-08-12 12:24:11 +00:00
dmitry
b6c70dc7ed carbon: fixes for Luiz's RadioButton changes
git-svn-id: trunk@27063 -
2010-08-11 05:44:16 +00:00
jesus
10f1d85bf5 LCL, fix dbgrid showing 'phantom' rows on inserting (sqlquery bug on changing buffercount on this state)
git-svn-id: trunk@27062 -
2010-08-11 05:40:21 +00:00
blikblum
557e1a8671 qt: optimize GetUtf8String
git-svn-id: trunk@27061 -
2010-08-11 01:52:41 +00:00
blikblum
8265b847c5 lcl: add const to string parameters in RegisterPropertyToSkip
git-svn-id: trunk@27060 -
2010-08-11 01:46:39 +00:00
blikblum
10f33a372e lcl: optimize TPropertiesToSkip.IndexOf
git-svn-id: trunk@27059 -
2010-08-11 01:39:26 +00:00
blikblum
00afe9c4f9 lcl: optimize TPropertiesToSkip
git-svn-id: trunk@27058 -
2010-08-11 01:24:45 +00:00
blikblum
4a9091c3a2 lcl: don't publish TRadioButton State and AllowGrayed properties: Delphi compatible.
separate TCustomCheckBox/TCheckBox constructors to avoid double setting of AutoSize/TabStop in TToggleBox/TRadioButton

git-svn-id: trunk@27055 -
2010-08-10 20:12:40 +00:00
blikblum
e50914e4bf qt: don't send LM_CHANGE messages when changing State of TRadioButton and TCheckBox programatically. Use Toggled signal instead of Clicked to notify of changes in TRadioButton. Part of 0017139 and 0017104
git-svn-id: trunk@27054 -
2010-08-10 17:49:43 +00:00
blikblum
1aa796b724 lcl: remove workarounds to recursive LM_CHANGE calls, since it was fixed fixed in rev 27050 #8d7d250608 and 27051:
- don't toggle TRadioButton siblings state since this is done by widgetset;  
 - remove FLastCheckedOnChange; 
 - call OnChange only if State was really changed by widgetset 
 - Dont set Checked property in Click
Part of 0017139 and 0017104

git-svn-id: trunk@27053 -
2010-08-10 17:02:07 +00:00
blikblum
5456d6fc31 wince: avoid sending LM_CHANGE message when clearing TRadioButton siblings and when setting TRadioButton checked property programatically. Send LM_CHANGE when TRadioButton is unchecked. Don't toggle TRadioButton state when it's already checked. Part of 0017139 and 0017104
git-svn-id: trunk@27051 -
2010-08-10 16:52:59 +00:00
blikblum
8d7d250608 win32: avoid sending LM_CHANGE message when clearing TRadioButton siblings and when setting TRadioButton checked property programatically. Send LM_CHANGE when TRadioButton is unchecked. Don't toggle TRadioButton state when it's already checked. Part of 0017139 and 0017104
git-svn-id: trunk@27050 -
2010-08-10 16:52:13 +00:00
dmitry
14b1813403 carbon: final fixes for LineTo 1-pixel line drawing
git-svn-id: trunk@27048 -
2010-08-10 08:39:10 +00:00
sekelsenmat
9a8d703529 Fixes Carbon drawing of lines with width 1
git-svn-id: trunk@27047 -
2010-08-10 04:11:19 +00:00
paul
2c127c9897 win32: fix TListView.Autosize by Bernd Kreuss (issue #0017141)
git-svn-id: trunk@27046 -
2010-08-10 02:07:48 +00:00
marc
a65d1b9fc1 * Convert rgb(a) bitmap data if data in different order. Modified patch #0016304 by Denis Golovan
git-svn-id: trunk@27044 -
2010-08-09 22:55:52 +00:00
marc
0b2e80a484 * Move generic RGBIndices code to rawimage description. Part of patch #16304 by Denis Golovan
git-svn-id: trunk@27043 -
2010-08-09 22:53:38 +00:00
sekelsenmat
ed2bd3cf36 Changes SHSendBackToFocusWindow to dynamic loading
git-svn-id: trunk@27042 -
2010-08-09 08:03:40 +00:00
dmitry
3048fbf9e9 carbon: fix focusing, allowing an empty form to gain focus. bugs #16823,#16866
git-svn-id: trunk@27041 -
2010-08-08 20:47:27 +00:00
marc
e46e582d12 * Set HideKeyTableWarnings by default so no key table warnings ar shown (Out of OEM specific VK codes)
git-svn-id: trunk@27035 -
2010-08-08 15:07:23 +00:00
jesus
5eba113ce5 LCL, implements grid's cbsButtonColumn editor style
git-svn-id: trunk@27029 -
2010-08-08 02:10:24 +00:00
mattias
348d2efab4 LCL: TAvgLvlTree: using by default the default memory manager, for multithreading
git-svn-id: trunk@27017 -
2010-08-06 16:31:27 +00:00
paul
66c72d1b3e lcl: add TApplication.ActivateHint method for delphi compatibility
git-svn-id: trunk@27014 -
2010-08-05 02:17:37 +00:00
paul
65ab258cc6 win32: draw disabled text if bitbtn is disabled even when themes are enabled (issue #0017106)
git-svn-id: trunk@27006 -
2010-08-04 10:29:37 +00:00
paul
83e5f75727 lcl: ignore BorderStyle changes for TForm during the design time (issue #0017099)
git-svn-id: trunk@26993 -
2010-08-03 11:55:11 +00:00