HowManyAreAnalyzed(): use status_user_agent to report progress
[linguistica.git] / corpusviewdialog.h
blob15d6b6ab02b03174caa199fd38ed36ba77362185
1 // Dialog to display analyzed corpus
2 // Copyright © 2009 The University of Chicago
3 #ifndef CORPUSVIEWDIALOG_H
4 #define CORPUSVIEWDIALOG_H
6 #include <QDialog>
7 #include "ui_corpusviewdialogbase.h"
9 #include <Qt>
11 class CLexicon;
13 class CorpusViewDialog : public QDialog, private Ui::CorpusViewDialogBase
15 Q_OBJECT
17 QStringList* m_left;
18 QStringList* m_right;
20 bool m_scrolling;
22 int m_lx, m_ly, m_rx, m_ry;
24 CLexicon* m_pLexicon;
26 protected:
27 void init();
28 void setRightStyle( QString style );
30 public:
31 CorpusViewDialog( QStringList* left, QStringList* right,
32 QWidget* parent = 0, Qt::WindowFlags fl = 0 );
33 CorpusViewDialog( CLexicon* pLexicon, QWidget* parent = 0,
34 Qt::WindowFlags fl = 0 );
36 public slots:
38 void showMarkedUpText(bool);
39 void moveRightView(int,int);
40 void moveLeftView(int,int);
41 void wordWrap(bool);
45 #endif // CORPUSVIEWDIALOG_H