Scribus
Open source desktop publishing at your fingertips
picsearch.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef PICSEARCH_H
8 #define PICSEARCH_H
9 
10 #include <QDialog>
11 #include <QListWidgetItem>
12 #include <QCheckBox>
13 #include <QLabel>
14 #include <QPushButton>
15 #include <QLayout>
16 #include <QToolTip>
17 #include <QStringList>
18 
19 #include "scribusapi.h"
20 #include "ui_picsearch.h"
21 
22 
26 class SCRIBUS_API PicSearch : public QDialog, Ui::PicSearch
27 {
28  Q_OBJECT
29 
30 public:
38  PicSearch( QWidget* parent, const QString & fileName, const QStringList & avalableFiles);
39  ~PicSearch() {};
40 
42  QString currentImage;
43 
44 private slots:
49  void previewCheckBox_clicked();
55  void foundFilesBox_clicked(QListWidgetItem *c);
60  void createPreview();
61 
62 signals:
64  void rowPicChanged(unsigned int);
65 
66 protected:
67  QSize minS;
68 };
69 
70 #endif // PICSEARCH_H
Dialog for selecting one of all images founded. It's called after image search Extras/Manage Pictures...
Definition: picsearch.h:26