zeljko
cac40f27dc
Qt: simplified getting style pixel metrics by using GetPixelMetric() instead QStyle_pixelMetric()
...
git-svn-id: trunk@34512 -
2011-12-30 08:53:11 +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
sekelsenmat
fa02b703f1
Renames TNotebookOption and friends to TCTabControlOptions,etc because the old name was completely wrong since TNotebook is completely unrelated to this type
...
git-svn-id: trunk@33537 -
2011-11-15 07:28:07 +00:00
sekelsenmat
73542b658a
Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
...
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
bc7a2ba310
Moves TCustomNotebook to ComCtrls in preparation for renaming it
...
git-svn-id: trunk@31552 -
2011-07-04 09:43:21 +00:00
zeljko
84d29ef869
LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
...
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().
git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
zeljko
03f505111f
Qt: take into account header size when call itemAt() from lcl. Fixed missing selection trigger when mouse pressed in listview <> vsReport.
...
git-svn-id: trunk@31374 -
2011-06-25 09:24:02 +00:00
zeljko
8bdf87abed
LCL: TListViewItems: implemented Exchange() and Move() to easy move or exchange items in list. Implementation done for gtk2 and qt
...
git-svn-id: trunk@31358 -
2011-06-24 12:04:01 +00:00
zeljko
5306a46d58
LCL: TTrackbar: introduced TWSTrackBar.SetOrientation(), default implementation is RecreateWnd(), but should be implemented for ws which supports changing trackbar orientation. fixes #19387
...
git-svn-id: trunk@30846 -
2011-05-22 08:55:33 +00:00
zeljko
7e730027e3
Qt: trial to fix #19387
...
git-svn-id: trunk@30829 -
2011-05-20 14:53:22 +00:00
zeljko
a40f6e162e
Qt: TToolBar should have QtTabFocus focuspolicy.Removed WSToolbar (native qt toolbar implementation) define.issue #19211
...
git-svn-id: trunk@30555 -
2011-05-05 09:38:58 +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
a3d3512da0
Qt: stop signals from qt when deleting an item from list. issue #19127
...
git-svn-id: trunk@30246 -
2011-04-08 18:05:50 +00:00
zeljko
c6bdd569fa
Qt: fixed strange behaviour of QTreeWidget selection when multiselection is enabled (TListView.Style = vsReport). issue #18972
...
git-svn-id: trunk@30198 -
2011-04-05 06:19:50 +00:00
zeljko
bf7ad8a2f9
Qt: fixed msg providing to LCL when deselection of items occured by mouse click into listview viewport. issue #18972
...
git-svn-id: trunk@30078 -
2011-03-30 09:53:16 +00:00
zeljko
78e92fd32f
Qt: reworked selection handling of TQtTreeWidget, now we use QTreeWidget_selectedItems() instead of
...
asking QTreeWidgetItem_isSelected() which is more accurate, and avoid crashes in some circumstances, eg.watchesdlg,breakpointdlg etc.
git-svn-id: trunk@29422 -
2011-02-08 15:24:57 +00:00
zeljko
aebc44b750
Qt: proper update of QStatusBar. Patch by Juha Manninen. issue #18683
...
git-svn-id: trunk@29357 -
2011-02-03 18:33:43 +00:00
zeljko
7e8594978a
Qt: implemented TTrackBar.Reversed property
...
git-svn-id: trunk@28313 -
2010-11-18 09:47:28 +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
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
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
zeljko
46e13be16d
Qt: properly set column widths, also ColumnDelete() fixed. fixes #16928
...
git-svn-id: trunk@26652 -
2010-07-14 16:30:29 +00:00
zeljko
2a52b833dc
Qt: implemented psOwnerDraw for TQtStatusBar panels.
...
git-svn-id: trunk@25816 -
2010-06-01 16:53:42 +00:00
zeljko
d967827d19
Qt: cleanup, formatting
...
git-svn-id: trunk@25168 -
2010-05-04 06:58:15 +00:00
zeljko
76aff6d04c
Qt: TQtProgressBar - do not send msg to LCL when position changed from LCL.
...
git-svn-id: trunk@25167 -
2010-05-04 06:52:35 +00:00
zeljko
0f5220fc21
Qt: TQtTrackBar - use BeginUpdate & EndUpdate when changing values from LCL, simplified TQtTrackBar slots.
...
git-svn-id: trunk@25166 -
2010-05-04 06:42:04 +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
fdde8bc5e1
Qt: implemented TQtAbstractScrollArea.getViewOrigin() and TQtWSCustomListView.getViewOrigin(), to get this work
...
we must wait bindings update, since QRectToPRect does not assign TopLeft & BottomRight
git-svn-id: trunk@24994 -
2010-04-27 07:32:49 +00:00
zeljko
d6ecbeed14
Qt: implemented TQtWSCustomListView.getTopItem(), cleanups
...
git-svn-id: trunk@24993 -
2010-04-27 07:06:30 +00:00
zeljko
7cc4098802
Qt: implemented TQtWSCustomListView.GetVisibleRowCount(), simplified code
...
git-svn-id: trunk@24968 -
2010-04-26 13:48:28 +00:00
zeljko
26a3068e72
Qt: implemented TQtWSCustomListView.SetAllocBy() for ViewStyle <> vsReport.
...
git-svn-id: trunk@24962 -
2010-04-26 11:34:21 +00:00
zeljko
b8ece44354
Qt: fixed bugs when TQtListWidget.DataOwner = True, reduced paint overhead, simplified code
...
git-svn-id: trunk@24961 -
2010-04-26 10:44:53 +00:00
zeljko
aa3fcc8505
Qt: QtWsCustomListView now uses TQtListWidget for all viewstyles except vsReport.
...
git-svn-id: trunk@24949 -
2010-04-26 07:27:21 +00:00
zeljko
7e77c94cc6
Qt: TListView vsIcon rework, now we use QListWidget for IconView mode.
...
git-svn-id: trunk@24926 -
2010-04-25 18:01:00 +00:00
zeljko
c74a4777f3
Qt: TListView should show column headers only if viewstyle = vsReport.
...
git-svn-id: trunk@24907 -
2010-04-25 11:24:00 +00:00
zeljko
573fd149a2
Qt: fixed TQtCustomListView events (key space), fixes #16317 . Added RecreateWnd() when TListView.CheckBoxes property changed.
...
git-svn-id: trunk@24850 -
2010-04-23 12:51:41 +00:00
zeljko
26a08a551d
Qt: fixed bug where uniformrowheights weren't setted up on empty listview.Now we have TListView performance boost > 500%.
...
git-svn-id: trunk@24316 -
2010-03-31 14:22:04 +00:00
zeljko
cbb925a0d4
Qt: TQtWSCustomListView optimization, 10% faster insert.
...
git-svn-id: trunk@24312 -
2010-03-31 13:59:49 +00:00
zeljko
9857d352e0
Qt: destroy QTreeWidgetItem after taking from QTreeWidget, reworked TQtWSCustomListView.ItemDelete()
...
git-svn-id: trunk@24309 -
2010-03-31 08:47:28 +00:00
zeljko
562621aec1
Qt: small optimization in TQtWSCustomListView - do not set text in iteminsert if text = ''
...
git-svn-id: trunk@24305 -
2010-03-31 06:20:09 +00:00
zeljko
77991a4720
Qt: small fix in listview EndUpdate - enable updates when InUpdate = false.
...
git-svn-id: trunk@24303 -
2010-03-30 20:32:16 +00:00
zeljko
1b3de30b4c
Qt: TQtTreeWidget - do not send changed signal while adding items enclosed by BeginUpdate() & EndUpdate().
...
git-svn-id: trunk@24297 -
2010-03-30 12:59:35 +00:00
zeljko
8abecb2ba9
Qt: removed workaround for qt 4.3, fixes #15744
...
git-svn-id: trunk@23838 -
2010-03-04 18:39:43 +00:00
zeljko
21dff33608
Qt: do not animate progress bar during design time if pbstMarquee progress bar style enabled.
...
git-svn-id: trunk@23426 -
2010-01-12 09:50:55 +00:00
mattias
703970233e
qt intf: clean up
...
git-svn-id: trunk@23368 -
2010-01-04 18:18:31 +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
6cf3d0b52a
Qt: bugfix for TListView.HideSelection, fixes #15103
...
git-svn-id: trunk@22615 -
2009-11-16 08:13:47 +00:00