Ticket #444 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Allow specialised User interfaces for specific Algorithms

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Iteration 16
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

This should allow specialised user interfaces to be created for a limited number of algorithms.

This will have to include:

  • A suitable interface or base class that all specialized user interfaces inherit from.
  • A dynamic factory class (see kernel) that allows the user interface for a algorithm to be created.
  • Final cleanup is to replace the hard coded LoadRaw dialog that the Load button uses.

Again this should remain independent from qtiplot, although it can of course use QT and mantid

Change History

comment:1 Changed 12 years ago by Martyn Gigg

(In [2081]) Added a method to create a bare pointer, i.e. one that is not wrapped in a boost shared_ptr. I need this for the specialized algorithm GUIs since the Qt pointers don't seem to like being wrapped. Re #444

comment:2 Changed 12 years ago by Martyn Gigg

(In [2124]) Added a new library that is to be used for custom dialog widgets. It lives in a sub-directory of the top qtiplot directory just so that the build server can use the pre-existing script to compile it. This is the initial check-in and it is not linked to qtiplot yet. Re #444

comment:3 Changed 12 years ago by Martyn Gigg

(In [2125]) Re #444. Slight fix to Windows build script to cope with directories containing spaces

comment:4 Changed 12 years ago by Martyn Gigg

(In [2126]) Another fix for directory/space issues. Re #444

comment:5 Changed 12 years ago by Martyn Gigg

(In [2129]) Re #444. Quotes around paths in qmake files

comment:6 Changed 12 years ago by Martyn Gigg

(In [2131]) Re #444. Yet another try with build server

comment:7 Changed 12 years ago by Martyn Gigg

(In [2132]) Re #444. Should be the last fix

comment:8 Changed 12 years ago by Martyn Gigg

(In [2134]) Linked qtiplot with the new custom widgets library and altered the load raw button to use it. The hard-coded LoadRaw dialog code is still present but is unused. I will remove it once we are happy with the changes. Re #444

comment:9 Changed 12 years ago by Martyn Gigg

(In [2135]) Ship new libraries with the installer. Re #444

comment:10 Changed 12 years ago by Martyn Gigg

(In [2136]) Slight alteration for Linux case sensitivity. Re#444

comment:11 Changed 12 years ago by Martyn Gigg

(In [2139]) Fix for boolean properties in the generic dialog and changed okClicked to overridden accept method in new dialogs. Re #444

comment:12 Changed 12 years ago by Martyn Gigg

(In [2147]) Some more refinement of new base dialog widget to make it easier to ue with Qt Desginer. Re #444

comment:13 Changed 12 years ago by Martyn Gigg

(In [2149]) Slight correction to dialog factory declare macro so that any namespace can be used. Re #444

comment:14 Changed 12 years ago by Martyn Gigg

(In [2225]) Change for constructor arguments so that they are correctly passed to the super class. Re #444

comment:15 Changed 12 years ago by Martyn Gigg

(In [2226]) Change to path for generated ui file headers to keep them out of the way. Re #444

comment:16 Changed 12 years ago by Martyn Gigg

(In [2229]) Renamed the factory and manager classes for the custom widget library so that they reflect the fact that they can be used for creating any type of custom widget, not just subclasses of QDialog. Re #444

comment:17 Changed 12 years ago by Martyn Gigg

(In [2235]) Changed a QMap to a QHash as it the same as a QMap (for our purposes) but has a faster lookup. Re #444

comment:18 Changed 12 years ago by Martyn Gigg

(In [2240]) Slight fix to message string display in custom LoadRaw dialog. Re #444

comment:19 Changed 12 years ago by Martyn Gigg

  • Status changed from new to closed
  • Resolution set to fixed

comment:20 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1292

Note: See TracTickets for help on using tickets.