Skip to content

Commit

Permalink
Remove question mark from form dialog (#150)
Browse files Browse the repository at this point in the history
- Remove question mark from form dialog
  • Loading branch information
DanicaSTFC authored Jul 18, 2024
1 parent 52ddc8b commit 5856dff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Version x.x.x
- Remove question mark from form dialog (#150)

# Version 1.0.0
- Update "pre-commit-config.yaml" (#136)
- Change order of widget states (#129)
Expand Down
3 changes: 2 additions & 1 deletion eqt/ui/FormDialog.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from PySide2 import QtWidgets
from PySide2 import QtCore, QtWidgets

from . import UIFormFactory


class FormDialog(QtWidgets.QDialog):
def __init__(self, parent=None, title=None):
super().__init__(parent)
self.setWindowFlag(QtCore.Qt.WindowContextHelpButtonHint, False)

self.buttonBox = QtWidgets.QDialogButtonBox(QtWidgets.QDialogButtonBox.Ok
| QtWidgets.QDialogButtonBox.Cancel)
Expand Down

0 comments on commit 5856dff

Please sign in to comment.