Skip to content

Commit

Permalink
v0.2. reimplement by qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
fralonra committed Jul 21, 2017
1 parent 54f287e commit b19893b
Show file tree
Hide file tree
Showing 22 changed files with 733 additions and 340 deletions.
115 changes: 36 additions & 79 deletions .gitignore
@@ -1,89 +1,46 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
# C++ objects and libs

*.slo
*.lo
*.o
*.a
*.la
*.lai
*.so
*.dll
*.dylib

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
# Qt-es

# PyBuilder
target/
object_script.*.Release
object_script.*.Debug
*_plugin_import.cpp
/.qmake.cache
/.qmake.stash
*.pro.user
*.pro.user.*
*.qbs.user
*.qbs.user.*
*.moc
moc_*.cpp
moc_*.h
qrc_*.cpp
ui_*.h
Makefile*
*build-*

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version
# Qt unit tests
target_wrapper.*

# celery beat schedule file
celerybeat-schedule

# dotenv
.env
# QtCreator

# virtualenv
venv/
ENV/
*.autosave

# Spyder project settings
.spyderproject
# QtCtreator Qml
*.qmlproject.user
*.qmlproject.user.*

# Rope project settings
.ropeproject
# QtCtreator CMake
CMakeLists.txt.user*
38 changes: 38 additions & 0 deletions Zrandr.pro
@@ -0,0 +1,38 @@
#-------------------------------------------------
#
# Project created by QtCreator 2017-07-20T21:27:20
#
#-------------------------------------------------

QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Zrandr
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0


SOURCES += src/main.cpp \
src/mainwindow.cpp \
src/controller.cpp \
src/monitor.cpp \
src/resolution.cpp

HEADERS += src/controller.h \
src/mainwindow.h \
src/monitor.h \
src/resolution.h

RESOURCES += \
resources.qrc
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
13 changes: 0 additions & 13 deletions install.sh

This file was deleted.

Binary file added res/zrandr.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions resources.qrc
@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/images">
<file alias="icon">res/zrandr.png</file>
</qresource>
</RCC>

0 comments on commit b19893b

Please sign in to comment.