Some cleanup/restructuring of Frame and its subclasses.

This commit is contained in:
Jim Evins
2013-10-31 18:59:23 -04:00
parent a11b498e9a
commit be55bebc50
10 changed files with 99 additions and 146 deletions
+4 -2
View File
@@ -40,16 +40,18 @@ namespace libglabels
inline double r() const { return mR; }
inline double waste() const { return mWaste; }
double w() const { return 2*mR; }
double h() const { return 2*mR; }
void getSize( double *w, double *h ) const;
const QString &sizeDescription( Units *units );
bool isSimilar( Frame *b ) const;
QString &getSizeDescription( Units *units ) const;
private:
double mR;
double mWaste;
QString mSizeDescription;
};
}