Back to index

scribus-ng  1.3.4.dfsg+svn20071115
picsearchoptions.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 PICSEARCHOPTIONS_H
00008 #define PICSEARCHOPTIONS_H
00009 
00010 #include "scribusapi.h"
00011 #include "picsearchoptionsbase.h"
00012 
00013 class FileSearch;
00014 
00015 class SCRIBUS_API PicSearchOptions : public PicSearchOptionsBase
00016 { 
00017        Q_OBJECT
00018 
00019 public:
00020        PicSearchOptions(QWidget* parent, const QString & fileName,const QString & searchBase);
00021        ~PicSearchOptions() {};
00022        QString dirToSearch;
00023        QString m_fileName;
00024        QStringList m_matches;
00025        bool m_userCancelled;
00026 
00027 private slots:
00028        void changeSearchDir();
00029        void SearchPic();
00030        void SearchPicAborted(bool userCancelled);
00031        void SearchPicFinished(const QStringList & matches, const QString & fileName);
00032        void timerDone();
00033 
00034 
00035 protected:
00040        void setSearchButton(bool toCancel, const FileSearch* searcher);
00041 };
00042 
00043 #endif