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

PR: Create a base class for sidebar dialogs (Widgets) #21734

Merged
merged 11 commits into from
Jan 26, 2024

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Jan 26, 2024

Description of Changes

  • This is a refactoring of the ConfigDialog class we use to display our preferences by moving most of its code to a new SidebarDialog one placed in spyder/widgets/sidebardialog.py
  • That will allow us to create similar dialogs in the future.

Visual changes

This is a screenshot of a simple sidebar dialog with two pages.

imagen

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12.

@ccordoba12 ccordoba12 merged commit 582251b into spyder-ide:master Jan 26, 2024
14 checks passed
@ccordoba12 ccordoba12 deleted the sidebar-dialog branch January 26, 2024 04:17
jitseniesen added a commit to spyder-ide/spyder-unittest that referenced this pull request Apr 8, 2024
As a side-effect of PR spyder-ide/spyder#21734, a QApplication needs
to be running before importing
spyder.plugins.preferences.widgets.configdialog. Moving the import
inside a function achieves this.
jitseniesen added a commit to jitseniesen/spyder-unittest that referenced this pull request Apr 8, 2024
As a side-effect of PR spyder-ide/spyder#21734, a QApplication needs
to be running before importing
spyder.plugins.preferences.widgets.configdialog. Moving the import
inside a function achieves this.
jitseniesen added a commit to jitseniesen/spyder-unittest that referenced this pull request Apr 12, 2024
As a side-effect of PR spyder-ide/spyder#21734, a QApplication needs
to be running before importing
spyder.plugins.preferences.widgets.configdialog. Moving the import
inside a function achieves this.
jitseniesen added a commit to jitseniesen/spyder-notebook that referenced this pull request May 28, 2024
As a side-effect of PR spyder-ide/spyder#21734, a QApplication needs
to be running before importing
spyder.plugins.preferences.widgets.configdialog. Moving the import
inside a function achieves this.
jitseniesen added a commit to jitseniesen/spyder-notebook that referenced this pull request May 28, 2024
As a side-effect of PR spyder-ide/spyder#21734, a QApplication needs
to be running before importing
spyder.plugins.preferences.widgets.configdialog. Moving the import
inside a function achieves this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant