Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove question mark from form dialog #150

Merged
merged 3 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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