ObjectListView2
Fork of ObjectListView with other fixes and changes
Install / Use
/learn @eriknystrom/ObjectListView2README
Not currently maintained, please refer to https://github.com/driscollis/ObjectListView3 to report any new issues and submit PRs
ObjectListView2
This is an upload of olv 1.3.2 from https://bitbucket.org/wbruhin/objectlistview/src/default/
An ObjectListView is a wrapper around the wx.ListCtrl that makes the list control easier to use. It also provides some useful extra functionality.
Larry Wall, the author of Perl, once wrote that the three essential character flaws of any good programmer were sloth, impatience and hubris. Good programmers want to do the minimum amount of work (sloth). They want their programs to run quickly (impatience). They take inordinate pride in what they have written (hubris).
ObjectListView encourages the vices of sloth and hubris, by allowing programmers to do far less work but still produce great looking results.
Without wasting my time, just tell me what it does!
OK, here's the bullet point feature list:
- Automatically transforms a collection of model objects into a fully functional wx.ListCtrl.
- Automatically sorts rows.
- Easily edits the cell values.
- Supports all ListCtrl views (report, list, large and small icons).
- Columns can be fixed-width, have a minimum and/or maximum width, or be space-filling.
- Displays a "list is empty" message when the list is empty (obviously).
- Supports checkboxes in any column
- Supports alternate rows background colors.
- Supports custom formatting of rows.
- Supports searching (by typing) on any column, even on massive lists.
- Supports custom sorting
- The
FastObjectListViewversion can build a list of 10,000 objects in less than 0.1 seconds. - The
VirtualObjectListViewversion supports millions of rows through ListCtrl's virtual mode. - The
GroupListViewversion supports arranging rows into collapsible groups. - Effortlessly produce professional-looking reports using a ListCtrlPrinter.
Seriously, after using an ObjectListView, you will never go back to using a plain wx.ListCtrl.
OK, I'm interested. What do I do next?
As Phillip has not updated the Python version for a long time I created this fork as I want to use it with wxPython 2.9+ and wxPython 3.x Phoenix on both Python 2.x and 3.x.
To install this version clone the repo or download it and then run setup.py install.
Cloning using ssh::
hg clone ssh://hg@bitbucket.org/wbruhin/objectlistview
Cloning using https::
hg clone https://wbruhin@bitbucket.org/wbruhin/objectlistview
The original project was hosted on SourceForge <https://sourceforge.net/project/showfiles.php?group_id=225207&package_id=280564>_.
TODO: Update readme
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
