OpenCores
URL https://opencores.org/ocsvn/ezidebug/ezidebug/trunk

Subversion Repositories ezidebug

[/] [ezidebug/] [trunk/] [EziDebug_src/] [importdatadialog.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 EziDebug
#ifndef IMPORTDATADIALOG_H
2
#define IMPORTDATADIALOG_H
3
#include <QDialog>
4
 
5
//class QDialog ;
6
#include <QMap>
7
class QWidget ;
8
class QLabel  ;
9
class QLineEdit ;
10
class QButtonGroup ;
11
class QPushButton ;
12
class QListWidget ;
13
class EziDebugInstanceTreeItem ;
14
class QListWidgetItem ;
15
class QGroupBox ;
16
class QComboBox ;
17
 
18
class ImportDataDialog:public QDialog
19
{
20
    Q_OBJECT
21
 
22
public:
23
    enum EDGE_TYPE
24
    {
25
        edgeTypePosEdge = 0 ,
26
        edgeTypeNegEdge,
27
        edgeTypeOtherEdge
28
    };
29
    ImportDataDialog(const QMap<QString,EziDebugInstanceTreeItem*> &itemmap,QWidget *parent = 0);
30
 
31
//signals:
32
//    void findNext(const QString &str, Qt::CaseSensitivity cs);
33
//    void findPrevious(const QString &str, Qt::CaseSensitivity cs);
34
    const QString &getDataFileName(void) const;
35
    const QString &getChainName(void) const;
36
    const QString &getOutputDirectory(void) const ;
37
    const QMap<int,QString> &getFileIndexMap(void) const ;
38
    void  getResetSig(QString &resetsig,EDGE_TYPE &resetedgetype,QString &otherresetedge) ;
39
public slots:
40
    void accept();
41
private slots:
42
    void findDataFileClicked();
43
    void findDataFile() ;
44
    void findSavePathClicked();
45
    void showCurrentItem(QListWidgetItem* currentitem,QListWidgetItem* previousitem);
46
    void portSignalChange(int index) ;
47
    void portOtherEdge(int index) ;
48
//    void enableFindButton(const QString &text);
49
 
50
private:
51
    QGroupBox *m_pgroupBox ;
52
    QGroupBox *m_pgroupBox1 ;
53
    //QGroupBox *m_pgroupBox2 ;
54
    QLabel *m_pnodeLabel ;
55
    QLineEdit *m_pfileLineEdit ;
56
 
57
    QLabel *m_pselectedLabel ;
58
    QLineEdit *m_pselectedItemLineEdit ;
59
 
60
    QLabel * m_ptbFilePathLabel ;
61
    QPushButton *m_ptbFilePathButton ;
62
    QLineEdit *m_ptbFilePathLineEdit ;
63
 
64
    QListWidget * m_pnodeList ;
65
    QPushButton * m_pfindFileButton ;
66
    QPushButton *m_pokButton ;
67
    QPushButton *m_pcancelButton ;
68
    //QComboBox *m_pilaCombo ;
69
    QLineEdit *m_pilaLine ;
70
    QLineEdit *m_pfile ;
71
 
72
    QLabel *m_pportLabel ;
73
    QLabel *m_pportEdgeLabel ;
74
    QLabel *m_pportOtherLabel ;
75
    QLineEdit *m_pportOtherLineEdit ;
76
    QComboBox *m_presetPortCombo ;
77
    QComboBox *m_presetPortEdgeCombo ;
78
 
79
 
80
    QString  m_idataFileName ;
81
    QString  m_ichainName ;
82
    QString  m_isavePath ;
83
 
84
    QString   m_iresetSig ;
85
    EDGE_TYPE m_eresetEdge ;
86
    QString   m_iresetEdge ;
87
 
88
    QMap<int,QString> iindexFileMap ;
89
 
90
};
91
 
92
#endif // IMPORTDATADIALOG_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.