Changeset View
Changeset View
Standalone View
Standalone View
palapeli-19.08.1/libpala/slicerproperty.h
| Context not available. | |||||
| 19 | #ifndef LIBPALA_SLICERPROPERTY_H | 19 | #ifndef LIBPALA_SLICERPROPERTY_H | ||
|---|---|---|---|---|---|
| 20 | #define LIBPALA_SLICERPROPERTY_H | 20 | #define LIBPALA_SLICERPROPERTY_H | ||
| 21 | 21 | | |||
| 22 | #if defined(MAKE_LIBPALA) || defined(USE_LOCAL_LIBPALA) | | |||
| 23 | # include "libpala_export.h" | | |||
| 24 | #else | | |||
| 25 | # include <libpala/libpala_export.h> | | |||
| 26 | #endif | | |||
| 27 | | ||||
| 28 | #include <QPair> | 22 | #include <QPair> | ||
| 29 | #include <QVariant> | 23 | #include <QVariant> | ||
| 30 | #include <QVariantList> | 24 | #include <QVariantList> | ||
| Context not available. | |||||
| 41 | * | 35 | * | ||
| 42 | * \sa Pala::Slicer::addProperty, Pala::AbstractSlicerPropertySet | 36 | * \sa Pala::Slicer::addProperty, Pala::AbstractSlicerPropertySet | ||
| 43 | */ | 37 | */ | ||
| 44 | class LIBPALA_EXPORT SlicerProperty | 38 | class SlicerProperty | ||
| 45 | { | 39 | { | ||
| 46 | protected: | 40 | protected: | ||
| 47 | explicit SlicerProperty(QVariant::Type type, const QString& caption); | 41 | explicit SlicerProperty(QVariant::Type type, const QString& caption); | ||
| Context not available. | |||||
| 90 | /** | 84 | /** | ||
| 91 | * \class BooleanProperty slicerproperty.h <Pala/SlicerProperty> | 85 | * \class BooleanProperty slicerproperty.h <Pala/SlicerProperty> | ||
| 92 | */ | 86 | */ | ||
| 93 | class LIBPALA_EXPORT BooleanProperty : public Pala::SlicerProperty | 87 | class BooleanProperty : public Pala::SlicerProperty | ||
| 94 | { | 88 | { | ||
| 95 | public: | 89 | public: | ||
| 96 | explicit BooleanProperty(const QString& caption); | 90 | explicit BooleanProperty(const QString& caption); | ||
| Context not available. | |||||
| 103 | /** | 97 | /** | ||
| 104 | * \class IntegerProperty slicerproperty.h <Pala/SlicerProperty> | 98 | * \class IntegerProperty slicerproperty.h <Pala/SlicerProperty> | ||
| 105 | */ | 99 | */ | ||
| 106 | class LIBPALA_EXPORT IntegerProperty : public Pala::SlicerProperty | 100 | class IntegerProperty : public Pala::SlicerProperty | ||
| 107 | { | 101 | { | ||
| 108 | public: | 102 | public: | ||
| 109 | ///Decides how the property is represented in the user interface of Palapeli. | 103 | ///Decides how the property is represented in the user interface of Palapeli. | ||
| Context not available. | |||||
| 129 | /** | 123 | /** | ||
| 130 | * \class StringProperty slicerproperty.h <Pala/SlicerProperty> | 124 | * \class StringProperty slicerproperty.h <Pala/SlicerProperty> | ||
| 131 | */ | 125 | */ | ||
| 132 | class LIBPALA_EXPORT StringProperty : public Pala::SlicerProperty | 126 | class StringProperty : public Pala::SlicerProperty | ||
| 133 | { | 127 | { | ||
| 134 | public: | 128 | public: | ||
| 135 | explicit StringProperty(const QString& caption); | 129 | explicit StringProperty(const QString& caption); | ||
| Context not available. | |||||