View Full Version : Custom SVG Widget problem
jeff28
17th August 2012, 09:21
I am tring to make my own custom svg widget. I have used the exapmles of Qt.When I run this program eventhough I have promoted my DisplayWidget I don't get anything on the window where there should be widget with a SVG image. Can somebody help me please?
maximebd
17th August 2012, 16:13
Ok, so if I understand you correctly (and that was hard because you didn't provide much information), you have a main window to which you added a promoted QWidget in the .ui file, but when you lunch the application nothing is drawn where you would have expected a svg. Did you re-implement your void painteEvent(QPaintEvent*) correctly? Please provide code snippet using
so that we can provide further assistance.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.