├── README.md ├── add-cmake ├── CMakeLists.txt ├── README.md └── src │ └── maths.cpp ├── add ├── README.md └── src │ └── maths.cpp ├── classes ├── CMakeLists.txt ├── README.md └── src │ └── main.cpp ├── eval-file-pyqt5-set-value ├── CMakeLists.txt ├── README.md ├── python │ └── input-number.py └── src │ └── main.cpp ├── eval-file-pyqt5 ├── CMakeLists.txt ├── README.md ├── python │ └── pyqt5.py └── src │ └── main.cpp ├── eval-file-pyside6 ├── CMakeLists.txt ├── python │ └── message_box.py └── src │ └── main.cpp ├── eval-file ├── CMakeLists.txt ├── README.md ├── python │ └── set-the-y.py ├── setDogName.py └── src │ └── main.cpp ├── eval-pyside6-twice ├── CMakeLists.txt ├── README.md └── src │ └── main.cpp ├── eval-set-object-module ├── CMakeLists.txt ├── README.md ├── python │ └── set-bar.py └── src │ ├── foo.cpp │ ├── foo.h │ └── main.cpp ├── eval-set-object ├── CMakeLists.txt ├── README.md └── src │ └── main.cpp ├── qt5-pyqt5 ├── CMakeLists.txt ├── README.md ├── python │ └── set-bar.py └── src │ ├── main.cpp │ ├── mainwindow.cpp │ ├── mainwindow.h │ ├── sample.cpp │ ├── sample.h │ ├── scripter.cpp │ ├── scripter.h │ ├── scripterAPI.cpp │ └── scripterAPI.h ├── qt5-signals └── README.md ├── scripter-api ├── CMakeLists.txt ├── README.md ├── python │ └── set-bar.py └── src │ ├── main.cpp │ ├── sample │ ├── document.h │ ├── margin.h │ └── page.h │ ├── scripter.cpp │ ├── scripter.h │ └── scripterAPI │ ├── document.cpp │ ├── document.h │ ├── margin.cpp │ ├── margin.h │ ├── page.cpp │ ├── page.h │ ├── scripterAPI.cpp │ └── scripterAPI.h ├── scripter-class-in-class ├── CMakeLists.txt ├── README.md ├── python │ └── set-bar.py └── src │ ├── bar.cpp │ ├── bar.h │ ├── foo.cpp │ ├── foo.h │ ├── main.cpp │ ├── scripter.cpp │ └── scripter.h ├── scripter-class ├── CMakeLists.txt ├── README.md ├── python │ └── set-bar.py └── src │ ├── foo.cpp │ ├── foo.h │ ├── main.cpp │ ├── scripter.cpp │ └── scripter.h └── scripting ├── CMakeLists.txt ├── README.md ├── cmake └── FindPybind11.cmake └── src ├── api-pet.cpp ├── main.cpp └── pet.h /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/README.md -------------------------------------------------------------------------------- /add-cmake/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/add-cmake/CMakeLists.txt -------------------------------------------------------------------------------- /add-cmake/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/add-cmake/README.md -------------------------------------------------------------------------------- /add-cmake/src/maths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/add-cmake/src/maths.cpp -------------------------------------------------------------------------------- /add/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/add/README.md -------------------------------------------------------------------------------- /add/src/maths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/add/src/maths.cpp -------------------------------------------------------------------------------- /classes/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/classes/CMakeLists.txt -------------------------------------------------------------------------------- /classes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/classes/README.md -------------------------------------------------------------------------------- /classes/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/classes/src/main.cpp -------------------------------------------------------------------------------- /eval-file-pyqt5-set-value/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5-set-value/CMakeLists.txt -------------------------------------------------------------------------------- /eval-file-pyqt5-set-value/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5-set-value/README.md -------------------------------------------------------------------------------- /eval-file-pyqt5-set-value/python/input-number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5-set-value/python/input-number.py -------------------------------------------------------------------------------- /eval-file-pyqt5-set-value/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5-set-value/src/main.cpp -------------------------------------------------------------------------------- /eval-file-pyqt5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5/CMakeLists.txt -------------------------------------------------------------------------------- /eval-file-pyqt5/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5/README.md -------------------------------------------------------------------------------- /eval-file-pyqt5/python/pyqt5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5/python/pyqt5.py -------------------------------------------------------------------------------- /eval-file-pyqt5/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyqt5/src/main.cpp -------------------------------------------------------------------------------- /eval-file-pyside6/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyside6/CMakeLists.txt -------------------------------------------------------------------------------- /eval-file-pyside6/python/message_box.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyside6/python/message_box.py -------------------------------------------------------------------------------- /eval-file-pyside6/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file-pyside6/src/main.cpp -------------------------------------------------------------------------------- /eval-file/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file/CMakeLists.txt -------------------------------------------------------------------------------- /eval-file/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file/README.md -------------------------------------------------------------------------------- /eval-file/python/set-the-y.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file/python/set-the-y.py -------------------------------------------------------------------------------- /eval-file/setDogName.py: -------------------------------------------------------------------------------- 1 | if __name__ == '__main__': 2 | print("tim") 3 | -------------------------------------------------------------------------------- /eval-file/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-file/src/main.cpp -------------------------------------------------------------------------------- /eval-pyside6-twice/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-pyside6-twice/CMakeLists.txt -------------------------------------------------------------------------------- /eval-pyside6-twice/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-pyside6-twice/README.md -------------------------------------------------------------------------------- /eval-pyside6-twice/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-pyside6-twice/src/main.cpp -------------------------------------------------------------------------------- /eval-set-object-module/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object-module/CMakeLists.txt -------------------------------------------------------------------------------- /eval-set-object-module/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object-module/README.md -------------------------------------------------------------------------------- /eval-set-object-module/python/set-bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object-module/python/set-bar.py -------------------------------------------------------------------------------- /eval-set-object-module/src/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object-module/src/foo.cpp -------------------------------------------------------------------------------- /eval-set-object-module/src/foo.h: -------------------------------------------------------------------------------- 1 | struct Foo { 2 | int bar = 1; 3 | }; 4 | 5 | -------------------------------------------------------------------------------- /eval-set-object-module/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object-module/src/main.cpp -------------------------------------------------------------------------------- /eval-set-object/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object/CMakeLists.txt -------------------------------------------------------------------------------- /eval-set-object/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object/README.md -------------------------------------------------------------------------------- /eval-set-object/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/eval-set-object/src/main.cpp -------------------------------------------------------------------------------- /qt5-pyqt5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/CMakeLists.txt -------------------------------------------------------------------------------- /qt5-pyqt5/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/README.md -------------------------------------------------------------------------------- /qt5-pyqt5/python/set-bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/python/set-bar.py -------------------------------------------------------------------------------- /qt5-pyqt5/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/main.cpp -------------------------------------------------------------------------------- /qt5-pyqt5/src/mainwindow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/mainwindow.cpp -------------------------------------------------------------------------------- /qt5-pyqt5/src/mainwindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/mainwindow.h -------------------------------------------------------------------------------- /qt5-pyqt5/src/sample.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/sample.cpp -------------------------------------------------------------------------------- /qt5-pyqt5/src/sample.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/sample.h -------------------------------------------------------------------------------- /qt5-pyqt5/src/scripter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/scripter.cpp -------------------------------------------------------------------------------- /qt5-pyqt5/src/scripter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/scripter.h -------------------------------------------------------------------------------- /qt5-pyqt5/src/scripterAPI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/scripterAPI.cpp -------------------------------------------------------------------------------- /qt5-pyqt5/src/scripterAPI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-pyqt5/src/scripterAPI.h -------------------------------------------------------------------------------- /qt5-signals/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/qt5-signals/README.md -------------------------------------------------------------------------------- /scripter-api/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/CMakeLists.txt -------------------------------------------------------------------------------- /scripter-api/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/README.md -------------------------------------------------------------------------------- /scripter-api/python/set-bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/python/set-bar.py -------------------------------------------------------------------------------- /scripter-api/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/main.cpp -------------------------------------------------------------------------------- /scripter-api/src/sample/document.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/sample/document.h -------------------------------------------------------------------------------- /scripter-api/src/sample/margin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/sample/margin.h -------------------------------------------------------------------------------- /scripter-api/src/sample/page.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/sample/page.h -------------------------------------------------------------------------------- /scripter-api/src/scripter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripter.cpp -------------------------------------------------------------------------------- /scripter-api/src/scripter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripter.h -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/document.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/document.cpp -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/document.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/document.h -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/margin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/margin.cpp -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/margin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/margin.h -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/page.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/page.cpp -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/page.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/page.h -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/scripterAPI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/scripterAPI.cpp -------------------------------------------------------------------------------- /scripter-api/src/scripterAPI/scripterAPI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-api/src/scripterAPI/scripterAPI.h -------------------------------------------------------------------------------- /scripter-class-in-class/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/CMakeLists.txt -------------------------------------------------------------------------------- /scripter-class-in-class/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/README.md -------------------------------------------------------------------------------- /scripter-class-in-class/python/set-bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/python/set-bar.py -------------------------------------------------------------------------------- /scripter-class-in-class/src/bar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/src/bar.cpp -------------------------------------------------------------------------------- /scripter-class-in-class/src/bar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/src/bar.h -------------------------------------------------------------------------------- /scripter-class-in-class/src/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/src/foo.cpp -------------------------------------------------------------------------------- /scripter-class-in-class/src/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/src/foo.h -------------------------------------------------------------------------------- /scripter-class-in-class/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/src/main.cpp -------------------------------------------------------------------------------- /scripter-class-in-class/src/scripter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/src/scripter.cpp -------------------------------------------------------------------------------- /scripter-class-in-class/src/scripter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class-in-class/src/scripter.h -------------------------------------------------------------------------------- /scripter-class/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class/CMakeLists.txt -------------------------------------------------------------------------------- /scripter-class/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class/README.md -------------------------------------------------------------------------------- /scripter-class/python/set-bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class/python/set-bar.py -------------------------------------------------------------------------------- /scripter-class/src/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class/src/foo.cpp -------------------------------------------------------------------------------- /scripter-class/src/foo.h: -------------------------------------------------------------------------------- 1 | struct Foo { 2 | int bar = 1; 3 | }; 4 | 5 | -------------------------------------------------------------------------------- /scripter-class/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class/src/main.cpp -------------------------------------------------------------------------------- /scripter-class/src/scripter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class/src/scripter.cpp -------------------------------------------------------------------------------- /scripter-class/src/scripter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripter-class/src/scripter.h -------------------------------------------------------------------------------- /scripting/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripting/CMakeLists.txt -------------------------------------------------------------------------------- /scripting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripting/README.md -------------------------------------------------------------------------------- /scripting/cmake/FindPybind11.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripting/cmake/FindPybind11.cmake -------------------------------------------------------------------------------- /scripting/src/api-pet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripting/src/api-pet.cpp -------------------------------------------------------------------------------- /scripting/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripting/src/main.cpp -------------------------------------------------------------------------------- /scripting/src/pet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aoloe/cpp-pybind11-playground/HEAD/scripting/src/pet.h --------------------------------------------------------------------------------