diff options
| author | Mikko Syrjä <mikko@3d-system.fi> | 2019-02-07 00:49:47 +0200 |
|---|---|---|
| committer | Mikko Syrjä <mikko@3d-system.fi> | 2019-02-07 00:49:47 +0200 |
| commit | 4ba65342d3ce4d8945340a90b33d57a8932bf15d (patch) | |
| tree | 5cd05392f65ccaead8464ea93abe50d6a2227aaf /symedit.cpp | |
| parent | 66b2fdf05599e2c9b59230c2772fe140e8c24f5b (diff) | |
| download | symedit-4ba65342d3ce4d8945340a90b33d57a8932bf15d.tar.gz symedit-4ba65342d3ce4d8945340a90b33d57a8932bf15d.zip | |
Added C++ connection manager class.
Diffstat (limited to 'symedit.cpp')
| -rw-r--r-- | symedit.cpp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/symedit.cpp b/symedit.cpp new file mode 100644 index 0000000..f077370 --- /dev/null +++ b/symedit.cpp @@ -0,0 +1,48 @@ +#include <QGuiApplication> + +#include "symedit.h" + +//! Constructor. +/*! + \param parent //!< Optional parent. +*/ +SymEdit::SymEdit(QObject* parent) : QObject(parent) +{ + clipboard = QGuiApplication::clipboard(); +} + +// +void SymEdit::setFill(bool fill) +{ + //## +} + +// +bool SymEdit::getFill() const +{ + return true; //## +} + +// +void SymEdit::setSnap(int snap) +{ + //## +} + +// +int SymEdit::getSnap() const +{ + return 5; //## +} + +// +void SymEdit::setAlign(int align) +{ + //## +} + +// +int SymEdit::getAlign() const +{ + return 9; //## +} |
