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 ABOUTPLUGINS_H 8 #define ABOUTPLUGINS_H 9 10 #include "ui_aboutplugins.h" 11 class QListWidgetItem; 12 13 /*! \brief Displays info about pligins. 14 This class implements only the non-GUI parts of the 15 About Plug-ins dialog. Please use Qt Designer on 16 aboutpluginsbase.ui if you need to modify the layout, 17 widget properties, etc. 18 */ 19 class AboutPlugins : public QDialog, Ui::AboutPlugins 20 { 21 Q_OBJECT 22 23 public: 24 AboutPlugins(QWidget* parent); 25 ~AboutPlugins(); 26 27 private slots: 28 //! \brief Update the info on a new selection 29 void displayPlugin(QListWidgetItem* currItem, QListWidgetItem* prevItem); 30 31 private: 32 //! \brief Map list entry IDs to plugin names 33 QStringList pluginNames; 34 /*! \brief Convert string into its HTML safe representation 35 \param s string to process 36 \retval QString a string with changed lt/gt 37 */ 38 QString htmlize(QString s); 39 }; 40 41 #endif 42