Back to index

scribus-ng  1.3.4.dfsg+svn20071115
insertaframe.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 //
00008 //
00009 // Author: Craig Bradney <cbradney@zip.com.au>, (C) 2006
00010 //
00011 // Copyright: See COPYING file that comes with this distribution
00012 //
00013 //
00014 
00015 
00016 #ifndef INSERTAFRAME_H
00017 #define INSERTAFRAME_H
00018 
00019 #include "usertaskstructs.h"
00020 #include "insertaframebase.h"
00021 #include "scribusapi.h"
00022 #include "pageitem.h"
00023 
00024 #include <qstring.h>
00025 
00026 class ScribusDoc;
00027 
00028 class SCRIBUS_API InsertAFrame : public InsertAFrameBase
00029 {
00030     Q_OBJECT
00031 
00032 public:
00033        InsertAFrame(QWidget* parent, ScribusDoc *doc);
00034        ~InsertAFrame(){};
00035        
00036        void getNewFrameProperties(InsertAFrameData &iafData);
00037 protected:
00038        ScribusDoc* m_Doc;
00039        ImportSetup m_ImportSetup;
00040        
00041 protected slots:
00042        void slotSelectType(int id);
00043        void slotSelectPagePlacement(int id);
00044        void slotCreatePageNumberRange();
00045        void slotSelectPosition(int id);
00046        void slotSelectSize(int id);
00047        void locateImageFile();
00048        void locateDocFile();
00049 };
00050 
00051 #endif
00052