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
+41 -35
View File
@@ -27,53 +27,59 @@
#include "ui_PrintView.h"
#include "PageRenderer.h"
// Forward references
class LabelModel;
namespace glabels
{
// Forward references
class LabelModel;
///
/// Print View Widget
///
class PrintView : public QWidget, public Ui_PrintView
{
Q_OBJECT
///
/// Print View Widget
///
class PrintView : public QWidget, public Ui_PrintView
{
Q_OBJECT
/////////////////////////////////
// Life Cycle
/////////////////////////////////
public:
PrintView( QWidget *parent = 0 );
~PrintView();
/////////////////////////////////
// Life Cycle
/////////////////////////////////
public:
PrintView( QWidget *parent = 0 );
~PrintView();
/////////////////////////////////
// Public methods
/////////////////////////////////
void setModel( LabelModel* model );
/////////////////////////////////
// Public methods
/////////////////////////////////
void setModel( LabelModel* model );
/////////////////////////////////
// Slots
/////////////////////////////////
private slots:
void onModelChanged();
void updateView();
void onFormChanged();
void onPrintButtonClicked();
/////////////////////////////////
// Slots
/////////////////////////////////
private slots:
void onModelChanged();
void updateView();
void onFormChanged();
void onPrintButtonClicked();
/////////////////////////////////
// Private Data
/////////////////////////////////
private:
LabelModel* mModel;
QPrinter* mPrinter;
PageRenderer mRenderer;
/////////////////////////////////
// Private Data
/////////////////////////////////
private:
LabelModel* mModel;
QPrinter* mPrinter;
PageRenderer mRenderer;
bool mBlocked;
bool mBlocked;
};
};
}
#endif // PrintView_h