MIRA
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
PropertyEditor::SupportedType Struct Reference

#include <widgets/PropertyEditor.h>

Public Types

enum  Flags {
  TEXT = 0x01, ICON = 0x02, COLOR = 0x04, EDITOR = 0x08,
  DIALOG = 0x10, NAME = 0x20
}
 

Public Member Functions

 MIRA_ENUM_TO_FLAGS_INCLASS (Flags)
 
 SupportedType (const Typename &iType, Flags iFlags)
 
 operator SupportedTypes ()
 

Public Attributes

Typename type
 
Flags flags
 

Friends

SupportedTypes operator+ (SupportedTypes list, const SupportedType &type)
 

Member Enumeration Documentation

◆ Flags

enum Flags
Enumerator
TEXT 

set if the Delegate provides at least a text for a label

ICON 

set if the Delegate provides an icon

COLOR 

set if the Delegate provides an background color

EDITOR 

set if the Delegate can provide an editor for the data

DIALOG 

set if the Delegate can provide a dialog for editing the data

NAME 

set if the Delegate provides a (dynamic) name

Constructor & Destructor Documentation

◆ SupportedType()

SupportedType ( const Typename iType,
Flags  iFlags 
)
inline

Member Function Documentation

◆ MIRA_ENUM_TO_FLAGS_INCLASS()

MIRA_ENUM_TO_FLAGS_INCLASS ( Flags  )

◆ operator SupportedTypes()

operator SupportedTypes ( )
inline

Friends And Related Function Documentation

◆ operator+

SupportedTypes operator+ ( SupportedTypes  list,
const SupportedType type 
)
friend

Member Data Documentation

◆ type

Typename type

◆ flags

Flags flags

The documentation for this struct was generated from the following file: