Fixed Python example comments.
Fixed comment style from C++ to Python for Python example.main
parent
bdf7438118
commit
2d595a956f
|
@ -57,13 +57,13 @@ import breeze_resources
|
||||||
def main():
|
def main():
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
app = QtWidgets.QApplication(sys.argv)
|
||||||
|
|
||||||
// set stylesheet
|
# set stylesheet
|
||||||
file = QFile(":/dark.qss")
|
file = QFile(":/dark.qss")
|
||||||
file.open(QFile.ReadOnly | QFile.Text)
|
file.open(QFile.ReadOnly | QFile.Text)
|
||||||
stream = QTextStream(file)
|
stream = QTextStream(file)
|
||||||
app.setStyleSheet(stream.readAll())
|
app.setStyleSheet(stream.readAll())
|
||||||
|
|
||||||
// code goes here
|
# code goes here
|
||||||
|
|
||||||
app.exec_()
|
app.exec_()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue