I am modifying the Qt Designer to fit our special needs.
After adding a QLabel widget into the FormWindow and set a pixmap in code, the pixmap image did load properly but when the filepath in the pixmap property box is lost...
Since the QPixmap struct has no members holding the path, this info must be somewhere in the Property Box. How can I access it?
Not will this empty filepath thing be harmful until trying to save the .ui file; it won't be stored in the .ui file so after re-opening the .ui file the label will still be there (text, position will be correct), just the image won't load.
I guess it's soemthing to do with the internal slot & signals things, but no idea how to make this happen, more specifically, how can I indirectly access
void PixmapEditor::setPath(const QString &path)
in designerpropertymanager.cpp?
Any hints or help are gratefully appreciated.
Bookmarks