dpatel
9th June 2010, 07:41
Hi,
I am creating an application which has following features/limitation
-I have to create all the widgets in UI along with the layout by code. I don't have .ui file.
-The number of widgets to be created is dynamic
-Since the number of widgets is not fixed, I will use QSignalMapper to map signals for the widgets and slots.
-I have to provide Zoom in and Zoom out feature for the application
Currently I am trying to create all the widgets and add it to layout. And then add the layout to another QWidget by setLayout. Then I add this widget to scene which is associated to QGraphicsView. I am getting 'Access violation' while I am trying to connect the signal slots.
Can someone advise me on possible approach that will work for this application.
Thanks
I am creating an application which has following features/limitation
-I have to create all the widgets in UI along with the layout by code. I don't have .ui file.
-The number of widgets to be created is dynamic
-Since the number of widgets is not fixed, I will use QSignalMapper to map signals for the widgets and slots.
-I have to provide Zoom in and Zoom out feature for the application
Currently I am trying to create all the widgets and add it to layout. And then add the layout to another QWidget by setLayout. Then I add this widget to scene which is associated to QGraphicsView. I am getting 'Access violation' while I am trying to connect the signal slots.
Can someone advise me on possible approach that will work for this application.
Thanks