mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 11:45:40 +08:00
clang-format src
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
namespace BlackGui::Graphs
|
||||
{
|
||||
CBarChart::CBarChart(QWidget *parent): QwtPlot(parent)
|
||||
CBarChart::CBarChart(QWidget *parent) : QwtPlot(parent)
|
||||
{
|
||||
this->setAutoFillBackground(true);
|
||||
this->setPalette(Qt::white);
|
||||
@@ -130,7 +130,7 @@ namespace BlackGui::Graphs
|
||||
|
||||
void CBarChart::setSamples1Bar(const QList<double> &samples, const QStringList &labels, Qt::Orientation orientation)
|
||||
{
|
||||
QVector< QVector<double> > series;
|
||||
QVector<QVector<double>> series;
|
||||
for (double d : samples)
|
||||
{
|
||||
series << QVector<double> { d };
|
||||
@@ -171,4 +171,3 @@ namespace BlackGui::Graphs
|
||||
}
|
||||
|
||||
} // ns
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace BlackGui::Graphs
|
||||
/*!
|
||||
* For axis labels
|
||||
*/
|
||||
class CTextScaleDraw: public QwtScaleDraw
|
||||
class CTextScaleDraw : public QwtScaleDraw
|
||||
{
|
||||
public:
|
||||
//! Constructorxs
|
||||
@@ -48,7 +48,7 @@ namespace BlackGui::Graphs
|
||||
/*!
|
||||
* Bar chart, modified version of QWT examples
|
||||
*/
|
||||
class BLACKGUI_EXPORT CBarChart: public QwtPlot
|
||||
class BLACKGUI_EXPORT CBarChart : public QwtPlot
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
|
||||
Reference in New Issue
Block a user