Skip to content

QT GUI - complex constraints (master ticket) (Trac #1135) #1376

@sasview-bot

Description

@sasview-bot

In the QT GUI, there are some issues with the complex constraints functionality.

  1. Activating the complex constraints dialog is only possible by selecting multiple fit pages in a special table before right-clicking to bring up a context menu.
  2. The dialog has a text box for editing constraints, but it breaks when using multiple parameters on the right-hand side.
  3. The dialog does not allow you to select which models to take fitting parameters from; it is fixed to whichever two fit pages were selected prior to activating the dialog.

Possible solutions to the above problems are, respectively:

  1. Add a simple button labelled "Add Constraint" or similar.
  2. Fix the text box!
  3. Add combo boxes (drop-downs) for the left- and right-hand sides of the constraint, to allow a model to be chosen before choosing a parameter from that model.

I have some agreement with Richard and Piotr on this, so far, and will add updates to this ticket in the next few days.

(I'm putting this in the beta approx. work package but feel free to move it, I'm not sure where it should go...!)

Migrated from http://trac.sasview.org/ticket/1135

{
    "status": "new",
    "changetime": "2018-07-23T09:42:05",
    "_ts": "2018-07-23 09:42:05.573581+00:00",
    "description": "In the QT GUI, there are some issues with the complex constraints functionality.\n\n 1. Activating the complex constraints dialog is only possible by selecting multiple fit pages in a special table before right-clicking to bring up a context menu.\n 1. The dialog has a text box for editing constraints, but it breaks when using multiple parameters on the right-hand side.\n 1. The dialog does not allow you to select which models to take fitting parameters from; it is fixed to whichever two fit pages were selected prior to activating the dialog.\n\nPossible solutions to the above problems are, respectively:\n\n 1. Add a simple button labelled \"Add Constraint\" or similar.\n 1. Fix the text box!\n 1. Add combo boxes (drop-downs) for the left- and right-hand sides of the constraint, to allow a model to be chosen before choosing a parameter from that model.\n\nI have some agreement with Richard and Piotr on this, so far, and will add updates to this ticket in the next few days.\n\n\n(I'm putting this in the beta approx. work package but feel free to move it, I'm not sure where it should go...!)",
    "reporter": "tcbennun",
    "cc": "piotr, wojciech, richardh",
    "resolution": "",
    "workpackage": "Beta Approximation Project",
    "time": "2018-07-18T16:14:13",
    "component": "SasView",
    "summary": "QT GUI - complex constraints (master ticket)",
    "priority": "blocker",
    "keywords": "",
    "milestone": "SasView 5.0.0",
    "owner": "tcbennun",
    "type": "defect"
}

Metadata

Metadata

Labels

MajorBig change in the code or important change in behaviour

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions