Created
July 9, 2016 18:49
-
-
Save ferdiunal/25124d84f0b784e8a7e02595fba3fdc6 to your computer and use it in GitHub Desktop.
Pyqt5 QDialog simge durumuna küçült, tam ekran yap. butonları
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 Qt | |
| from PyQt5.QtWidgets import QDialog | |
| class Editor(QDialog): | |
| def __init__(self,parent=None,path=None): | |
| super().__init__(parent) | |
| self.path=path | |
| self.initUI() | |
| def initUI(self) : | |
| self.setWindowFlags(self.windowFlags() | Qt.WindowMinimizeButtonHint | Qt.WindowMaximizeButtonHint | Qt.WindowStaysOnBottomHint) | |
| self.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment