clang-format src

This commit is contained in:
Lars Toenning
2023-04-13 14:20:16 +02:00
parent ba41d4887b
commit 970b7c3650
1501 changed files with 20326 additions and 17820 deletions

View File

@@ -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

View File

@@ -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