You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
745 B

#ifndef USIMAGE_H
#define USIMAGE_H
#endif //USIMAGE_H
#define US_IMAGE(NAME, \
IMAGE, \
IMAGE_X, \
IMAGE_Y, \
SCALE, \
SCALE_VALUES, \
MIRROR, \
FLIP, \
ACTIVE, \
SHOW_INDICATOR) \
US_PROPERTY_VIEW_ONLY(QString, NAME ## Source, IMAGE) \
US_PROPERTY_VIEW_ONLY(int, NAME ## X, IMAGE_X) \
US_PROPERTY_VIEW_ONLY(int, NAME ## Y, IMAGE_Y) \
US_PROPERTY(int, NAME ## Scale, SCALE) \
US_PROPERTY_VIEW_ONLY(QStringList, NAME ## ScaleValues, SCALE_VALUES) \
US_PROPERTY_VIEW_ONLY(bool, NAME ## Mirror, MIRROR) \
US_PROPERTY_VIEW_ONLY(bool, NAME ## Flip, FLIP) \
US_PROPERTY_VIEW_ONLY(bool, NAME ## Active, ACTIVE) \
US_PROPERTY_VIEW_ONLY(bool, NAME ## ShowIndicator, SHOW_INDICATOR) \