|
|
@ -115,7 +115,6 @@ def get_default_cursor(): |
|
|
|
class Application: |
|
|
|
class Application: |
|
|
|
"""Main application""" |
|
|
|
"""Main application""" |
|
|
|
app: QApplication |
|
|
|
app: QApplication |
|
|
|
desktop: QDesktopWidget |
|
|
|
|
|
|
|
window: QMainWindow |
|
|
|
window: QMainWindow |
|
|
|
states = WINDOW_STATES |
|
|
|
states = WINDOW_STATES |
|
|
|
greeter: Greeter |
|
|
|
greeter: Greeter |
|
|
@ -129,7 +128,6 @@ class Application: |
|
|
|
|
|
|
|
|
|
|
|
self.app = QApplication(sys.argv) |
|
|
|
self.app = QApplication(sys.argv) |
|
|
|
self.window = MainWindow() |
|
|
|
self.window = MainWindow() |
|
|
|
self.desktop = self.app.desktop() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.window.setAttribute(Qt.WA_DeleteOnClose) |
|
|
|
self.window.setAttribute(Qt.WA_DeleteOnClose) |
|
|
|
self.window.setWindowTitle("Web Greeter") |
|
|
|
self.window.setWindowTitle("Web Greeter") |
|
|
|