From 536ff95bed610a6397c700888d6bc218ec46c1a0 Mon Sep 17 00:00:00 2001 From: nin0 Date: Wed, 14 Aug 2024 13:41:19 -0400 Subject: [PATCH] dieeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee :rocketcrash: revert Initial commit --- .gitignore | 74 -------------------------------------------------- main.cpp | 18 ------------ mainwindow.cpp | 16 ----------- mainwindow.h | 23 ---------------- txtcord.pro | 24 ---------------- 5 files changed, 155 deletions(-) delete mode 100644 .gitignore delete mode 100644 main.cpp delete mode 100644 mainwindow.cpp delete mode 100644 mainwindow.h delete mode 100644 txtcord.pro diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4a0b530..0000000 --- a/.gitignore +++ /dev/null @@ -1,74 +0,0 @@ -# This file is used to ignore files which are generated -# ---------------------------------------------------------------------------- - -*~ -*.autosave -*.a -*.core -*.moc -*.o -*.obj -*.orig -*.rej -*.so -*.so.* -*_pch.h.cpp -*_resource.rc -*.qm -.#* -*.*# -core -!core/ -tags -.DS_Store -.directory -*.debug -Makefile* -*.prl -*.app -moc_*.cpp -ui_*.h -qrc_*.cpp -Thumbs.db -*.res -*.rc -/.qmake.cache -/.qmake.stash - -# qtcreator generated files -*.pro.user* -CMakeLists.txt.user* - -# xemacs temporary files -*.flc - -# Vim temporary files -.*.swp - -# Visual Studio generated files -*.ib_pdb_index -*.idb -*.ilk -*.pdb -*.sln -*.suo -*.vcproj -*vcproj.*.*.user -*.ncb -*.sdf -*.opensdf -*.vcxproj -*vcxproj.* - -# MinGW generated files -*.Debug -*.Release - -# Python byte code -*.pyc - -# Binaries -# -------- -*.dll -*.exe - diff --git a/main.cpp b/main.cpp deleted file mode 100644 index b601322..0000000 --- a/main.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "mainwindow.h" - -#include -#include -#include -#include - -int main(int argc, char *argv[]) -{ - QApplication a(argc, argv); - - MainWindow w; - w.setWindowTitle("txtcord"); - w.setFixedSize(640, 480); - - w.show(); - return a.exec(); -} diff --git a/mainwindow.cpp b/mainwindow.cpp deleted file mode 100644 index 72b0927..0000000 --- a/mainwindow.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "mainwindow.h" - -#include -#include - -MainWindow::MainWindow(QWidget *parent) - : QMainWindow(parent) -{ - QWidget *centralWidget = new QWidget(this); - m_layout = new QVBoxLayout(centralWidget); - setCentralWidget(centralWidget); -} - -MainWindow::~MainWindow() { - -} diff --git a/mainwindow.h b/mainwindow.h deleted file mode 100644 index aabeedc..0000000 --- a/mainwindow.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include -#include -#include -#include -#include - -class MainWindow : public QMainWindow -{ - Q_OBJECT - -public: - MainWindow(QWidget *parent = nullptr); - ~MainWindow(); -private: - QVBoxLayout *m_layout; - QPushButton *m_button; - QProgressBar *m_bar; - QSlider *m_slider; -}; -#endif // MAINWINDOW_H diff --git a/txtcord.pro b/txtcord.pro deleted file mode 100644 index 28deb30..0000000 --- a/txtcord.pro +++ /dev/null @@ -1,24 +0,0 @@ -QT += core gui - -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets - -CONFIG += c++17 - -# You can make your code fail to compile if it uses deprecated APIs. -# In order to do so, uncomment the following line. -#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 - -SOURCES += \ - main.cpp \ - mainwindow.cpp - -HEADERS += \ - mainwindow.h - -TRANSLATIONS += -CONFIG += lrelease - -# Default rules for deployment. -qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin -!isEmpty(target.path): INSTALLS += target