PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/vprinter/template_editor/src/mainwindow.cpp

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