Commit Graph

138 Commits

Author SHA1 Message Date
zeljko
d0904e069a Qt: fixed TListItem clearing icon. issue #23225
git-svn-id: trunk@39218 -
2012-11-01 09:10:04 +00:00
zeljko
8f30e4debe Qt: fixed TIconArrangement for TListView vsIcon,vsSmallIcon
git-svn-id: trunk@38893 -
2012-09-29 08:05:22 +00:00
zeljko
e6763367c1 Qt: fixed header offset and getClientRect for TListView when ViewStyle=vsReport.
git-svn-id: trunk@38533 -
2012-09-06 07:39:59 +00:00
zeljko
15e52b52b5 Qt: hide statusbar panel only when width is 0, do not count any margin.issue #22362
git-svn-id: trunk@37862 -
2012-07-04 05:29:10 +00:00
zeljko
b68368f585 Qt: hide statusbar panels with width 0. issue #22362
git-svn-id: trunk@37857 -
2012-07-03 10:55:39 +00:00
zeljko
fe7b460ed5 Qt: unset icon when doing internal sync after sorting. part of issue #22218
git-svn-id: trunk@37587 -
2012-06-08 08:47:08 +00:00
zeljko
362e4674d2 Qt: fixed resize events of TQtTabWidget and accurate information about clientRect changes. issue #21805
git-svn-id: trunk@36925 -
2012-04-20 07:33:18 +00:00
zeljko
82aea5f59c Qt: fixed wrong cast
git-svn-id: trunk@35866 -
2012-03-10 11:23:24 +00:00
zeljko
7d643c2a77 Qt: fixed TQtTreeWidget (TCustomListView vsReport) OnItemChecked delivery by using internal check state. Now it's consistent with gtk2 and win32, also with vsList,vsIcon and vsSmallIcon. issue #21446
git-svn-id: trunk@35842 -
2012-03-09 14:26:21 +00:00
zeljko
7ebe5af938 Qt: fixed OnItemChecked event for TListView when ViewStyle <> vsReport by using internal check state. issue #21446
git-svn-id: trunk@35836 -
2012-03-09 08:48:05 +00:00
zeljko
f0604a3907 Qt: fixed behaviour of QListWidget in multiselection mode (cannot select item when Ctrl is pressed), also fixed sending of doubled events to lcl.
git-svn-id: trunk@35562 -
2012-02-23 13:57:37 +00:00
zeljko
e52f4a0e0c Qt: return correct rect for TListItem.DisplayRect in case of vsList and vsReport.
git-svn-id: trunk@35275 -
2012-02-09 17:44:56 +00:00
zeljko
3603901d03 Qt: fixed bug where TListItem DisplayRect doesn't work if have > 1 column.
git-svn-id: trunk@35263 -
2012-02-09 10:14:41 +00:00
zeljko
f65d865464 Qt: added missing ability to change color of tabs in TCustomTabControl.
git-svn-id: trunk@35152 -
2012-02-05 11:45:54 +00:00
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