~d-nelson/research-assistant/nextDNK

« back to all changes in this revision

Viewing changes to RAPlugins/BasicDevices/ProtoScanner.h

  • Committer: Viktor Bursian
  • Date: 2013-06-06 15:10:08 UTC
  • Revision ID: vbursian@gmail.com-20130606151008-6641eh62f0lgx8jt
Tags: version_0.3.0
versionĀ 0.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include "BasicDevices.h"
15
15
#include "Console.h"
16
16
#include "Chart.h"
17
 
#include "PairSetFunction.h"
18
17
#include "NetWidgets.h"
 
18
#include "PhysRangeField.h"
19
19
#include <QTimer>
20
20
#include <QSplitter>
21
21
#include <QPushButton>
47
47
    virtual void              Connect ();
48
48
    virtual void              Disconnect ();
49
49
 
 
50
  public:
 
51
    sChartScales              ChartScales () const
 
52
                                { return Chart->ChartScales(); };
 
53
    void                      SetChartScales (sChartScales);
 
54
 
50
55
  signals:
51
 
    void                      ScanIsStarting ();
52
 
    void                      ScanIsFinished ();
53
56
    void                      Accepted ();
54
57
    void                      Disregarded ();
55
58
 
 
59
  protected slots:
 
60
    virtual void              StartScan ();
 
61
    virtual void              FinishScan ();
 
62
 
56
63
  protected:
57
64
    virtual void              SetDriverState (eDriverState);
58
65
 
59
 
  protected slots:
60
 
    virtual void              AddNewPoint (real Value);
61
 
    virtual void              AddNewPoint (int Value)
62
 
                                { AddNewPoint(real(Value)); };
63
 
    virtual void              AddNewPoint (double Value)
64
 
                                { AddNewPoint(real(Value)); };
65
 
 
66
66
  protected: //fields
67
 
    sRange                    ScanRange;
68
 
    real                      StepQuantum;
69
 
    real                      From;
70
 
    real                      To;
71
 
    real                      Step;
 
67
    sPhysPair                 Multiplier;
 
68
    sDependence::sPtr         Dependence;
72
69
    sCluster::sPtr            Sample;
73
70
    sCluster::sPtr            Topic;
74
71
    sString                   Conditions;
 
72
 
 
73
  protected: //fields
 
74
    int                       Row;
 
75
 
75
76
    bool                      Scanning;
76
 
//    sArrayFunction::sPtr      Spectrum;
77
 
    sPairSetFunction::sPtr    Spectrum;
78
 
    int                       CurrentPointNo;
79
 
    int                       NumOfPoints;
80
 
    int                       Row;
81
77
 
82
78
  private slots:
83
 
    virtual void              StartScan ();
84
 
    virtual void              FinishScan ();
85
79
    virtual void              Accept ();
86
80
    virtual void              Disregard ();
87
81
    void                      ResetColorSequence ();
121
115
    QGridLayout *             ParamLayout;
122
116
 
123
117
  private: //fields
124
 
    QLabel *                  LblFrom;
125
 
    QDoubleSpinBox *          FldFrom;
126
 
    QLabel *                  LblTo;
127
 
    QDoubleSpinBox *          FldTo;
128
 
    QLabel *                  LblStep;
129
 
    QDoubleSpinBox *          FldStep;
130
118
    QLabel *                  LblSample;
131
119
    psDropNodeWidget          FldSample;
132
120
    QLabel *                  LblTopic;