#include "usersettings.h"
#include <QVBoxLayout>
-MainWindow::MainWindow(QWidget *parent) :
+MainWindow::MainWindow(QWidget* parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
/* Fix for invisible Splitter handle on Windows */
#ifdef Q_OS_WIN
- QSplitterHandle *handle = m_dashboard->handle(m_dashboard->count()-1);
- QVBoxLayout *layout = new QVBoxLayout(handle);
+ QSplitterHandle* handle = m_dashboard->handle(m_dashboard->count()-1);
+ QVBoxLayout* layout = new QVBoxLayout(handle);
layout->setSpacing(0);
layout->setMargin(0);
- QFrame *line = new QFrame(handle);
+ QFrame* line = new QFrame(handle);
line->setFrameShape(QFrame::HLine);
line->setFrameShadow(QFrame::Sunken);
layout->addWidget(line);
ui->qcbox_singleRun->setCurrentIndex(idx);
}
-void MainWindow::onSetSingleRunInfo(const QString &method, const QString &operatorname, const QString &sample, const QString &datetime)
+void MainWindow::onSetSingleRunInfo(const QString& method, const QString& operatorname, const QString& sample, const QString& datetime)
{
ui->qle_methodName->setText(method);
ui->qle_operatorName->setText(operatorname);