Changeset View
Changeset View
Standalone View
Standalone View
src/editor/keyboardlayouteditor.cpp
Context not available. | |||||
52 | Application::setupDeclarativeBindings(m_view->engine()); | 52 | Application::setupDeclarativeBindings(m_view->engine()); | ||
---|---|---|---|---|---|
53 | 53 | | |||
54 | m_view->rootContext()->setContextProperty(QStringLiteral("keyboardLayoutEditor"), this); | 54 | m_view->rootContext()->setContextProperty(QStringLiteral("keyboardLayoutEditor"), this); | ||
55 | m_view->setSource(QUrl(QStringLiteral("qrc:/qml/keyboard/KeyboardLayoutEditor.qml"))); | 55 | m_view->setSource(QUrl(QStringLiteral("qrc:/ktouch/qml/keyboard/KeyboardLayoutEditor.qml"))); | ||
56 | 56 | | |||
57 | connect(m_newKeyToolButton, &QAbstractButton::clicked, this, &KeyboardLayoutEditor::createNewKey); | 57 | connect(m_newKeyToolButton, &QAbstractButton::clicked, this, &KeyboardLayoutEditor::createNewKey); | ||
58 | connect(m_newSpecialKeyToolButton, &QAbstractButton::clicked, this, &KeyboardLayoutEditor::createNewSpecialKey); | 58 | connect(m_newSpecialKeyToolButton, &QAbstractButton::clicked, this, &KeyboardLayoutEditor::createNewSpecialKey); | ||
Context not available. |