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

KDevelop Property Editing Library

  • PropertyLib
  • PropertyMachineFactory
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
PropertyLib::PropertyMachineFactory Class Reference

#include <propertymachinefactory.h>

Public Member Functions

void registerEditor (int type, createMachine creator)
 
Machine * machineForProperty (MultiProperty *property)
 
bool hasDetailedEditors (int type)
 

Static Public Member Functions

static PropertyMachineFactory * getInstance ()
 

Static Public Attributes

static PropertyMachineFactory * m_factory = 0
 

Detailed Description

Factory to create property editors and property viewers.

Definition at line 69 of file propertymachinefactory.h.

Member Function Documentation

◆ getInstance()

PropertyMachineFactory * PropertyLib::PropertyMachineFactory::getInstance ( )
static
Returns
a pointer to a property machine factory instance.

Definition at line 192 of file propertymachinefactory.cpp.

◆ machineForProperty()

Machine * PropertyLib::PropertyMachineFactory::machineForProperty ( MultiProperty *  property)

Creates and returns the editor for given property type.

Warning: editor and viewer widgets won't have parent widget. Property editor cares about reparenting and deletion of returned widgets in machines.

Definition at line 73 of file propertymachinefactory.cpp.

◆ registerEditor()

void PropertyLib::PropertyMachineFactory::registerEditor ( int  type,
createMachine  creator 
)

Registers property editor factory function for a type.

This factory functions are considered before defaults when machineForProperty is called.


The documentation for this class was generated from the following files:
  • propertymachinefactory.h
  • propertymachinefactory.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.