I am implementing a desktop application and need to update the WindowTitle of the QDeclarativeView based on the actions of the user (e.g. opening a file for edit will set the title to: "Plot Analysis - Plot Configuration 1").
The Window Title is initially set in main.cpp
Q_DECL_EXPORT int main(int argc, char *argv[])
....
QDeclarativeView view;
view.setWindowTitle("Plot Analysis");
....
return app->exec();
}
How do I reference "view" from a qml component (file)?
Bookmarks