Skip to content

Commit

Permalink
do something change
Browse files Browse the repository at this point in the history
  • Loading branch information
snakegtx901 authored and Jim Stark committed Dec 19, 2013
1 parent 78000c3 commit 744e9fd
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 0 deletions.
22 changes: 22 additions & 0 deletions OldTV.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#-------------------------------------------------
#
# Project created by QtCreator 2013-12-19T23:54:36
#
#First Do
#
#-------------------------------------------------

QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = OldTV
TEMPLATE = app


SOURCES += main.cpp\
oldtv.cpp

HEADERS += oldtv.h

FORMS += oldtv.ui
11 changes: 11 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <QApplication>
#include "oldtv.h"

int main(int argc, char *argv[])
{
QApplication a(argc, argv);
oldtv w;
w.show();

return a.exec();
}
14 changes: 14 additions & 0 deletions oldtv.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include "oldtv.h"
#include "ui_oldtv.h"

oldtv::oldtv(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::oldtv)
{
ui->setupUi(this);
}

oldtv::~oldtv()
{
delete ui;
}
22 changes: 22 additions & 0 deletions oldtv.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#ifndef OLDTV_H
#define OLDTV_H

#include <QMainWindow>

namespace Ui {
class oldtv;
}

class oldtv : public QMainWindow
{
Q_OBJECT

public:
explicit oldtv(QWidget *parent = 0);
~oldtv();

private:
Ui::oldtv *ui;
};

#endif // OLDTV_H
24 changes: 24 additions & 0 deletions oldtv.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<ui version="4.0">
<class>oldtv</class>
<widget class="QMainWindow" name="oldtv" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle" >
<string>oldtv</string>
</property>
<widget class="QMenuBar" name="menuBar" />
<widget class="QToolBar" name="mainToolBar" />
<widget class="QWidget" name="centralWidget" />
<widget class="QStatusBar" name="statusBar" />
</widget>
<layoutDefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction>
<resources/>
<connections/>
</ui>

0 comments on commit 744e9fd

Please sign in to comment.