Commit Graph

76 Commits

Author SHA1 Message Date
zeljko
a2cf7dbb61 Qt: speed improvement for QTextEdit text insertions when it contains < or > chars. part of issue #22715
git-svn-id: trunk@38367 -
2012-08-25 10:08:25 +00:00
zeljko
4c7a01b629 Qt: another fix for qt richtext parser. fixes issue #22715
git-svn-id: trunk@38365 -
2012-08-25 06:48:51 +00:00
zeljko
74fe4d1aae Qt: another trial to fix crashes with recent fixes 2.6 and 2.7.1
git-svn-id: trunk@35827 -
2012-03-08 16:40:15 +00:00
zeljko
a4ede633eb Qt: fixed crash due to recent backport merges into 2.6.1 (TStringList.Destroy now calls Clear;)
git-svn-id: trunk@35826 -
2012-03-08 16:06:34 +00:00
zeljko
97b7e5c8ef Qt: fixed seg fault with TCheckListBox, fixed passing OnItemClick when adding items.issue #20927
git-svn-id: trunk@34254 -
2011-12-18 11:12:40 +00:00
zeljko
12dba80ad6 Qt: fixed tristate checkbox in TQtCheckListBox, also simplified some code.issue #20740
git-svn-id: trunk@33755 -
2011-11-24 11:20:29 +00:00
zeljko
b2cfc29c58 Qt, Gtk2: fixes checkbox state when doing Items.Move() from checklstbox.part of issue #20589
git-svn-id: trunk@33171 -
2011-10-30 12:11:43 +00:00
zeljko
eb2a14b3a7 Qt: TQtListStrings fixed itemindex changing when doing Exchange().issue #20188
git-svn-id: trunk@32227 -
2011-09-08 12:17:55 +00:00
zeljko
d1b2bde9aa Qt: cleanups, removed unused units, removed unreachable code
git-svn-id: trunk@30269 -
2011-04-12 06:33:04 +00:00
zeljko
fe743caa95 Qt: remove redundant line breaks when reading from lfm.Patch by Vladimir Zhirov issue #18278.
git-svn-id: trunk@30168 -
2011-04-04 07:53:38 +00:00
mattias
2829b842e8 LCL: small optimization
git-svn-id: trunk@29589 -
2011-02-17 10:07:01 +00:00
zeljko
743dd68949 Qt: allow pass of change events to LCL when inserting or appending text into TCustomMemo.issue #18419
git-svn-id: trunk@29062 -
2011-01-17 07:43:48 +00:00
mattias
52060dfa52 LCL: clean up
git-svn-id: trunk@28553 -
2010-11-29 09:14:55 +00:00
zeljko
0206d775d7 Qt: fixed trailing lines when setting text of TMemo.Patch from Vladimir Zhirov with my changes to TQtMemoStrings.Assign.Fixes issue #18067
git-svn-id: trunk@28516 -
2010-11-28 08:55:16 +00:00
zeljko
28822fe6e8 Qt: rewritten most of TQtMemoStrings, simplified TQtWSCustomMemo.Fixes issues #17933,#18063,#18067
git-svn-id: trunk@28509 -
2010-11-27 15:27:40 +00:00
zeljko
c17c45c439 Qt: fixed bug where OnChange() event sender was TQtMemoStrings instead of TCustomMemo, so tests goes into wrong type cast.
git-svn-id: trunk@27868 -
2010-10-26 06:59:34 +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
cb6146dfb8 Qt: fixed TQtComboBox bug where lineedit text isn't preserved when adding it as item and itemindex=-1.
git-svn-id: trunk@26310 -
2010-06-28 14:41:27 +00:00
zeljko
da1e9bc37c Qt: use another approach to get combo itemindex, also permit qt to change itemindex when inserting new items. fixes #16727
git-svn-id: trunk@26144 -
2010-06-16 07:54:32 +00:00
zeljko
69ec128cc9 Qt: stop interpreting html tags. fixes #16676
git-svn-id: trunk@25983 -
2010-06-08 18:11:22 +00:00
zeljko
0952e94fdd Qt: TQtMemoStrings cleanup, fixed crash when form recreates handle
git-svn-id: trunk@25358 -
2010-05-13 12:21:52 +00:00
zeljko
0103468420 Qt: reinitialize widget palette on QEventPaletteChange, cleanups
git-svn-id: trunk@25139 -
2010-05-02 17:01:26 +00:00
paul
ecccf982ed qt: initial implementation for GetSysColorBrush + various cleanup and bug fixes
git-svn-id: trunk@25131 -
2010-05-02 11:26:52 +00:00
zeljko
c77f948063 Qt: cleanup
git-svn-id: trunk@25069 -
2010-04-29 19:30:25 +00:00
zeljko
d6ecbeed14 Qt: implemented TQtWSCustomListView.getTopItem(), cleanups
git-svn-id: trunk@24993 -
2010-04-27 07:06:30 +00:00
zeljko
41715a8d27 Qt: TQtTextEdit rework - added insertLine() setLineText() removeLine() using QTextCursor
git-svn-id: trunk@24799 -
2010-04-21 19:24:32 +00:00
zeljko
0b9988d3ca Qt: make proper memo.Lines[n] changes. fixes #16308.
git-svn-id: trunk@24790 -
2010-04-21 14:07:18 +00:00
zeljko
4f98042b2f Qt: better checks for owner handle in TQtComboStrings, TQtListStrings - fixes corner case segfaults if programmer called eg. TListBox.Clear while handle is being released via QEventDestroy.
git-svn-id: trunk@24109 -
2010-03-20 10:14:02 +00:00
zeljko
2307785cf3 Qt: Fixed segfault in destroying form handle when form is child of another control.Fixed segfault in TQtListStrings.Clear() - we must check here if handle exist since Clear is called when control is destroyed.Introduced TQtComboBox.ClearItems, TQtListWidget.ClearItems for faster deletion of items in TQtListStrings and TQtComboStrings.
git-svn-id: trunk@24088 -
2010-03-18 19:12:41 +00:00
zeljko
dcaa3c193a Qt: TQtComboBox - do not fire OnChange(), OnSelect() when adding or deleting items from list. Now it's delphi (7) compatibile.OnChange() fires when text is changed, OnSelect() when user changes an item in list.
git-svn-id: trunk@23297 -
2009-12-27 11:16:32 +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
paul
705b320a3a qt: replace UTF8Encode by UTF16ToUTF8 and UTF8Decode by UTF8ToUTF16
git-svn-id: trunk@18731 -
2009-02-17 13:52:40 +00:00
zeljko
411f7b7960 Qt: bugfix - alignment of TQtTextEdit in design time
git-svn-id: trunk@18170 -
2009-01-06 15:38:19 +00:00
zeljko
e836d52a85 Qt: bugfix - TQtTextEdit QTextEdit_textChanged_event was completely wrong in qtprivate.Now our TCustomMemo properly triggers OnChange()
git-svn-id: trunk@18168 -
2009-01-06 14:41:00 +00:00
paul
434df3cf0d qt: cleanup
git-svn-id: trunk@17598 -
2008-11-26 07:48:17 +00:00
zeljko
bf7d236cce Qt: added ability to exchange items inside TQtListWidget and TQtComboBox, fixed #12683.
git-svn-id: trunk@17500 -
2008-11-21 20:42:05 +00:00
paul
04ac30b1eb license: fix asterisk position in the license block
git-svn-id: trunk@17372 -
2008-11-13 15:06:20 +00:00
zeljko
08b2573645 Qt: faster Sort() routines in qtprivate.
git-svn-id: trunk@16417 -
2008-09-04 18:39:00 +00:00
zeljko
bdff789799 Qt: TQtComboBox, no more unnecessary removeItem() insertItem(), now we use setItemText() in qtprivate.TQtComboStrings.Put().
git-svn-id: trunk@16416 -
2008-09-04 18:18:48 +00:00
zeljko
9f570dee58 Qt: bugfix for #12060 - TListBox looses selection on item text change.
git-svn-id: trunk@16415 -
2008-09-04 18:02:36 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
682a924368 typo in comments
git-svn-id: trunk@14377 -
2008-03-03 08:23:10 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
sekelsenmat
fa14be1de9 Removed the USE_QT_4_3 define. Now only Qt 4.3 or superior is supported.
git-svn-id: trunk@14057 -
2008-02-09 20:32:37 +00:00
paul
4dfe601068 qt:
- add qtdefines.inc (place for global qt defines)
- force qt 4.3 under windows

git-svn-id: trunk@12630 -
2007-10-29 15:11:49 +00:00
paul
293d27c168 Qt: Use GetUtf8String instead of utf8Decode. GetUtf8String tries to decode string at first and it is failed it uses raw string as result (so non unicode coded strings are also handled by this function).
git-svn-id: trunk@12047 -
2007-09-16 15:51:19 +00:00
paul
64c80e1a0e Qt:
- reimplement TQtListStrings (now sort is also work)
- more TQtWSCustomListBox methods

git-svn-id: trunk@12019 -
2007-09-13 07:55:47 +00:00
paul
538f96f54d (Qt):
- rewrite TQtComboStrings (new is based on carbon implementation)
- complete TQtWSCustomComboBox

git-svn-id: trunk@11611 -
2007-07-24 09:03:49 +00:00
zeljko
71b1f100e6 + More optimizations on TCustomMemo.
* Cleared all warnings.

git-svn-id: trunk@11538 -
2007-07-17 07:36:09 +00:00
zeljko
d2bddc6ff9 * Fixed UTF8 bugs, some old, some produced by me in latest patch.
* More optimization to TCustomMemo.
+ Added GetText() , SetText() to TCustomComboBox.

git-svn-id: trunk@11527 -
2007-07-16 15:33:32 +00:00