Commit fc2ccabf378bbfdd6aaf1774677018dbd3f6abc2

Authored by Keyur Patel
1 parent 89dd55fc

Updated ExpandRect so Propname is the last parameter now

openbr/plugins/metadata/expandrect.cpp
@@ -28,12 +28,12 @@ namespace br @@ -28,12 +28,12 @@ namespace br
28 class ExpandRectTransform : public UntrainableTransform 28 class ExpandRectTransform : public UntrainableTransform
29 { 29 {
30 Q_OBJECT 30 Q_OBJECT
31 - Q_PROPERTY(QString propName READ get_propName WRITE set_propName RESET reset_propName STORED false)  
32 Q_PROPERTY(float widthExpand READ get_widthExpand WRITE set_widthExpand RESET reset_widthExpand STORED false) 31 Q_PROPERTY(float widthExpand READ get_widthExpand WRITE set_widthExpand RESET reset_widthExpand STORED false)
33 Q_PROPERTY(float heightExpand READ get_heightExpand WRITE set_heightExpand RESET reset_heightExpand STORED false) 32 Q_PROPERTY(float heightExpand READ get_heightExpand WRITE set_heightExpand RESET reset_heightExpand STORED false)
34 - BR_PROPERTY(QString, propName, "") 33 + Q_PROPERTY(QString propName READ get_propName WRITE set_propName RESET reset_propName STORED false)
35 BR_PROPERTY(float, widthExpand, .5) 34 BR_PROPERTY(float, widthExpand, .5)
36 BR_PROPERTY(float, heightExpand, .5) 35 BR_PROPERTY(float, heightExpand, .5)
  36 + BR_PROPERTY(QString, propName, "")
37 37
38 void project(const Template &src, Template &dst) const 38 void project(const Template &src, Template &dst) const
39 { 39 {