diff options
Diffstat (limited to 'examples/svg/svggenerator/window.cpp')
-rw-r--r-- | examples/svg/svggenerator/window.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/svg/svggenerator/window.cpp b/examples/svg/svggenerator/window.cpp index 0cba3e7..3b983dd 100644 --- a/examples/svg/svggenerator/window.cpp +++ b/examples/svg/svggenerator/window.cpp @@ -59,6 +59,12 @@ Window::Window(QWidget *parent) : QWidget(parent) { setupUi(this); + connect(shapeComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), + this, &Window::updateShape); + connect(colorButton, &QToolButton::clicked, this, &Window::updateColor); + connect(shapeComboBox_2, QOverload<int>::of(&QComboBox::currentIndexChanged), + this, &Window::updateBackground); + connect(toolButton_2, &QToolButton::clicked, this, &Window::saveSvg); } void Window::updateBackground(int background) |