Reconcile style accross all source files.

- All glabels code is in "glabels" top-level namespace.
- Other assorted cleanup.
This commit is contained in:
Jim Evins
2017-01-15 22:58:53 -05:00
parent 44aa31d074
commit b797d13e40
153 changed files with 17673 additions and 16841 deletions
+39 -33
View File
@@ -25,49 +25,55 @@
#include <QPainter>
#include <QPainterPath>
// Forward references
class LabelModelObject;
///
/// Outline Base Class
///
class Outline
namespace glabels
{
////////////////////////////
// Lifecycle Methods
////////////////////////////
public:
Outline( LabelModelObject* owner );
Outline( const Outline* outline, LabelModelObject* newOwner );
virtual ~Outline();
// Forward references
class LabelModelObject;
///
/// Outline Base Class
///
class Outline
{
////////////////////////////
// Lifecycle Methods
////////////////////////////
public:
Outline( LabelModelObject* owner );
Outline( const Outline* outline, LabelModelObject* newOwner );
virtual ~Outline();
////////////////////////////
// Duplication
////////////////////////////
Outline* clone( LabelModelObject* newOwner ) const;
////////////////////////////
// Duplication
////////////////////////////
Outline* clone( LabelModelObject* newOwner ) const;
////////////////////////////
// Drawing Methods
////////////////////////////
public:
void draw( QPainter* painter ) const;
QPainterPath hoverPath( double scale ) const;
////////////////////////////
// Drawing Methods
////////////////////////////
public:
void draw( QPainter* painter ) const;
QPainterPath hoverPath( double scale ) const;
////////////////////////////
// Private Data
////////////////////////////
private:
LabelModelObject* mOwner;
////////////////////////////
// Private Data
////////////////////////////
private:
LabelModelObject* mOwner;
QVector<qreal> mDashes;
QPen mPen1;
QPen mPen2;
QVector<qreal> mDashes;
QPen mPen1;
QPen mPen2;
};
};
}
#endif // Outline_h