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 /*************************************************************************** 8 transparencypalette.h - description 9 ------------------- 10 begin : Sun 20150201 11 copyright : (C) 2015 by Craig Bradney 12 email : cbradney@scribus.info 13 ***************************************************************************/ 14 15 /*************************************************************************** 16 * * 17 * This program is free software; you can redistribute it and/or modify * 18 * it under the terms of the GNU General Public License as published by * 19 * the Free Software Foundation; either version 2 of the License, or * 20 * (at your option) any later version. * 21 * * 22 ***************************************************************************/ 23 24 #ifndef DOWNLOADSPALETTE_H 25 #define DOWNLOADSPALETTE_H 26 27 #include "scribusapi.h" 28 #include "scribusstructs.h" 29 #include "ui/scrpalettebase.h" 30 #include "ui_downloadspalettebase.h" 31 32 33 34 class SCRIBUS_API DownloadsPalette : public ScrPaletteBase, public Ui::DownloadsPalette_Base 35 { 36 Q_OBJECT 37 38 public: 39 DownloadsPalette(QWidget* parent); ~DownloadsPalette()40 ~DownloadsPalette() {}; 41 42 //events: 43 //virtual void changeEvent(QEvent *e); 44 45 public slots: 46 void languageChange(); 47 void addDownload(const QString &name, const QString &source, const QString &destination); 48 49 protected: 50 51 }; 52 53 #endif // DOWNLOADSPALETTE_H 54