QXRD  0.11.16
qxrdcalibrantdialog.h
Go to the documentation of this file.
1 #ifndef QXRDCALIBRANTDIALOG_H
2 #define QXRDCALIBRANTDIALOG_H
3 
4 #include <QDockWidget>
5 #include "ui_qxrdcalibrantdialog.h"
7 #include "qxrdcalibrant-ptr.h"
11 #include "qxrdcalibrant.h"
12 #include "qxrdcenterfinder-ptr.h"
13 
14 class QxrdCalibrantDialog : public QDockWidget, public Ui::QxrdCalibrantDialog
15 {
16  Q_OBJECT
17 
18 public:
20  virtual ~QxrdCalibrantDialog();
21 
22 public slots:
23  void calibrantTableContextMenu(const QPoint &pos);
24  void calibrantDSpacingsContextMenu(const QPoint &pos);
25 
26  void onCalibrantChanged();
27 
28  void onCalibrantClick (const QModelIndex &item);
29  void onCalibrantDoubleClick(const QModelIndex &item);
30 
31 private:
32  void doCopyFromTable(QTableView *table);
33  void doDuplicateCalibrant(int n);
34  void doDeleteCalibrant(int n);
35  void doCalibrantProperties(int n);
36 
37 private:
44 };
45 
46 #endif // QXRDCALIBRANTDIALOG_H
QSharedPointer< QxrdExperiment > QxrdExperimentPtr
QxrdExperimentWPtr m_Experiment
void doCopyFromTable(QTableView *table)
QWeakPointer< QxrdCenterFinder > QxrdCenterFinderWPtr
QxrdCalibrantDSpacingsModelWPtr m_CalibrantDSpacingsModel
QxrdCalibrantDialog(QxrdExperimentPtr expt, QxrdCenterFinderWPtr cf)
QxrdCalibrantDSpacingsWPtr m_CalibrantDSpacings
QWeakPointer< QxrdExperiment > QxrdExperimentWPtr
QWeakPointer< QxrdCalibrantDSpacings > QxrdCalibrantDSpacingsWPtr
QWeakPointer< QxrdCalibrantLibraryModel > QxrdCalibrantLibraryModelWPtr
QxrdCalibrantLibraryModelWPtr m_CalibrantLibraryModel
QWeakPointer< QxrdCalibrantDSpacingsModel > QxrdCalibrantDSpacingsModelWPtr
QWeakPointer< QxrdCalibrantLibrary > QxrdCalibrantLibraryWPtr
void onCalibrantClick(const QModelIndex &item)
void onCalibrantDoubleClick(const QModelIndex &item)
void calibrantDSpacingsContextMenu(const QPoint &pos)
QxrdCalibrantLibraryWPtr m_CalibrantLibrary
QxrdCenterFinderWPtr m_CenterFinder
void calibrantTableContextMenu(const QPoint &pos)