20 #include <tqapplication.h> 28 int main(
int argc,
char **argv )
30 TQApplication app( argc, argv );
38 "Sample description",
"value" ) );
41 "Sample color description", TQt::red ) );
44 "sample pixmap description" ) );
47 "sample rectangle", TQRect( 10, 11, 30, 40 ) ) );
50 "sample point", TQPoint( 20, 30 ) ) );
53 "sample bool",
false ) );
56 "sample integer", 7 ) );
60 "sample double", 7.0 ) );
68 "sample stringlist", things ) );
73 "sample dir",
"C:/" ) );
77 "sample file",
"C:/" ) );
81 app.setMainWidget( editor );
virtual void addProperty(Property *property)
Adds the property to the list to the "common" group.
Namespace which contain property editing classes.
Contains PropertyLib::MultiProperty class.
Contains PropertyLib::PropertyList class.
void populateProperties(PropertyList *list)
Shows properties from a list.
Contains PropertyLib::PropertyEditor class.
rectangle (x,y, width, height)