ymtwodepthawidget 추가
git-svn-id: svn://192.168.0.12/source@210 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
2688
MorphereAnalyzer/ymtwodepthawidget.cpp
Normal file
2688
MorphereAnalyzer/ymtwodepthawidget.cpp
Normal file
File diff suppressed because it is too large
Load Diff
178
MorphereAnalyzer/ymtwodepthawidget.h
Normal file
178
MorphereAnalyzer/ymtwodepthawidget.h
Normal file
@@ -0,0 +1,178 @@
|
|||||||
|
#ifndef YMTWODEPTHAWIDGET
|
||||||
|
#define YMTWODEPTHAWIDGET
|
||||||
|
#include "ymorpherewidget.h"
|
||||||
|
#include <QCalendarWidget>
|
||||||
|
#include <QDateEdit>
|
||||||
|
#include <QPushButton>
|
||||||
|
#include <QHBoxLayout>
|
||||||
|
#include <QComboBox>
|
||||||
|
#include <QLineEdit>
|
||||||
|
#include <QGroupBox>
|
||||||
|
#include <QListWidget>
|
||||||
|
#include <QTabWidget>
|
||||||
|
#include <QRadioButton>
|
||||||
|
#include <QButtonGroup>
|
||||||
|
#include <QTableWidget>
|
||||||
|
#include <QProgressBar>
|
||||||
|
#include <QMenuBar>
|
||||||
|
#include <QSqlDatabase>
|
||||||
|
#include <QListWidgetItem>
|
||||||
|
#include "stable.h"
|
||||||
|
#include <QCloseEvent>
|
||||||
|
|
||||||
|
class YMTwoDepthAWidget:public YMorphereWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
YMTwoDepthAWidget(QWidget *parent = 0);
|
||||||
|
~YMTwoDepthAWidget();
|
||||||
|
void clearViewResult();
|
||||||
|
void clearView();
|
||||||
|
void ViewResult();
|
||||||
|
QMap<QString, QString> convertToParam();
|
||||||
|
|
||||||
|
//Morphere List
|
||||||
|
int getThread();
|
||||||
|
unsigned int getDateStart();
|
||||||
|
unsigned int getDateEnd();
|
||||||
|
int getPeriod();
|
||||||
|
|
||||||
|
QStringList getMorphereList();
|
||||||
|
QStringList getMorphereList2();
|
||||||
|
|
||||||
|
bool getDateAll();
|
||||||
|
QString getUserDictList();
|
||||||
|
QString getCenterKeyword();
|
||||||
|
void SaveFile();
|
||||||
|
void SaveFileSimple();
|
||||||
|
QMap<QString, int> getResult();
|
||||||
|
void TestUpload();
|
||||||
|
void D3View();
|
||||||
|
void D3ViewTree();
|
||||||
|
void D3ViewFile();
|
||||||
|
void D3ViewTreeFile();
|
||||||
|
void setParam(QString strJson);
|
||||||
|
|
||||||
|
private:
|
||||||
|
// Data
|
||||||
|
QListWidget *m_plwData;
|
||||||
|
// Date
|
||||||
|
QCalendarWidget *m_pcw;
|
||||||
|
QDateEdit *m_pdeStart;
|
||||||
|
QDateEdit *m_pdeEnd;
|
||||||
|
QLineEdit *m_pleDates;
|
||||||
|
QComboBox *m_pcbDuring;
|
||||||
|
//QPushButton *m_ppbInsertCalc;
|
||||||
|
//QComboBox *m_pcbDateCatalog;
|
||||||
|
//
|
||||||
|
QTabWidget *m_ptwData;
|
||||||
|
//
|
||||||
|
QProgressBar *m_pProgress;
|
||||||
|
// Column
|
||||||
|
QVector <QStringList> m_vecColumn;
|
||||||
|
// MorphereList
|
||||||
|
QListWidget *m_plwMorphereList;
|
||||||
|
QListWidget *m_plwMorphereAdd;
|
||||||
|
QListWidget *m_plwMorphereList2;
|
||||||
|
QListWidget *m_plwMorphereAdd2;
|
||||||
|
|
||||||
|
|
||||||
|
QComboBox *m_pcbDate;
|
||||||
|
QComboBox *m_pcbPeriod;
|
||||||
|
|
||||||
|
QLineEdit *m_pleFilterRankALL;
|
||||||
|
QLineEdit *m_pleFilterRankSeparated;
|
||||||
|
QLineEdit *m_pleFilterKeyword;
|
||||||
|
QLineEdit *m_pleFilterKeywordLength;
|
||||||
|
QLineEdit *m_pleFilterExtractor;
|
||||||
|
|
||||||
|
|
||||||
|
QLineEdit *m_pleFilterRankALL2;
|
||||||
|
QLineEdit *m_pleFilterRankSeparated2;
|
||||||
|
QLineEdit *m_pleFilterKeyword2;
|
||||||
|
QLineEdit *m_pleFilterKeywordLength2;
|
||||||
|
QLineEdit *m_pleFilterExtractor2;
|
||||||
|
|
||||||
|
|
||||||
|
QComboBox *m_pcbThread;
|
||||||
|
QComboBox *m_pcbSort;
|
||||||
|
|
||||||
|
QListWidgetItem **m_plwiMorphere;
|
||||||
|
QStringList m_strlistMorphere;
|
||||||
|
QStringList m_strlistMorphereko;
|
||||||
|
|
||||||
|
QRadioButton *m_rbDateMorphere;
|
||||||
|
QRadioButton *m_rbMorphereDate;
|
||||||
|
QButtonGroup *m_bgRadioGroup;
|
||||||
|
|
||||||
|
QComboBox *m_pcbDictionary;
|
||||||
|
QList<STable*> m_lTable;
|
||||||
|
QList<QTabWidget*> m_lTabWidget;
|
||||||
|
QTabWidget* m_ptwTable;
|
||||||
|
|
||||||
|
|
||||||
|
QMap<QString, QMap<QString, QMap<int, QString> > > m_mapViewResult;
|
||||||
|
QMap<QString, QMap<int, QMap<QString, QString> > > m_mapViewResult2;
|
||||||
|
|
||||||
|
QString m_strCKeyword;
|
||||||
|
QLineEdit *m_pleCKeyword;
|
||||||
|
QComboBox *m_pcbCountMethod;
|
||||||
|
QWebViewChild m_WVD3View;
|
||||||
|
QComboBox* m_pcbData;
|
||||||
|
|
||||||
|
public:
|
||||||
|
struct m_mapKey
|
||||||
|
{
|
||||||
|
QString strDate;
|
||||||
|
QString strMorphere;
|
||||||
|
QString strKeyword;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private:
|
||||||
|
QGroupBox *setMorphereList();
|
||||||
|
QGroupBox *setMorphereList2();
|
||||||
|
|
||||||
|
QGroupBox *setDate();
|
||||||
|
QGroupBox *setFilter();
|
||||||
|
QGroupBox *setFilter2();
|
||||||
|
|
||||||
|
QGroupBox *setOther();
|
||||||
|
QGroupBox *setSort();
|
||||||
|
QGroupBox *setDictionary();
|
||||||
|
QGroupBox *setCenterKeyword();
|
||||||
|
QGroupBox *setData();
|
||||||
|
void SortViewResult();
|
||||||
|
|
||||||
|
QTableWidget *AddTable(QString _str);
|
||||||
|
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
void CloseTab(int index);
|
||||||
|
void DoubleClickTab(int index);
|
||||||
|
void FileImport();
|
||||||
|
void FileExport();
|
||||||
|
void RawFileExport();
|
||||||
|
void MemClear();
|
||||||
|
void MorphereListAdd();
|
||||||
|
void MorphereListDel();
|
||||||
|
|
||||||
|
void MorphereListAdd2();
|
||||||
|
void MorphereListDel2();
|
||||||
|
|
||||||
|
void AddDictionary();
|
||||||
|
void DelDictionary();
|
||||||
|
bool setListMorphere(QStringList& MorphereEN, QStringList& MorphereKO);
|
||||||
|
QTabWidget* getQTabWidget();
|
||||||
|
bool isSortMorphereDateChecked();
|
||||||
|
bool isSortDateMorphereChecked();
|
||||||
|
|
||||||
|
QString Json();
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // YMTWODEPTHAWIDGET
|
||||||
|
|
||||||
Reference in New Issue
Block a user