-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created Indirect Bayes window and ResNorm tab.
This commit also lays most of the ground work for the rest of the tabs. Refs #5421
- Loading branch information
Samuel Jackson
committed
Sep 11, 2013
1 parent
b96976c
commit e966be9
Showing
9 changed files
with
364 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
114 changes: 114 additions & 0 deletions
114
Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IndirectBayes.ui
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>IndirectBayes</class> | ||
<widget class="QWidget" name="IndirectBayes"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>726</width> | ||
<height>548</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Indirect Bayes</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<widget class="QTabWidget" name="indirectBayesTabs"> | ||
<property name="currentIndex"> | ||
<number>0</number> | ||
</property> | ||
<widget class="QWidget" name="resNorm"> | ||
<attribute name="title"> | ||
<string>ResNorm</string> | ||
</attribute> | ||
</widget> | ||
<widget class="QWidget" name="Quasi"> | ||
<attribute name="title"> | ||
<string>Quasi</string> | ||
</attribute> | ||
</widget> | ||
<widget class="QWidget" name="Stretch"> | ||
<attribute name="title"> | ||
<string>Stretch</string> | ||
</attribute> | ||
</widget> | ||
<widget class="QWidget" name="JumpFit"> | ||
<attribute name="title"> | ||
<string>JumpFit</string> | ||
</attribute> | ||
</widget> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QHBoxLayout" name="layout_bottom"> | ||
<item> | ||
<widget class="QPushButton" name="pbHelp"> | ||
<property name="enabled"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="maximumSize"> | ||
<size> | ||
<width>20</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
<property name="text"> | ||
<string>?</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer_14"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>40</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="pbRun"> | ||
<property name="text"> | ||
<string>Run</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer_11"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>40</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="pbManageDirs"> | ||
<property name="text"> | ||
<string>Manage Directories</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 18 additions & 4 deletions
22
Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/ResNorm.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
#ifndef MANTIDQTCUSTOMINTERFACESIDA_RESNORM_H_ | ||
#define MANTIDQTCUSTOMINTERFACESIDA_RESNORM_H_ | ||
#ifndef MANTIDQTCUSTOMINTERFACES_RESNORM_H_ | ||
#define MANTIDQTCUSTOMINTERFACES_RESNORM_H_ | ||
|
||
#include "ui_ResNorm.h" | ||
#include "MantidQtCustomInterfaces/IndirectBayesTab.h" | ||
|
||
namespace MantidQt | ||
{ | ||
namespace CustomInterfaces | ||
{ | ||
class ResNorm : public IndirectBayesTab | ||
class DLLExport ResNorm : public IndirectBayesTab | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
ResNorm(QWidget * parent = 0); | ||
|
||
private: | ||
virtual void help(); | ||
virtual void validate(); | ||
virtual void run(); | ||
|
||
/// Plot of the input | ||
QwtPlot* m_plot; | ||
/// Tree of the properties | ||
QtTreePropertyBrowser* m_propTree; | ||
/// Internal list of the properties | ||
QMap<QString, QtProperty*> m_properties; | ||
/// Double manager to create properties | ||
QtDoublePropertyManager* m_dblManager; | ||
//The ui form | ||
Ui::ResNorm m_uiForm; | ||
|
||
}; | ||
} // namespace CustomInterfaces | ||
} // namespace MantidQt | ||
|
||
#endif MANTIDQTCUSTOMINTERFACESIDA_RESNORM_H_ | ||
#endif |
Oops, something went wrong.