Initial non-functioning implementation of NewLabelDialog.

This commit is contained in:
Jim Evins
2013-11-11 23:48:45 -05:00
parent 773587b3e4
commit 7f3adc818b
7 changed files with 452 additions and 11 deletions
+3 -10
View File
@@ -27,11 +27,8 @@
#include <iostream>
#include "Icons.h"
#include "File.h"
#include "Help.h"
///// TEMPORARY TESTING /////
#include "TemplatePicker.h"
#include "libglabels/Db.h"
/////////////////////////////
namespace gLabels
{
@@ -39,12 +36,8 @@ namespace gLabels
MainWindow::MainWindow()
{
/////////////// TEMPORARY TESTING ///////////////
#if 0
#if 1
QLabel *tmp = new QLabel( "Coming Soon..." );
#else
TemplatePicker *tmp = new TemplatePicker();
QList<libglabels::Template*> tmplates = libglabels::Db::templates();
tmp->setTemplates( tmplates );
#endif
setCentralWidget( tmp );
/////////////////////////////////////////////////
@@ -645,7 +638,7 @@ namespace gLabels
void MainWindow::fileNew()
{
std::cout << "ACTION: file->New" << std::endl;
File::newLabel( this );
}