QPropertyEditor
Qt Widgets
Score 76%
Description:

This small library is used to be a lightweight method to allow the graphical editing of properties defined via the Q_PROPERTY macro. It can be easily extended for custom datatypes.

In the zip archiv a Sample Application is included that contains a custom property for a vector with three floating point values.

Feedback is welcome!
Last changelog:

10 years ago

v 0.1. support for basic datatypes
v 0.2. support for dynamic properties (that don't start with a '_')
v 0.3 support for enums (thanks to banal from qt-apps.org for this enhancement)

banal

9 years ago

Your newly uploaded Version fixes the Problem. Thanks a lot for sharing this awesome piece of software!

Report

lfreak

9 years ago

Hi Volki,

greate work, but i need a simple example. You example in the source directory is to big for everyone :) or for me.

And how i use this QPropertyEditor in the Qt4 Designer? I mean how i add this in my QWidget, QDialog, QMainWindow ....?

Best regards/kinds
lfreak

Report

C

Volki

9 years ago

You can add a QTreeView in the Designer and replace it with a custom class. In this case you have to specify QPropertyEditorWidget as the new class derived from QTreeView.

I think the Sample Application is quite simple. You should be able to find out how to integrate the library into your own project from it.

Report

lfreak

9 years ago

thanks in advance. I looked at your example and i have understand it.

Now my next question is, can i add a custom property such as QFile? I mean can i add property to select a file with QFileDialog and set this to QLineEdit?

Report

C

Volki

9 years ago

Should be no problem. Do you have a concrete question? Did you check the Vec3f custom property?

Report

lfreak

9 years ago

Yes i have checked the Vec3f custom property. Ok i found the function createEditor(); in Property.h.
My question is now answered. :)

Thanks in adavance for this greate widget library.


best regards
lfreak

Report

dostowalla

8 years ago

Hello forum,

i want to discuss some issues related to custom widgets using Qt designer that you have used.


when a widget is not there we have to create
the widget class a subclass of the nearest
parent class available. And that parent class work
as a placeholder for the customized one.


What if we have a customized widget that is the child of Qtreeview
and we want that customized widget to be contained inside dock widget.
And how to do that from within Qt Designer using the promotion?


You have done the very same thing in the widget which i cannot find

Any hint would be great help!!!

Thanks
Sajjad

Report

10 years ago

v 0.1. support for basic datatypes
v 0.2. support for dynamic properties (that don't start with a '_')
v 0.3 support for enums (thanks to banal from qt-apps.org for this enhancement)

product-maker higggs Jul 27 2015

product-maker 7 34

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.3
updated Sep 28 2008
added Oct 30 2007
downloads today
0
page views today 1