Back to index

scribus-ng  1.3.4.dfsg+svn20071115
picsearch.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef PICSEARCH_H
00008 #define PICSEARCH_H
00009 
00010 #include <qdialog.h>
00011 #include <qcheckbox.h>
00012 #include <qlabel.h>
00013 #include <qlistbox.h>
00014 #include <qpushbutton.h>
00015 #include <qlayout.h>
00016 #include <qtooltip.h>
00017 #include <qstringlist.h>
00018 
00019 #include "scribusapi.h"
00020 #include "picsearchbase.h"
00021 
00022 
00026 class SCRIBUS_API PicSearch : public PicSearchBase
00027 { 
00028        Q_OBJECT
00029 
00030 public:
00038        PicSearch( QWidget* parent, const QString & fileName, const QStringList & avalableFiles);
00039        ~PicSearch() {};
00040 
00042        QString currentImage;
00043 
00044 private slots:
00049        void previewCheckBox_clicked();
00055        void foundFilesBox_clicked(QListBoxItem *c);
00060        void createPreview();
00061 
00062 signals:
00064        void rowPicChanged(unsigned int);
00065 
00066 protected:
00067        QSize minS;
00068 };
00069 
00070 #endif // PICSEARCH_H