/usr/include/scribus/prefsdialogbase.h is in scribus-dev 1.4.6+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | /*
For general Scribus (>=1.3.2) copyright and licensing information please refer
to the COPYING file provided with the program. Following this notice may exist
a copyright and/or license notice that predates the release of Scribus 1.3.2
for which a new license (GPL+exception) is in place.
*/
#ifndef PREFSDIALOGBASE_H
#define PREFSDIALOGBASE_H
#include <QDialog>
#include <QListWidget>
#include <QMap>
class QEvent;
class QHBoxLayout;
class QLabel;
class QListWidgetItem;
class QPushButton;
class QStackedWidget;
class QVBoxLayout;
#include "scribusapi.h"
class SCRIBUS_API OptionListWidget : public QListWidget
{
Q_OBJECT
public:
OptionListWidget(QWidget* parent);
~OptionListWidget() {};
void arrangeIcons();
};
class SCRIBUS_API PrefsDialogBase : public QDialog
{
Q_OBJECT
public:
PrefsDialogBase( QWidget* parent = 0 );
~PrefsDialogBase() {};
virtual void changeEvent(QEvent *e);
int addItem(QString name, QPixmap icon, QWidget *tab);
// void arrangeIcons();
QStackedWidget* prefsWidgets;
QPushButton* backToDefaults;
//! \brief Apply changes but don't close the dialog.
QPushButton* applyChangesButton;
QPushButton* buttonOk;
QPushButton* buttonCancel;
QPushButton* saveButton;
OptionListWidget* prefsSelection;
QMap<QListWidgetItem*, int> itemMap;
int counter;
public slots:
void itemSelected(QListWidgetItem* ic);
void newItemSelected();
signals:
void aboutToShow(QWidget *);
protected:
QVBoxLayout* prefsLayout;
QHBoxLayout* layout3;
QHBoxLayout* layout4;
QVBoxLayout* layout5;
QLabel* tabNameLabel;
protected slots:
virtual void languageChange();
virtual void saveButton_clicked();
};
#endif
|