OpenLexocad  27.0
PropertyBoolDescriptor.h
Go to the documentation of this file.
1 #pragma once
3 
4 
5 namespace Core
6 {
7 /* @brief Saves and restores the characteristics of a PropertyBool
8  */
10 {
13 public:
14  friend class PropertyBoolDescriptor_Factory;
15 
16  enum class Style
17  {
18  DEFAULT = 0,
19  LOCKBUTTON = 1,
20  // CHECKBOX = 2,
21  };
22 
24  virtual ~PropertyBoolDescriptor();
25 
26  Type getType() const override;
27  Style getStyle() const;
28  void setStyle(PropertyBoolDescriptor::Style aStyle);
29 
30 private:
31  PropertyInteger style;
32 };
33 
34 DECLARE_OBJECT_FACTORY_NOIFC(PropertyBoolDescriptor_Factory, PropertyBoolDescriptor);
35 } // namespace Core
#define CORE_EXPORT
Definition: core_defines2.h:10
Definition: PropertyInteger.h:10
Definition: Base.h:19
DECLARE_OBJECT_FACTORY_NOIFC(PropertyBoolDescriptor_Factory, PropertyBoolDescriptor)
Definition: PropertyDescriptor.h:16
Style
Definition: PropertyBoolDescriptor.h:16
LX_NODE_HEADER()
Definition: PropertyBoolDescriptor.h:9
TYPESYSTEM_HEADER()