diff options
author | Nao Pross <naopross@thearcway.org> | 2017-12-18 23:01:33 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-12-18 23:01:33 +0100 |
commit | 62bd9aa4da85ef87c4d9a9bb7911f8a4e0ac9986 (patch) | |
tree | b7187831bb1908ad2d34eadf831bf63bfd3343b1 /src/ui/Window.cpp | |
parent | Add mainwindow.ui (diff) | |
download | OrbitingYeti-62bd9aa4da85ef87c4d9a9bb7911f8a4e0ac9986.tar.gz OrbitingYeti-62bd9aa4da85ef87c4d9a9bb7911f8a4e0ac9986.zip |
Moved to QtCreator project with QMake
Diffstat (limited to '')
-rw-r--r-- | src/ui/Window.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/ui/Window.cpp b/src/ui/Window.cpp deleted file mode 100644 index 7f28ffe..0000000 --- a/src/ui/Window.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Window.cpp - * - * Created on: Nov 26, 2017 - * Author: naopross - */ - -#include "Window.hpp" - -#include <QVBoxLayout> -#include <QHBoxLayout> -#include <QApplication> - - -using namespace samb; - -Window::Window(QWidget *parent): QWidget(parent) { - setWindowTitle("OrbitingYeti"); - - QVBoxLayout *vBox = new QVBoxLayout(this); - QHBoxLayout *hBox = new QHBoxLayout(); - - m_quitBtn = new QPushButton("Quit", this); - connect(m_quitBtn, SIGNAL(clicked()), qApp, SLOT(quit())); - - hBox->addWidget(m_quitBtn, 0, Qt::AlignRight); - vBox->addStretch(1); - vBox->addLayout(hBox); -} - -Window::~Window() { - -} |