• 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.

Constructor & Destructor Documentation

◆ PropertyWidgetProxy()

PropertyLib::PropertyWidgetProxy::PropertyWidgetProxy ( TQWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 29 of file propertywidgetproxy.cpp.

◆ ~PropertyWidgetProxy()

PropertyLib::PropertyWidgetProxy::~PropertyWidgetProxy ( )

Definition at line 36 of file propertywidgetproxy.cpp.

Member Function Documentation

◆ property()

TQVariant PropertyLib::PropertyWidgetProxy::property ( const char *  name) const

Definition at line 94 of file propertywidgetproxy.cpp.

◆ propertyType()

int PropertyLib::PropertyWidgetProxy::propertyType ( ) const
inline

Definition at line 54 of file propertywidgetproxy.h.

◆ propertyType2()

PropertyType PropertyLib::PropertyWidgetProxy::propertyType2 ( ) const
inline

Definition at line 57 of file propertywidgetproxy.h.

◆ 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.

◆ setValue()

void PropertyLib::PropertyWidgetProxy::setValue ( const TQVariant &  value)

Definition at line 76 of file propertywidgetproxy.cpp.

◆ setWidget()

void PropertyLib::PropertyWidgetProxy::setWidget ( )
protectedvirtual

Definition at line 54 of file propertywidgetproxy.cpp.

◆ value()

TQVariant PropertyLib::PropertyWidgetProxy::value ( ) const

Definition at line 68 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.9.8
This website is maintained by Timothy Pearson.