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

Inherit Qt UI design from .ui files #6

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from

Commits on Nov 20, 2020

  1. Configuration menu
    Copy the full SHA
    eb81998 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28c9e5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a5cde8 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2020

  1. Configuration menu
    Copy the full SHA
    9faf130 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5f02d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2020

  1. Make removal of exit button more robust

    Make sure that we remove the exit button from the log output tab,
    regardless of its position in the tab bar.
    benjaminhwilliams committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    5b79f4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02c9027 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Update some attribute names to match Qt camelCase

    These previously changed in the OptionsWindow.ui design file.
    benjaminhwilliams committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    e3d57ce View commit details
    Browse the repository at this point in the history
  2. Add some more tool tips to the .ui design file

    Simplify the code by removing the corresponding hard-coded definitions.
    benjaminhwilliams committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    0ada396 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Configuration menu
    Copy the full SHA
    d855070 View commit details
    Browse the repository at this point in the history
  2. Improve selection of reference instrument model

    Add a caption to the dialogue widget and the filter selector.
    Default to the location of any previously selected instrument model
    file.
    Don't unset the reference instrument model file selection if the
    dialogue widget is cancelled.
    Remove redundant setScaledContents calls.
    benjaminhwilliams committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    bc61ff5 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Link duplicate widgets with signals → slots

    Remove a setText from UIOptionsWindow.browse_for_reference_model because
    it is now redundant.
    Also tidy up the wording of some widget labels.
    benjaminhwilliams committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    e406682 View commit details
    Browse the repository at this point in the history
  2. Remove redundant import

    Thanks LGTM!
    benjaminhwilliams committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    861fd33 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2020

  1. Configuration menu
    Copy the full SHA
    fbe90d7 View commit details
    Browse the repository at this point in the history
  2. Simplify the tab closing behaviour

    Also correct some usages of a renamed attribute.
    benjaminhwilliams committed Nov 28, 2020
    Configuration menu
    Copy the full SHA
    638d17c View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. Configuration menu
    Copy the full SHA
    9b4c493 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

  1. Simplify logic for saving and loading xia2 options

    Serialise saved options to a JSON file.  Options to be saved are
    determined by searching all the attributes of a UIOptionsWindow
    instance.  If the type of an attribute matches a list of recognised
    user-input widget types, then we record the value of a specific
    pre-determined property of each widget.  For now, the recognised
    user-input widget types are QCheckBox, QComboBox and QLineEdit, with the
    corresponding properties 'checked', 'currentIndex' and 'text' recorded.
    benjaminhwilliams committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    f25dca9 View commit details
    Browse the repository at this point in the history
  2. Simplify Qt string translation

    Use QtCore.QObject.tr instead of QtCore.QCoreApplication.translate.
    Translate all user-facing strings.  Rationalise some capitalisation.
    benjaminhwilliams committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    75b664f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1fb2212 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2020

  1. Simplify the logging call from a UIOptionsWindow

    Also make it so that a UIOptionsWindow without a parent falls back to
    logging with a simple print call.
    benjaminhwilliams committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    5a2f8ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9f440c View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2020

  1. Configuration menu
    Copy the full SHA
    d38e701 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. Define the translation of options to PHIL params

    Also add some handy placeholder text in some of the options widgets.
    benjaminhwilliams committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    0be95bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    491a721 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c2543d View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Configuration menu
    Copy the full SHA
    b4d1d7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25f32d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2eea7a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c5cdc6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3670442 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f68831c View commit details
    Browse the repository at this point in the history