-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
2,732 additions
and
1,811 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
from PyQt5 import uic | ||
# from qtpy.uic import loadUi | ||
from qtpy.QtWidgets import QDialog | ||
|
||
from .config import CONFIG | ||
from .utils import loadUi | ||
|
||
|
||
uif = CONFIG.get_ui_qfile('about_dialog.ui') | ||
AboutDialogBase = uic.loadUiType(uif) | ||
uif.close() | ||
|
||
|
||
class AboutDialog(*AboutDialogBase): | ||
class AboutDialog(QDialog): | ||
def __init__(self, parent): | ||
super().__init__(parent) | ||
self.setupUi() | ||
|
||
def setupUi(self): | ||
super().setupUi(self) | ||
self.ui = loadUi(CONFIG.get_ui_qfile("about_dialog.ui"), baseinstance=self) | ||
self.nameLabel.setText(CONFIG.full_name) |
Oops, something went wrong.