source: terepaima/terepaima-0.4.16/sources/bookmarkdialog.h

desarrollostretch
Last change on this file was 1f4adec, checked in by aosorio <aosorio@…>, 8 years ago

Agregado proyecto base, esto luego del dh_make -f

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2
3Copyright 2014 Adam Reichold
4
5This file is part of qpdfview.
6
7qpdfview is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12qpdfview is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with qpdfview.  If not, see <http://www.gnu.org/licenses/>.
19
20*/
21
22#ifndef BOOKMARKDIALOG_H
23#define BOOKMARKDIALOG_H
24
25#include <QDialog>
26
27class QDialogButtonBox;
28class QLineEdit;
29class QTextEdit;
30
31namespace qpdfview
32{
33
34struct BookmarkItem;
35
36class BookmarkDialog : public QDialog
37{
38    Q_OBJECT
39
40public:
41    BookmarkDialog(BookmarkItem& bookmark, QWidget* parent = 0);
42
43public slots:
44    void accept();
45
46protected:
47    void showEvent(QShowEvent*);
48
49private:
50    Q_DISABLE_COPY(BookmarkDialog)
51
52    BookmarkItem& m_bookmark;
53
54    QLineEdit* m_pageEdit;
55    QLineEdit* m_labelEdit;
56    QTextEdit* m_commentEdit;
57    QLineEdit* m_modifiedEdit;
58
59    QDialogButtonBox* m_dialogButtonBox;
60
61};
62
63} // qpdfview
64
65#endif // BOOKMARKDIALOG_H
Note: See TracBrowser for help on using the repository browser.