This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEMPLATE = app | |
QT += qml quick | |
CONFIG += c++11 | |
SOURCES += main.cpp \ | |
boot.cpp | |
RESOURCES += qml.qrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt4 import QtSql | |
from PyQt4 import QtCore, QtGui | |
import sqlite3 | |
import subprocess | |
import sys | |
try: | |
_fromUtf8 = QtCore.QString.fromUtf8 | |
except AttributeError: | |
def _fromUtf8(s): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import * | |
from PyQt5.QtCore import * | |
class MainWindow(QWidget): | |
def __init__(self): | |
super(MainWindow, self).__init__() | |
self.setWindowTitle("My own MainWindow") | |
self.fileDialog = QFileDialog(self) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QT += core | |
QT -= gui | |
QT += network | |
CONFIG += c++11 | |
TARGET = DropboxDownload | |
CONFIG += console | |
CONFIG -= app_bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Form implementation generated from reading ui file 'MainWindow.ui' | |
# | |
# Created by: PyQt5 UI code generator 5.6 | |
# | |
# WARNING! All changes made in this file will be lost! | |
from PyQt5 import QtCore, QtGui, QtWidgets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------- | |
# | |
# Project created by QtCreator 2017-08-26T15:35:47 | |
# | |
#------------------------------------------------- | |
QT += core gui | |
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5 import QtWidgets, QtGui , QtCore | |
class Ui_contacts(object): | |
def setupUi(self, contacts): | |
contacts.setObjectName("contacts") | |
contacts.resize(368, 579) | |
self.contacts_frame = QtWidgets.QFrame(contacts) | |
self.contacts_frame.setGeometry(QtCore.QRect(10, 10, 351, 561)) | |
self.contacts_frame.setFrameShape(QtWidgets.QFrame.StyledPanel) | |
self.contacts_frame.setFrameShadow(QtWidgets.QFrame.Raised) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import platform | |
import sys | |
from PyQt4 import QtCore, QtGui | |
class Interface(QtGui.QMainWindow): | |
def __init__(self): | |
super(Interface, self).__init__() | |
self.setWindowTitle('Compagnons Batisseur') | |
self.resize(1440, 900) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from shutil import copyfile | |
import os | |
#import vispy.mpl_plot as plt | |
import subprocess as sp | |
import vispy.app | |
vispy.app.use_app(backend_name="PyQt5", call_reuse=True) | |