This file contains hidden or 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.QtCore import * | |
from PyQt5.QtWidgets import * | |
from PyQt5.QtGui import * | |
class QLabel_alterada(QLabel): | |
clicked=pyqtSignal() | |
def __init__(self, parent=None): | |
QLabel.__init__(self, parent) | |
print("test") |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import pandas as pd | |
from PyQt5.QtCore import QRegularExpression, pyqtSignal | |
from PyQt5.QtGui import QIcon, QRegularExpressionValidator, QValidator | |
from PyQt5.QtWidgets import QTableWidget, QApplication, QTableWidgetItem, QMenu, QInputDialog, QLineEdit, QMainWindow, \ | |
QDialog, QVBoxLayout, QLabel, QHBoxLayout, QComboBox, QToolButton, QPushButton, QSpacerItem, QSizePolicy, \ | |
QWidget, QFileDialog, QDialogButtonBox |
This file contains hidden or 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.QtCore import QSize, Qt | |
from PyQt5.QtGui import QPainter, QColor | |
from PyQt5.QtWidgets import QLabel, QWidget, QVBoxLayout, QApplication | |
class Led(QWidget): | |
def __init__(self, colorOn, colorOff, parent=None): | |
QLabel.__init__(self, parent) | |
self.colorOn = colorOn | |
self.colorOff = colorOff |
This file contains hidden or 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 PySide.QtCore import * | |
from PySide.QtGui import * | |
rad = 5 | |
class WindowClass(QMainWindow): | |
def __init__(self): | |
super(WindowClass, self).__init__() | |
self.view = ViewClass() |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Accessible Map</title> | |
<link rel="stylesheet" href="https://openlayers.org/en/v4.2.0/css/ol.css" type="text/css"> | |
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> | |
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script> | |
<script src="https://openlayers.org/en/v4.2.0/build/ol-debug.js"></script> | |
<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script> | |
<style> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |