Style reconciliation.

This commit is contained in:
Jim Evins
2013-12-28 11:32:28 -05:00
parent f1de981804
commit a46bc43a4d
33 changed files with 1525 additions and 289 deletions
+24 -2
View File
@@ -32,16 +32,32 @@
namespace glabels
{
///
/// Simple Preview Widget
///
class SimplePreview : public QGraphicsView
{
Q_OBJECT
/////////////////////////////////
// Life Cycle
/////////////////////////////////
public:
SimplePreview( QWidget *parent );
/////////////////////////////////
// Properties
/////////////////////////////////
public:
void setTemplate( const libglabels::Template *tmplate );
void setRotate( bool rotateFlag );
/////////////////////////////////
// Internal Methods
/////////////////////////////////
private:
void update();
void clearScene();
@@ -50,11 +66,17 @@ namespace glabels
void drawLabel( double x, double y, const QPainterPath &path );
void drawArrow();
QGraphicsScene *mScene;
double mScale;
/////////////////////////////////
// Private Data
/////////////////////////////////
private:
const libglabels::Template *mTmplate;
bool mRotateFlag;
QGraphicsScene *mScene;
double mScale;
};
}