diff options
| author | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-01-01 11:40:09 +0000 |
|---|---|---|
| committer | craig <craig@11d20701-8431-0410-a711-e3c959e3b870> | 2012-01-01 11:40:09 +0000 |
| commit | 7ed83b6c6666eb8b6b104c211ae7e52907350372 (patch) | |
| tree | 4430b556abac0ad660a0aacf1887d77f85d8be02 /scribus/nodeeditpalette.h | |
| download | scribus-7ed83b6c6666eb8b6b104c211ae7e52907350372.tar.gz scribus-7ed83b6c6666eb8b6b104c211ae7e52907350372.tar.xz scribus-7ed83b6c6666eb8b6b104c211ae7e52907350372.zip | |
Branch 1.3.5 tree to 1.4.x tree, goodbye 1.3.x
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17163 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/nodeeditpalette.h')
| -rw-r--r-- | scribus/nodeeditpalette.h | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/scribus/nodeeditpalette.h b/scribus/nodeeditpalette.h new file mode 100644 index 0000000..87ed1b5 --- /dev/null +++ b/scribus/nodeeditpalette.h @@ -0,0 +1,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 |
