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
+42 -36
View File
@@ -26,52 +26,58 @@
#include "Units.h"
// Forward references
class LabelModel;
class UndoRedoModel;
namespace glabels
{
// Forward references
class LabelModel;
class UndoRedoModel;
///
/// Properties View Widget
///
class PropertiesView : public QWidget, public Ui_PropertiesView
{
Q_OBJECT
///
/// Properties View Widget
///
class PropertiesView : public QWidget, public Ui_PropertiesView
{
Q_OBJECT
/////////////////////////////////
// Life Cycle
/////////////////////////////////
public:
PropertiesView( QWidget *parent = 0 );
~PropertiesView();
/////////////////////////////////
// Life Cycle
/////////////////////////////////
public:
PropertiesView( QWidget *parent = 0 );
~PropertiesView();
/////////////////////////////////
// Public methods
/////////////////////////////////
void setModel( LabelModel* model, UndoRedoModel* undoRedoModel );
/////////////////////////////////
// Public methods
/////////////////////////////////
void setModel( LabelModel* model, UndoRedoModel* undoRedoModel );
/////////////////////////////////
// Slots
/////////////////////////////////
private slots:
void onSettingsChanged();
void onLabelSizeChanged();
void onOrientationActivated();
void onChangeProductButtonClicked();
/////////////////////////////////
// Slots
/////////////////////////////////
private slots:
void onSettingsChanged();
void onLabelSizeChanged();
void onOrientationActivated();
void onChangeProductButtonClicked();
/////////////////////////////////
// Private Data
/////////////////////////////////
private:
LabelModel* mModel;
UndoRedoModel* mUndoRedoModel;
glabels::Units mUnits;
int mOldOrientationIndex;
};
/////////////////////////////////
// Private Data
/////////////////////////////////
private:
LabelModel* mModel;
UndoRedoModel* mUndoRedoModel;
Units mUnits;
int mOldOrientationIndex;
};
}
#endif // PropertiesView_h