/usr/include/scribus/styleselect.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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | /*
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 STYLESELECT_H
#define STYLESELECT_H
#include <QFrame>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QMenu>
#include <QPixmap>
#include <QToolButton>
#include <QToolTip>
#include <QWidgetAction>
class QEvent;
#include "scrspinbox.h"
#include "scribusapi.h"
class SCRIBUS_API StrikeValues : public QFrame
{
Q_OBJECT
public:
StrikeValues( QWidget* parent );
~StrikeValues() {};
ScrSpinBox* LPos;
ScrSpinBox* LWidth;
QLabel* LPosTxt;
QLabel* LWidthTxt;
public slots:
void languageChange();
protected:
QGridLayout* group1Layout;
};
class SCRIBUS_API UnderlineValues : public QFrame
{
Q_OBJECT
public:
UnderlineValues( QWidget* parent );
~UnderlineValues() {};
ScrSpinBox* LPos;
ScrSpinBox* LWidth;
QLabel* LPosTxt;
QLabel* LWidthTxt;
public slots:
void languageChange();
protected:
QGridLayout* group1Layout;
};
class SCRIBUS_API OutlineValues : public QFrame
{
Q_OBJECT
public:
OutlineValues( QWidget* parent );
~OutlineValues() {};
ScrSpinBox* LWidth;
QLabel* LWidthTxt;
public slots:
void languageChange();
protected:
QGridLayout* group1Layout;
};
class SCRIBUS_API ShadowValues : public QFrame
{
Q_OBJECT
public:
ShadowValues( QWidget* parent );
~ShadowValues() {};
ScrSpinBox* Xoffset;
ScrSpinBox* Yoffset;
QLabel* XoffsetTxt;
QLabel* YoffsetTxt;
public slots:
void languageChange();
protected:
QGridLayout* group1Layout;
};
class SCRIBUS_API StyleSelect : public QWidget
{
Q_OBJECT
public:
StyleSelect(QWidget* parent);
~StyleSelect() {};
virtual void changeEvent(QEvent *e);
void setStyle(int s);
int getStyle();
ShadowValues* ShadowVal;
OutlineValues* OutlineVal;
UnderlineValues* UnderlineVal;
StrikeValues* StrikeVal;
public slots:
void languageChange();
private slots:
void setTypeStyle();
signals:
void State(int);
protected:
QHBoxLayout* ssLayout;
QToolButton* underlineButton;
QToolButton* underlineWordButton;
QToolButton* subscriptButton;
QToolButton* superscriptButton;
QToolButton* smallcapsButton;
QToolButton* allcapsButton;
QToolButton* strikeoutButton;
QToolButton* outlineButton;
QToolButton* shadowButton;
QMenu* ShadowPop;
QMenu* OutlinePop;
QMenu* UnderlinePop;
QMenu* StrikePop;
QWidgetAction* StrikeValAct;
QWidgetAction* ShadowValAct;
QWidgetAction* OutlineValAct;
QWidgetAction* UnderlineValAct;
};
#endif
|