~ubuntu-branches/ubuntu/vivid/qpdfview/vivid

« back to all changes in this revision

Viewing changes to sources/formfielddialog.h

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-01-02 14:12:52 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20130102141252-foi08cu5tkbu06p9
Tags: 0.3.7-1
* New upstream release.
* Fixed formatting of extended description in control file.
* New dependency libqt4-sql-sqlite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <QtCore>
26
26
#include <QtGui>
27
27
 
28
 
#include <poppler-qt4.h>
 
28
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
 
29
 
 
30
#include <QtWidgets>
 
31
 
 
32
#endif // QT_VERSION
 
33
 
29
34
#include <poppler-form.h>
30
35
 
31
36
class FormFieldDialog : public QDialog
34
39
 
35
40
public:
36
41
    FormFieldDialog(QMutex* mutex, Poppler::FormField* formField, QWidget* parent = 0);
 
42
    ~FormFieldDialog();
37
43
 
38
44
protected:
39
45
    void showEvent(QShowEvent* event);
41
47
 
42
48
private:
43
49
    QMutex* m_mutex;
44
 
    Poppler::FormField* m_formField;
45
 
 
46
 
    QWidget* m_widget;
47
 
 
48
 
    Poppler::FormFieldText* formFieldText() const;
49
 
    Poppler::FormFieldChoice* formFieldChoice() const;
50
 
 
51
 
    QLineEdit* lineEdit() const;
52
 
    QPlainTextEdit* plainTextEdit() const;
53
 
    QComboBox* comboBox() const;
54
 
    QListWidget* listWidget() const;
 
50
 
 
51
    class FormFieldHandler* m_handler;
55
52
 
56
53
};
57
54