wxPropertyGrid

Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.
Post Reply
jms
Experienced Solver
Experienced Solver
Posts: 54
Joined: Wed Sep 29, 2004 6:37 am
Location: Finland

wxPropertyGrid

Post by jms »

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.
Last edited by jms on Sun Jan 21, 2007 12:08 pm, edited 38 times in total.
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

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
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
eros
I live to help wx-kind
I live to help wx-kind
Posts: 162
Joined: Mon Sep 06, 2004 1:40 am
Location: Argentina

Post by eros »

Great!

Keep up the good work. :D
...
User avatar
tierra
Site Admin
Site Admin
Posts: 1355
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Post by tierra »

Excellent work!
jms
Experienced Solver
Experienced Solver
Posts: 54
Joined: Wed Sep 29, 2004 6:37 am
Location: Finland

Post by jms »

This really looks awesome
Thanks, but the colours and layout are pretty much 1:1 copy of .NET propertygrid :)
It so happens that the guys from CMake need something like that to recreate the CMakeSetup for MSW
Well, it sure would be great if they'd give wxPropertyGrid a try!
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

Thanks, but the colours and layout are pretty much 1:1 copy of .NET propertygrid
So what ? It looks great! I modelled wxTreeMultiCtrl after the property tree control after the thunderbird / mozilla property sheet ..
Well, it sure would be great if they'd give wxPropertyGrid a try!
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!

- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
User avatar
tierra
Site Admin
Site Admin
Posts: 1355
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Post by tierra »

Jorg wrote:So what ? It looks great! I modelled wxTreeMultiCtrl after the property tree control after the thunderbird / mozilla property sheet ..
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... =)
jms
Experienced Solver
Experienced Solver
Posts: 54
Joined: Wed Sep 29, 2004 6:37 am
Location: Finland

Post by jms »

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!
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

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
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
jms
Experienced Solver
Experienced Solver
Posts: 54
Joined: Wed Sep 29, 2004 6:37 am
Location: Finland

Post by jms »

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).
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

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
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
jms
Experienced Solver
Experienced Solver
Posts: 54
Joined: Wed Sep 29, 2004 6:37 am
Location: Finland

Post by jms »

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...
Jere_Jones
In need of some credit
In need of some credit
Posts: 2
Joined: Sat Apr 29, 2006 3:18 pm
Contact:

Post by Jere_Jones »

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:

Code: Select all

if (curChild->m_flags & wxPG_STRING_PASSWORD)
	s = wxString(wxChar('*'), s.Length());
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
Jere_Jones
In need of some credit
In need of some credit
Posts: 2
Joined: Sat Apr 29, 2006 3:18 pm
Contact:

Post by Jere_Jones »

I should have tested that a little more before I posted it. Here is a working version:

Code: Select all

if ((curChild->GetClassName() == wxString("wxStringProperty")) && (curChild->m_flags & wxPG_PROP_PASSWORD))
	s = wxString(wxChar('*'), s.Length());
Jere
jms
Experienced Solver
Experienced Solver
Posts: 54
Joined: Wed Sep 29, 2004 6:37 am
Location: Finland

Post by jms »

Post Reply