형태소분석기 숫자 정렬 추가 batch run 시 결과값이 올바르게 나오지 않는 현상 디버깅 git-svn-id: svn://192.168.0.12/source@297 8346c931-da38-4b9b-9d4c-e48b93cbd075
140 lines
2.4 KiB
C++
140 lines
2.4 KiB
C++
#include "srunninglistwidget.h"
|
|
#include <QPushButton>
|
|
#include <QString>
|
|
#include <QVector>
|
|
#include <QTableWidget>
|
|
#include <QVBoxLayout>
|
|
#include <QSqlDatabase>
|
|
#include <QSettings>
|
|
#include <QSqlQuery>
|
|
#include <QSqlError>
|
|
#include <QDebug>
|
|
|
|
namespace
|
|
{
|
|
QString strDatabaseName("runninglist");
|
|
}
|
|
|
|
|
|
SRunningListWidget::SRunningListWidget(QWidget* parent) :
|
|
m_pwParent(parent), m_pbtnTimerStart(new QPushButton(parent)), m_pbtnTimerStop(new QPushButton(parent)),
|
|
m_pbtnForceStart(new QPushButton(parent)), m_pbtnForceStop(new QPushButton(parent)), m_ptableWidget(new QTableWidget(parent)),
|
|
m_playout(new QVBoxLayout(parent)), m_pslTableHeader(new QStringList)
|
|
{
|
|
*m_pslTableHeader << "Company" << "Start date" << "End date" << "Event Num" << "Status" << "Last Update Time";
|
|
initButton();
|
|
initDatabase();
|
|
initLayout();
|
|
initTableWidget();
|
|
}
|
|
|
|
void SRunningListWidget::initButton()
|
|
{
|
|
m_pbtnForceStart->setText("Force Start");
|
|
m_pbtnForceStop->setText("Force Stop");
|
|
m_pbtnTimerStart->setText("Timer Start");
|
|
m_pbtnTimerStop->setText("Timer Stop");
|
|
|
|
connect(m_pbtnForceStart, &QPushButton::released, this, &SRunningListWidget::)
|
|
}
|
|
|
|
|
|
void SRunningListWidget::initDatabase()
|
|
{
|
|
}
|
|
|
|
void SRunningListWidget::initTableWidget()
|
|
{
|
|
}
|
|
|
|
void SRunningListWidget::initLayout()
|
|
{
|
|
}
|
|
|
|
QVBoxLayout* SRunningListWidget::getLayout() const
|
|
{
|
|
}
|
|
|
|
void SRunningListWidget::delList(int _id)
|
|
{
|
|
}
|
|
|
|
void SRunningListWidget::delList(QVector<int> _ids)
|
|
{
|
|
}
|
|
|
|
void SRunningListWidget::resetTableHeader()
|
|
{
|
|
}
|
|
|
|
SRunningListWidget::~SRunningListWidget()
|
|
{
|
|
}
|
|
|
|
|
|
void SRunningListWidget::addList(QVector<QVector<QTableWidgetItem>> items)
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::enableBtnTimerStart(bool enable)
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::enableBtnTimerStop(bool enable)
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::enableBtnForceStart(bool enable)
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::enableBtnForceStop(bool enable)
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::setRunning(int _id)
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::setWaiting(int _id)
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::setComplete(int _id)
|
|
{
|
|
|
|
}
|
|
|
|
QVector<int> SRunningListWidget::getList()
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::slotTimerStart()
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::slotTimerStop()
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::slotForceStart()
|
|
{
|
|
|
|
}
|
|
|
|
void SRunningListWidget::slotForceStop()
|
|
{
|
|
|
|
}
|
|
|