QT Project configured and compiling.
Still doesn't do much, that will come in the following months.
|
@ -1,25 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<root>
|
|
||||||
<groups>
|
|
||||||
<group name="Testing 123">
|
|
||||||
<directories>
|
|
||||||
<directory path="C:\" />
|
|
||||||
</directories>
|
|
||||||
<extensions value="*.txt" />
|
|
||||||
<script path="..\scripts\sample.py" />
|
|
||||||
<delay value="5s" />
|
|
||||||
<relativeScriptPath />
|
|
||||||
</group>
|
|
||||||
</groups>
|
|
||||||
<preferences>
|
|
||||||
<editor>
|
|
||||||
<defaults>
|
|
||||||
<default name="System Default" />
|
|
||||||
<default name="Sublime Text 2" />
|
|
||||||
<default name="Notepad++" />
|
|
||||||
<default name="NotePad" />
|
|
||||||
</defaults>
|
|
||||||
<programs />
|
|
||||||
</editor>
|
|
||||||
</preferences>
|
|
||||||
</root>
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
[Bb]in/
|
||||||
|
|
||||||
|
# C++ objects and libs
|
||||||
|
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
*.lai
|
||||||
|
*.so
|
||||||
|
*.dll
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Qt-es
|
||||||
|
|
||||||
|
*.pro.user
|
||||||
|
*.pro.user.*
|
||||||
|
moc_*.cpp
|
||||||
|
qrc_*.cpp
|
||||||
|
ui_*.h
|
||||||
|
Makefile*
|
||||||
|
*-build-*
|
||||||
|
|
||||||
|
# QtCreator
|
||||||
|
|
||||||
|
*.autosave
|
|
@ -1,53 +0,0 @@
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
|
||||||
## files generated by popular Visual Studio add-ons.
|
|
||||||
# https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
|
||||||
|
|
||||||
# User-specific files
|
|
||||||
*.suo
|
|
||||||
*.user
|
|
||||||
*.sln.docstates
|
|
||||||
|
|
||||||
# Build results
|
|
||||||
[Dd]ebug/
|
|
||||||
[Rr]elease/
|
|
||||||
x64/
|
|
||||||
[Bb]in/
|
|
||||||
[Oo]bj/
|
|
||||||
|
|
||||||
# Visual C++ cache files
|
|
||||||
ipch/
|
|
||||||
*.aps
|
|
||||||
*.ncb
|
|
||||||
*.opensdf
|
|
||||||
*.sdf
|
|
||||||
*.cachefile
|
|
||||||
|
|
||||||
# Visual Studio profiler
|
|
||||||
*.psess
|
|
||||||
*.vsp
|
|
||||||
*.vspx
|
|
||||||
|
|
||||||
# NuGet Packages Directory
|
|
||||||
packages/
|
|
||||||
|
|
||||||
|
|
||||||
# Backup & report files from converting an old project file to a newer
|
|
||||||
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
|
||||||
_UpgradeReport_Files/
|
|
||||||
Backup*/
|
|
||||||
UpgradeLog*.XML
|
|
||||||
UpgradeLog*.htm
|
|
||||||
|
|
||||||
# =========================
|
|
||||||
# Windows detritus
|
|
||||||
# =========================
|
|
||||||
|
|
||||||
# Windows image file caches
|
|
||||||
Thumbs.db
|
|
||||||
ehthumbs.db
|
|
||||||
|
|
||||||
# Folder config file
|
|
||||||
Desktop.ini
|
|
||||||
|
|
||||||
# Recycle Bin used on file shares
|
|
||||||
$RECYCLE.BIN/
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
#-------------------------------------------------
|
||||||
|
#
|
||||||
|
# Project created by QtCreator 2013-12-22T20:34:26
|
||||||
|
#
|
||||||
|
#-------------------------------------------------
|
||||||
|
|
||||||
|
QT += core gui
|
||||||
|
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
|
TARGET = FileWatcher
|
||||||
|
TEMPLATE = app
|
||||||
|
|
||||||
|
SOURCES += ../src/main.cpp \
|
||||||
|
../src/mainwindow.cpp
|
||||||
|
|
||||||
|
HEADERS += ../src/mainwindow.h
|
||||||
|
|
||||||
|
FORMS += ../src/mainwindow.ui
|
||||||
|
|
||||||
|
OTHER_FILES += \
|
||||||
|
res/arrow_fat_down.gif \
|
||||||
|
res/arrow_fat_up.gif \
|
||||||
|
res/arrow_mini_down.gif \
|
||||||
|
res/arrow_mini_up.gif \
|
||||||
|
res/block.gif \
|
||||||
|
res/cross.gif \
|
||||||
|
res/drop_box.gif \
|
||||||
|
res/folder.gif \
|
||||||
|
res/plus.gif \
|
||||||
|
res/save.gif \
|
||||||
|
res/script.gif \
|
||||||
|
res/trash.gif \
|
||||||
|
res/warning.gif \
|
||||||
|
res/play.png \
|
||||||
|
res/settings.png \
|
||||||
|
res/stock_3d-texture-and-shading_16x16.png \
|
||||||
|
res/stock_3d-texture-and-shading_32x32.png \
|
||||||
|
res/stock_3d-texture-and-shading_48x48.png \
|
||||||
|
res/stock_3d-texture-and-shading_128x128.png \
|
||||||
|
res/stock_3d-texture-and-shading_256x256.png \
|
||||||
|
res/stock_3d-texture-spherical_16x16.png \
|
||||||
|
res/stock_3d-texture-spherical_32x32.png \
|
||||||
|
res/stock_3d-texture-spherical_48x48.png \
|
||||||
|
res/stock_3d-texture-spherical_128x128.png \
|
||||||
|
res/stock_3d-texture-spherical_256x256.png \
|
||||||
|
res/stop.png \
|
||||||
|
res/stock_3d-texture-and-shading_16x16.ico \
|
||||||
|
res/stock_3d-texture-and-shading_32x32.ico \
|
||||||
|
res/stock_3d-texture-and-shading_128x128.ico \
|
||||||
|
res/stock_3d-texture-and-shading_256x256.ico \
|
||||||
|
res/stock_3d-texture-spherical_16x16.ico \
|
||||||
|
res/stock_3d-texture-spherical_32x32.ico \
|
||||||
|
res/stock_3d-texture-spherical_128x128.ico \
|
||||||
|
res/stock_3d-texture-spherical_256x256.ico
|
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 90 B |
After Width: | Height: | Size: 79 B |
After Width: | Height: | Size: 79 B |
After Width: | Height: | Size: 96 B |
After Width: | Height: | Size: 90 B |
After Width: | Height: | Size: 100 B |
After Width: | Height: | Size: 90 B |
After Width: | Height: | Size: 958 B |
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 124 B |
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 454 B |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 901 B |
After Width: | Height: | Size: 264 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 901 B |
After Width: | Height: | Size: 264 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 96 B |
After Width: | Height: | Size: 91 B |
|
@ -0,0 +1,11 @@
|
||||||
|
#include "mainwindow.h"
|
||||||
|
#include <QApplication>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
QApplication a(argc, argv);
|
||||||
|
MainWindow w;
|
||||||
|
w.show();
|
||||||
|
|
||||||
|
return a.exec();
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
#include "mainwindow.h"
|
||||||
|
#include "ui_mainwindow.h"
|
||||||
|
|
||||||
|
MainWindow::MainWindow(QWidget *parent) :
|
||||||
|
QMainWindow(parent),
|
||||||
|
ui(new Ui::MainWindow)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
#ifndef MAINWINDOW_H
|
||||||
|
#define MAINWINDOW_H
|
||||||
|
|
||||||
|
#include <QMainWindow>
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class MainWindow;
|
||||||
|
}
|
||||||
|
|
||||||
|
class MainWindow : public QMainWindow
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit MainWindow(QWidget *parent = 0);
|
||||||
|
~MainWindow();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::MainWindow *ui;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // MAINWINDOW_H
|
|
@ -0,0 +1,106 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>MainWindow</class>
|
||||||
|
<widget class="QMainWindow" name="MainWindow">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>300</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>MainWindow</string>
|
||||||
|
</property>
|
||||||
|
<property name="windowIcon">
|
||||||
|
<iconset>
|
||||||
|
<normaloff>../build/res/stock_3d-texture-and-shading_32x32.ico</normaloff>../build/res/stock_3d-texture-and-shading_32x32.ico</iconset>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="centralWidget"/>
|
||||||
|
<widget class="QMenuBar" name="menuBar">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<widget class="QMenu" name="menuFile">
|
||||||
|
<property name="title">
|
||||||
|
<string>File</string>
|
||||||
|
</property>
|
||||||
|
<addaction name="actionSave"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
|
<addaction name="actionPreferences"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
|
<addaction name="actionHide"/>
|
||||||
|
<addaction name="actionExit"/>
|
||||||
|
</widget>
|
||||||
|
<widget class="QMenu" name="menuHelp">
|
||||||
|
<property name="title">
|
||||||
|
<string>Help</string>
|
||||||
|
</property>
|
||||||
|
<addaction name="actionAbout"/>
|
||||||
|
</widget>
|
||||||
|
<addaction name="menuFile"/>
|
||||||
|
<addaction name="menuHelp"/>
|
||||||
|
</widget>
|
||||||
|
<widget class="QToolBar" name="mainToolBar">
|
||||||
|
<attribute name="toolBarArea">
|
||||||
|
<enum>TopToolBarArea</enum>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="toolBarBreak">
|
||||||
|
<bool>false</bool>
|
||||||
|
</attribute>
|
||||||
|
</widget>
|
||||||
|
<widget class="QStatusBar" name="statusBar"/>
|
||||||
|
<action name="actionAbout">
|
||||||
|
<property name="text">
|
||||||
|
<string>About</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
<action name="actionSave">
|
||||||
|
<property name="text">
|
||||||
|
<string>Save</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+S</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcutContext">
|
||||||
|
<enum>Qt::ApplicationShortcut</enum>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
<action name="actionPreferences">
|
||||||
|
<property name="text">
|
||||||
|
<string>Preferences</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
<action name="actionHide">
|
||||||
|
<property name="text">
|
||||||
|
<string>Hide</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+H</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcutContext">
|
||||||
|
<enum>Qt::ApplicationShortcut</enum>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
<action name="actionExit">
|
||||||
|
<property name="text">
|
||||||
|
<string>Exit</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+X</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcutContext">
|
||||||
|
<enum>Qt::ApplicationShortcut</enum>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
</widget>
|
||||||
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|