• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Property Editing Library
 

KDevelop Property Editing Library

  • PropertyLib
  • PropertyWidgetProxy
Public Member Functions | Protected Member Functions | List of all members
PropertyLib::PropertyWidgetProxy Class Reference

#include <propertywidgetproxy.h>

Inherits TQWidget.

Public Member Functions

 PropertyWidgetProxy (TQWidget *parent=0, const char *name=0)
 
void setPropertyType (int propertyType)
 
int propertyType () const
 
void setPropertyType2 (PropertyType propertyType)
 
PropertyType propertyType2 () const
 
TQVariant value () const
 
void setValue (const TQVariant &value)
 
bool setProperty (const char *name, const TQVariant &value)
 
TQVariant property (const char *name) const
 

Protected Member Functions

virtual void setWidget ()
 

Detailed Description

Property Widget Proxy.

It is sometimes useful to create single property editor widgets instead of having them all in the property editor. Proxy creates an empty widget and shows the property editor depending on the property type.

Definition at line 42 of file propertywidgetproxy.h.

Member Function Documentation

◆ setProperty()

bool PropertyLib::PropertyWidgetProxy::setProperty ( const char *  name,
const TQVariant &  value 
)

Sets the type of an editor basing on the value if the name is "value".

Otherwise works as TQWidget::setProperty.

Definition at line 82 of file propertywidgetproxy.cpp.

◆ setPropertyType()

void PropertyLib::PropertyWidgetProxy::setPropertyType ( int  propertyType)

Sets the type of a property editor to appear.

Definition at line 42 of file propertywidgetproxy.cpp.

◆ setPropertyType2()

void PropertyLib::PropertyWidgetProxy::setPropertyType2 ( PropertyType  propertyType)

Sets the type of a property editor to appear.

Definition at line 48 of file propertywidgetproxy.cpp.


The documentation for this class was generated from the following files:
  • propertywidgetproxy.h
  • propertywidgetproxy.cpp

KDevelop Property Editing Library

Skip menu "KDevelop Property Editing Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

KDevelop Property Editing Library

Skip menu "KDevelop Property Editing Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Property Editing Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.