GitHub - CalvinML/libqgcodeeditor: A Qt5 designer widget plugin for editing G-code. · GitHub
Skip to content

CalvinML/libqgcodeeditor

 
 

Folders and files

Repository files navigation

A Qt5 designer widget plugin for syntax highlighting and editing G-code:

Based upon QPlainTextEdit, with added comment and syntax highlighting plus line highlighting for use showing currently executing line in a GUI.

To use on Windows/Linux/Mac clone and build with:

gh repo clone QGCoder/libqgcodeeditor
cd libqgcodeeditor
qmake
make
sudo make install

To run one of the examples:

cd examples
qmake
make
./simple/simple
./contextMenu/contextMenu

A benchmark can be found in examples/pipe/.

Ubuntu/Debian packaging

To build and install libqgcodeeditor as an Ubuntu/Debian package, run:

gh repo clone QGCoder/libqgcodeeditor
cd libqgcodeeditor
sudo apt -y -qq install devscripts equivs
mk-build-deps -i -s sudo -t "apt --yes --no-install-recommends"
dpkg-buildpackage -b -rfakeroot -us -uc
sudo dpkg -i ../libqgcodeeditor*deb

-- Tested on Ubuntu 21.04.

C/C++ CI CodeQL

Authors

  • ArcEyeArcEye - Initial version based on QtMDI.
  • Jakob Flierlkoppi - Debian packaging.

About

A Qt5 designer widget plugin for editing G-code.

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

  • C++ 84.7%
  • QMake 15.3%