QMLExecutor plugin gui implementation.
More...
#include <qmlexecutorguiimpl.h>
QMLExecutor plugin gui implementation.
◆ QMLExecutorGuiImpl()
QMLExecutorGuiImpl::QMLExecutorGuiImpl |
( |
QObject * |
parent | ) |
|
|
inlineexplicit |
explicit constructor
- Parameters
-
parent | qt QObject requirement, possibly to remove |
◆ askForQMLReload
bool QMLExecutorGuiImpl::askForQMLReload |
( |
| ) |
|
|
inlineslot |
ask if qml reload should be done
- Returns
- true if yes, false if no
◆ browseAndOpenQML
void QMLExecutorGuiImpl::browseAndOpenQML |
( |
| ) |
|
|
inlineslot |
Slot to do browsing for QML file, calls qml load.
◆ checkQMLModification
void QMLExecutorGuiImpl::checkQMLModification |
( |
| ) |
|
|
inlineslot |
checks if qml file was modified, ask the user and reloads it if needed
◆ editQML
void QMLExecutorGuiImpl::editQML |
( |
| ) |
|
|
inlineslot |
tries to launch system editor for .qml file
◆ handleStatusChange
void QMLExecutorGuiImpl::handleStatusChange |
( |
QQuickWidget::Status |
status | ) |
|
|
inlineslot |
handle status change of qml, just log it
- Parameters
-
◆ loadQML
virtual void QMLExecutorGuiImpl::loadQML |
( |
const QUrl & |
url | ) |
|
|
inlineoverridevirtualslot |
loads qml into a quick widget
- Parameters
-
url | url of a local file to load |
◆ log
void QMLExecutorGuiImpl::log |
( |
const QString & |
text | ) |
|
|
inlineslot |
log message to log area
- Parameters
-
◆ mainWidget()
virtual QWidget * QMLExecutorGuiImpl::mainWidget |
( |
| ) |
|
|
inlineoverridevirtual |
◆ setModel
virtual void QMLExecutorGuiImpl::setModel |
( |
CANBusModel * |
model | ) |
|
|
inlineoverridevirtualslot |
remembers can bus model for qml
- Parameters
-
◆ startQMLFileModificationChecks
void QMLExecutorGuiImpl::startQMLFileModificationChecks |
( |
| ) |
|
|
inlineslot |
starts checking for qml file modification
◆ stopFileModificationChecks
void QMLExecutorGuiImpl::stopFileModificationChecks |
( |
| ) |
|
|
inlineslot |
stops checking for qml file modification
◆ updateUIColor()
void QMLExecutorGuiImpl::updateUIColor |
( |
| ) |
|
|
inlineoverridevirtual |
used to align empty QQuickWidget color with current color scheme
Implements QMLExecutorGuiInt.
The documentation for this class was generated from the following file: