/usr/include/scribus/nodeeditpalette.h is in scribus 1.4.0.dfsg+r17300-1.1.
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 | /*
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 NODEPALETTE_H
#define NODEPALETTE_H
#include <QToolTip>
#include <QCheckBox>
#include <QLabel>
#include <QPushButton>
#include <QSpinBox>
#include <QToolButton>
#include <QGroupBox>
#include <QRadioButton>
#include <QGridLayout>
#include <QVBoxLayout>
#include <QCloseEvent>
class QEvent;
#include "scribusapi.h"
#include "scrpalettebase.h"
#include "scrspinbox.h"
class ScribusDoc;
class ScribusView;
class SCRIBUS_API NodePalette : public ScrPaletteBase
{
Q_OBJECT
public:
NodePalette( QWidget* parent);
~NodePalette() {};
virtual void changeEvent(QEvent *e);
QToolButton* MoveNode;
QToolButton* MoveControl;
QToolButton* AddNode;
QToolButton* DeleteNode;
QToolButton* AsymMove;
QToolButton* SymMove;
QToolButton* ResNode;
QToolButton* Res1Node;
QToolButton* PolySplit;
QToolButton* BezierClose;
QToolButton* PolyMirrorH;
QToolButton* PolyMirrorV;
QToolButton* PolyShearL;
QToolButton* PolyShearR;
QToolButton* PolyShearU;
QToolButton* PolyShearD;
QToolButton* RotateCCW;
QToolButton* RotateCW;
QToolButton* Expand;
QToolButton* Shrink;
QToolButton* Enlarge;
QToolButton* Reduce;
QGroupBox* AbsMode;
QRadioButton* absToCanvas;
QRadioButton* absToPage;
QCheckBox* EditCont;
QLabel* TextLabel1;
ScrSpinBox* YSpin;
QLabel* TextLabel2;
ScrSpinBox* XSpin;
QSpinBox *RotVal;
QSpinBox *scalePercentage;
ScrSpinBox *scaleDistance;
QPushButton* ResetCont;
QPushButton* ResetContClip;
QPushButton* ResetShape2Clip;
QPushButton* editEditButton;
void setDoc(ScribusDoc *dc, ScribusView *vi);
ScribusDoc* currentDocument() const;
ScribusDoc *doc;
ScribusView *view;
private slots:
void closeEvent(QCloseEvent *);
void MoveK();
void AddN();
void DelN();
void MovePoint();
void SetSym();
void SetAsym();
void ResetControl();
void Reset1Control();
void ResetContour();
void ResetContourToImageClip();
void ResetShapeToImageClip();
void CloseBezier();
void SplitPoly();
void MirrorH();
void MirrorV();
void doRotCCW();
void doRotCW();
void doShrink();
void doExpand();
void doReduce();
void doEnlarge();
void ShearR();
void ShearL();
void ShearU();
void ShearD();
void ToggleAbsMode();
void ToggleConMode();
public slots:
void MoveN();
void SetXY(double x, double y);
void HaveNode(bool have, bool mov);
void IsOpen();
void PolyStatus(int typ, uint size);
void languageChange();
void unitChange();
void EndEdit(); // allow remote close
protected:
void connectSignals();
void disconnectSignals();
QVBoxLayout *vboxLayout;
QVBoxLayout *vboxLayout1;
QGridLayout *gridLayout;
QGridLayout *gridLayout1;
QGridLayout *gridLayout2;
double unitRatio;
signals:
void Schliessen();
void DocChanged();
};
#endif // NODEPALETTE_H
|