wxPropertyGrid
wxPropertyGrid
wxPropertyGrid is a specialized two-column grid for editing properties such as strings, numbers, flagsets, string arrays, and colours. wxPropertySheet used to do the very same thing, but it hasn't been updated for a while and it is currently deprecated.
Below is a link to a simple web site I have created for this project.
http://wxpropgrid.sourceforge.net/
Source archive has a lot of doxygen generated documentation (main page has examples of use, lists of issues, bugs, todo, etc), so look there first for more information.
So far, wxPropertyGrid has been tested with Windows and GTK platforms (2.0 works ok, 1.2 is hanging in there). Mac OS X and Windows CE are reported to work without huge problems.
Of course, I'll appreciate any feedback.
EDIT: Removed version numbers, wxPython bindings, Mac OS X and Windows CE were reported to run.
Below is a link to a simple web site I have created for this project.
http://wxpropgrid.sourceforge.net/
Source archive has a lot of doxygen generated documentation (main page has examples of use, lists of issues, bugs, todo, etc), so look there first for more information.
So far, wxPropertyGrid has been tested with Windows and GTK platforms (2.0 works ok, 1.2 is hanging in there). Mac OS X and Windows CE are reported to work without huge problems.
Of course, I'll appreciate any feedback.
EDIT: Removed version numbers, wxPython bindings, Mac OS X and Windows CE were reported to run.
Last edited by jms on Sun Jan 21, 2007 12:08 pm, edited 38 times in total.
This really looks awesome and is very welcomed by guys who create a GUI designer and the likes... It so happens that the guys from CMake need something like that to recreate the CMakeSetup for MSW, Linux (it also uses wxWidgets) ..
Great work!!
- Jorgen
Great work!!
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
So what ? It looks great! I modelled wxTreeMultiCtrl after the property tree control after the thunderbird / mozilla property sheet ..Thanks, but the colours and layout are pretty much 1:1 copy of .NET propertygrid
I informed Bill Hoffman from kitware who contacted me a while ago to ask for help. Unfortunately right now I don't have the time for that. But he will surely be helped with this I am sure!Well, it sure would be great if they'd give wxPropertyGrid a try!
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
- tierra
- Site Admin
- Posts: 1355
- Joined: Sun Aug 29, 2004 7:14 pm
- Location: Salt Lake City, Utah, USA
- Contact:
I was pretty sure I hadn't seen anything like it except in Mozilla, I've kinda been wondering about that for a while, but not enough to bother to ask... =)Jorg wrote:So what ? It looks great! I modelled wxTreeMultiCtrl after the property tree control after the thunderbird / mozilla property sheet ..
This is for everybody who has atleast tried to use wxPropertyGrid in their own application:
Since it is now possible that wxPropertyGrid becomes part of wxAdv, I really would want some feedback about the API. Does it feel consistent with other wx controls? Is it too clumsy? Is it practical in real-world applications? In what way it could be better?
If you anything to say about it, please e-mail me (as this thread is not really the right place for that kind of stuff).
Thanks!
Since it is now possible that wxPropertyGrid becomes part of wxAdv, I really would want some feedback about the API. Does it feel consistent with other wx controls? Is it too clumsy? Is it practical in real-world applications? In what way it could be better?
If you anything to say about it, please e-mail me (as this thread is not really the right place for that kind of stuff).
Thanks!
Just out of curiousity.... is there no "danger" that the .NET variant (to which it has a strong resemblance) is copyrighted or patented by Micro$oft ? If this is part of a standard win32 control set it will probably not, but just a thought ...
- Jorgen
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
PropertyGrid is part of the standard .NET control library.
I have no idea if it is protected by a copyright or not, but in the past there have been other very similar controls. For example, change colors and don't use of categories, and you'll have the same propertysheet control as in Borland's Delphi and C++ Builder.
Basicly at this point, it is a simple matter of appearance modification, if necessary. Later, if I add help box and toolbar for mode/page selection... well, then I think Microsoft could clearly say "Hey, you copied our stuff! Cease and Desist!".
But then again, free, open-source Mono project should also have the standard .NET control set, and they are copying much more than a single control!
BTW, I chose to emulate .NET control since this is the closest I can get to a 'native' Windows propertysheet. This way wx apps using it will look more like future native Windows apps (since .NET is the future Windows API).
I have no idea if it is protected by a copyright or not, but in the past there have been other very similar controls. For example, change colors and don't use of categories, and you'll have the same propertysheet control as in Borland's Delphi and C++ Builder.
Basicly at this point, it is a simple matter of appearance modification, if necessary. Later, if I add help box and toolbar for mode/page selection... well, then I think Microsoft could clearly say "Hey, you copied our stuff! Cease and Desist!".
But then again, free, open-source Mono project should also have the standard .NET control set, and they are copying much more than a single control!
BTW, I chose to emulate .NET control since this is the closest I can get to a 'native' Windows propertysheet. This way wx apps using it will look more like future native Windows apps (since .NET is the future Windows API).
Well I totally agree. I do not like M$'s latest tricks with their IP war against the government of Taiwan, where they will sue then when they step over to Linux (because linux should 'probably' have as much as 200+ patent or IP violations). The last thing I would like is M$ toning down wxWidgets because it contains that kind of stuff. But indeed, I don't think that will happen.
By the way, my wxFoldBar is also slightly modelled after the Outlook 2003 task fold bar. I need to redesign it, but I am having so many side projects right now that I cannot even get to my most regular tasks.
Luckily I have a laptop now so I can fiddle around some in my 'lost' moments .. your efforts are really great, with controls like this wxWidgets will look more and more professional!
- Jorgen
By the way, my wxFoldBar is also slightly modelled after the Outlook 2003 task fold bar. I need to redesign it, but I am having so many side projects right now that I cannot even get to my most regular tasks.
Luckily I have a laptop now so I can fiddle around some in my 'lost' moments .. your efforts are really great, with controls like this wxWidgets will look more and more professional!
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
your efforts are really great, with controls like this wxWidgets will look more
and more professional!
Well, if my efforst are really great, its hard to come up with a good adjective for your efforts (and not even speaking of the core developers).
The amount of time people invest in open source development never ceases to amaze me...
-
- In need of some credit
- Posts: 2
- Joined: Sat Apr 29, 2006 3:18 pm
- Contact:
This control was exactly what I have been looking for. Outstanding work!
I only have one issue: If a parent property has a password as a child, the password is shown in the parent property's text block. My correction for this was to insert the following code at line 1444 in propgrid.cpp:
This replaces the password with asterisks. Can you think of any side effects to this change that may be "less than optimal"?
Again, thanks for an outstanding control!
Jere
I only have one issue: If a parent property has a password as a child, the password is shown in the parent property's text block. My correction for this was to insert the following code at line 1444 in propgrid.cpp:
Code: Select all
if (curChild->m_flags & wxPG_STRING_PASSWORD)
s = wxString(wxChar('*'), s.Length());
Again, thanks for an outstanding control!
Jere
-
- In need of some credit
- Posts: 2
- Joined: Sat Apr 29, 2006 3:18 pm
- Contact:
I should have tested that a little more before I posted it. Here is a working version:
Jere
Code: Select all
if ((curChild->GetClassName() == wxString("wxStringProperty")) && (curChild->m_flags & wxPG_PROP_PASSWORD))
s = wxString(wxChar('*'), s.Length());
Should be fixed now in the development snapshot.
http://personal.inet.fi/private/jmsalli ... src.tar.gz
http://personal.inet.fi/private/jmsalli ... ot-win.exe
Thanks,
Jaakko Salli
http://personal.inet.fi/private/jmsalli ... src.tar.gz
http://personal.inet.fi/private/jmsalli ... ot-win.exe
Thanks,
Jaakko Salli