Commit Graph

384 Commits

Author SHA1 Message Date
Robert Roebling
fc211fe5ce More selection work in GTK+ version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Robert Roebling
baa9ebc473 Renamed wxDataViewCell to wxDataViewRenderer since the
class just renders the cell, it doesn't represent one.
    Maybe wxDataViewCellRenderer would be best...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Robert Roebling
eb7f97f8d6 Added event skeletons, defines, event ids..
Implemented wxEVT_DATAVIEW_ROW_SELECTED.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 13:23:31 +00:00
Robert Roebling
0a71f9e92f Replaces size_t with unsigned int in wxDataViewCtrl API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Robert Roebling
979f71a37b Forgot to commit latest sample changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 16:01:10 +00:00
Robert Roebling
57d0f66a02 Added test bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:18:08 +00:00
Robert Roebling
cbc9145c04 Added wxDataViewBitmapCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:17:00 +00:00
Robert Roebling
4627af27d4 Implement most of AppendRow(), PrependRow(), InsertRow(),
DeleteRow() for GTK+ version and sorted model.
  Added tests for these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 21:11:14 +00:00
Vadim Zeitlin
004f400287 remove extraneous commas and semicolons (patch 1537792)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:17:53 +00:00
Włodzimierz Skiba
0bcd4039e2 Reuse common sample resources. Little code cleanup. Removed unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 11:57:15 +00:00
Julian Smart
3b2cb4316b Moved wxRichTextCtrl to its own library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Robert Roebling
e585d8137c Added rc file for MINGW compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:50:32 +00:00
Robert Roebling
b6339e0b4f Minor sample update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:49:21 +00:00
Robert Roebling
e21f75bdf6 Finished most of the selection/focus handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 15:34:17 +00:00
Robert Roebling
533544f2ea Added some column width contrl code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:14:36 +00:00
Julian Smart
5ccc3f8470 Added Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 08:25:22 +00:00
Włodzimierz Skiba
f554a14b89 Source and warning cleaning after enabling wxUSE_DATAVIEWCTRL in wxMSW builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:01:33 +00:00
Julian Smart
fec647a203 Build corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:22:29 +00:00
Julian Smart
b910a8add4 Fixes/makefiles for building data view control on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 21:28:24 +00:00
Robert Roebling
0fdc2321bc Implement basic MVC logic (change an item in one
view and all views update themselves) and made
   wxDataViewToggleCell react to mouse clicks as a
   test for that (generic code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:44:57 +00:00
Robert Roebling
3f3af7e7f8 Change wxVariant GetValue() to GetValue( wxVariant & ).
More cool sorting code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 10:46:01 +00:00
Robert Roebling
abd6692ca8 Added stubs for variaous tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 22:27:09 +00:00
Robert Roebling
241cb04bd8 Don't delete model in views destructor as several
views can have the same model and memory doesn't
    like getting freed several times.
  Sorting actually works. Not yet editing the sorted
    data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 21:41:13 +00:00
Robert Roebling
7ea3a0de1e Most things about wxDataViewDateCell work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:34:50 +00:00
Robert Roebling
a78d8dd08a Move wxDataViewCtrl to Adv (hope this has worked..).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 19:26:19 +00:00
Robert Roebling
4d496ecbc4 Some restructuring, beginning of wxDataViewDateCell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 15:48:42 +00:00
Robert Roebling
553f7d8f56 Makes custom cell activatable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 01:51:28 +00:00
Robert Roebling
ad63bf413b Added wxDataViewProgressCell with native code
for GTK 2.6 and fallbacks otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 13:13:05 +00:00
Robert Roebling
e152afc3d4 Added wxDataViewCustomCell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:19:55 +00:00
Robert Roebling
605c2c4ac6 added wxDataViewToggleCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 13:19:23 +00:00
Robert Roebling
a7f61f762d wxDataViewCtrl now with editable text and multiple
views for the same data model (in the sample).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 13:34:15 +00:00
Robert Roebling
0313c114f5 Update sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 02:11:57 +00:00
Robert Roebling
362d7fb988 Updated wxDataViewCtrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 17:31:36 +00:00
Robert Roebling
bd6169a60e Added sample for wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 16:23:03 +00:00