Reconcile style accross all source files.
- All glabels code is in "glabels" top-level namespace. - Other assorted cleanup.
This commit is contained in:
+31
-26
@@ -27,32 +27,37 @@
|
||||
#include "MainWindow.h"
|
||||
|
||||
|
||||
///
|
||||
/// Constructor
|
||||
///
|
||||
StartupView::StartupView( MainWindow* window )
|
||||
: QWidget(window), mWindow(window)
|
||||
namespace glabels
|
||||
{
|
||||
setupUi( this );
|
||||
|
||||
QString titleImage = ":images/glabels-label-designer.png";
|
||||
titleLabel->setPixmap( QPixmap( titleImage ) );
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// "New Project" Button Clicked Slot
|
||||
///
|
||||
void StartupView::onNewProjectButtonClicked()
|
||||
{
|
||||
File::newLabel( mWindow );
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// "Open Project" Button Clicked Slot
|
||||
///
|
||||
void StartupView::onOpenProjectButtonClicked()
|
||||
{
|
||||
File::open( mWindow );
|
||||
///
|
||||
/// Constructor
|
||||
///
|
||||
StartupView::StartupView( MainWindow* window )
|
||||
: QWidget(window), mWindow(window)
|
||||
{
|
||||
setupUi( this );
|
||||
|
||||
QString titleImage = ":images/glabels-label-designer.png";
|
||||
titleLabel->setPixmap( QPixmap( titleImage ) );
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// "New Project" Button Clicked Slot
|
||||
///
|
||||
void StartupView::onNewProjectButtonClicked()
|
||||
{
|
||||
File::newLabel( mWindow );
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
/// "Open Project" Button Clicked Slot
|
||||
///
|
||||
void StartupView::onOpenProjectButtonClicked()
|
||||
{
|
||||
File::open( mWindow );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user