PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/TempatesEditor/trunk/src/mainwindow.cpp

http://cupsfilter.googlecode.com/
C++ | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | 1c1f599a7c99791b7624e772347021da MD5 | raw file
 1#include "mainwindow.h"
 2#include "ui_mainwindow.h"
 3#include "View.h"
 4
 5MainWindow::MainWindow(QWidget *parent)
 6    : QMainWindow(parent), ui(new Ui::MainWindow)
 7{
 8    ui->setupUi(this);
 9
10    View *view = new View();
11    view->setTemplatesList(QStringList() << QObject::trUtf8("???. ????????? ??????"));
12    setCentralWidget(view);
13    this->resize(800,600);
14}
15
16MainWindow::~MainWindow()
17{
18    delete ui;
19}
20