1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-05 21:52:10 +01:00

Fixed small typo: "sequencial" vs. "sequential"

This commit is contained in:
Laura Sebesta 2012-05-22 00:34:29 +03:00
parent d7d670036b
commit cae53915d3
6 changed files with 16 additions and 16 deletions

View File

@ -87,7 +87,7 @@ PlotData::~PlotData()
} }
bool SequencialPlotData::append(UAVObject* obj) bool SequentialPlotData::append(UAVObject* obj)
{ {
if (uavObject == obj->getName()) { if (uavObject == obj->getName()) {

View File

@ -44,7 +44,7 @@
\brief Defines the different type of plots. \brief Defines the different type of plots.
*/ */
enum PlotType { enum PlotType {
SequencialPlot, SequentialPlot,
ChronoPlot, ChronoPlot,
UAVObjectPlot, UAVObjectPlot,
@ -93,16 +93,16 @@ signals:
}; };
/*! /*!
\brief The sequencial plot have a fixed size buffer of data. All the curves in one plot \brief The sequential plot have a fixed size buffer of data. All the curves in one plot
have the same size buffer. have the same size buffer.
*/ */
class SequencialPlotData : public PlotData class SequentialPlotData : public PlotData
{ {
Q_OBJECT Q_OBJECT
public: public:
SequencialPlotData(QString uavObject, QString uavField) SequentialPlotData(QString uavObject, QString uavField)
: PlotData(uavObject, uavField) {} : PlotData(uavObject, uavField) {}
~SequencialPlotData() {} ~SequentialPlotData() {}
/*! /*!
\brief Append new data to the plot \brief Append new data to the plot
@ -113,7 +113,7 @@ public:
\brief The type of plot \brief The type of plot
*/ */
virtual PlotType plotType() { virtual PlotType plotType() {
return SequencialPlot; return SequentialPlot;
} }
/*! /*!

View File

@ -49,8 +49,8 @@ void ScopeGadget::loadConfiguration(IUAVGadgetConfiguration* config)
widget->setXWindowSize(sgConfig->dataSize()); widget->setXWindowSize(sgConfig->dataSize());
widget->setRefreshInterval(sgConfig->refreshInterval()); widget->setRefreshInterval(sgConfig->refreshInterval());
if(sgConfig->plotType() == SequencialPlot ) if(sgConfig->plotType() == SequentialPlot )
widget->setupSequencialPlot(); widget->setupSequentialPlot();
else if(sgConfig->plotType() == ChronoPlot) else if(sgConfig->plotType() == ChronoPlot)
widget->setupChronoPlot(); widget->setupChronoPlot();
// else if(sgConfig->plotType() == UAVObjectPlot) // else if(sgConfig->plotType() == UAVObjectPlot)

View File

@ -53,7 +53,7 @@ QWidget* ScopeGadgetOptionsPage::createPage(QWidget *parent)
//main layout //main layout
options_page->setupUi(optionsPageWidget); options_page->setupUi(optionsPageWidget);
options_page->cmbPlotType->addItem("Sequencial Plot",""); options_page->cmbPlotType->addItem("Sequential Plot","");
options_page->cmbPlotType->addItem("Chronological Plot",""); options_page->cmbPlotType->addItem("Chronological Plot","");
// Fills the combo boxes for the UAVObjects // Fills the combo boxes for the UAVObjects

View File

@ -269,9 +269,9 @@ void ScopeGadgetWidget::showCurve(QwtPlotItem *item, bool on)
mutex.unlock(); mutex.unlock();
} }
void ScopeGadgetWidget::setupSequencialPlot() void ScopeGadgetWidget::setupSequentialPlot()
{ {
preparePlot(SequencialPlot); preparePlot(SequentialPlot);
// QwtText title("Index"); // QwtText title("Index");
//// title.setFont(QFont("Helvetica", 20)); //// title.setFont(QFont("Helvetica", 20));
@ -356,8 +356,8 @@ void ScopeGadgetWidget::addCurvePlot(QString uavObject, QString uavFieldSubField
{ {
PlotData* plotData; PlotData* plotData;
if (m_plotType == SequencialPlot) if (m_plotType == SequentialPlot)
plotData = new SequencialPlotData(uavObject, uavFieldSubField); plotData = new SequentialPlotData(uavObject, uavFieldSubField);
else if (m_plotType == ChronoPlot) else if (m_plotType == ChronoPlot)
plotData = new ChronoPlotData(uavObject, uavFieldSubField); plotData = new ChronoPlotData(uavObject, uavFieldSubField);
//else if (m_plotType == UAVObjectPlot) //else if (m_plotType == UAVObjectPlot)
@ -471,7 +471,7 @@ void ScopeGadgetWidget::replotNewData()
void ScopeGadgetWidget::setupExamplePlot() void ScopeGadgetWidget::setupExamplePlot()
{ {
preparePlot(SequencialPlot); preparePlot(SequentialPlot);
// Show the axes // Show the axes

View File

@ -70,7 +70,7 @@ public:
ScopeGadgetWidget(QWidget *parent = 0); ScopeGadgetWidget(QWidget *parent = 0);
~ScopeGadgetWidget(); ~ScopeGadgetWidget();
void setupSequencialPlot(); void setupSequentialPlot();
void setupChronoPlot(); void setupChronoPlot();
void setupUAVObjectPlot(); void setupUAVObjectPlot();
PlotType plotType(){return m_plotType;} PlotType plotType(){return m_plotType;}