PDA

View Full Version : qcombobox & QPushbutton is very slow in my application



mekalapandiyan@gmail.com
24th January 2013, 04:41
Hi,

i am using graphics , qcombobox, qpushbutton, qtreewidget, qtablewidget, grid view, etc... in my application. when i load my application in debug mode , the application is very slow & freeze some time.
In normal mode, static widget like(qcombobox, qpushbutton) working very slow. when i press combo box, it takes 2min. some time freeze.

what is the main reason? what are things i have review my code. please anyone can help this issue.

anda_skoa
24th January 2013, 12:43
There is not enough information for any kind of help above guessing.

Cheers,
_

mekalapandiyan@gmail.com
25th January 2013, 04:16
I have 20 pushbutton in my application. After Loading exe, i press all the button at and time, i will add all the button name to combo box.

if i press combo box, its opening get slow for some time. but my exe size also very big.

if i run in debug mode, my application is getting freeze for some.

one more information, separate thread for graphicsitem position update.

Santosh Reddy
25th January 2013, 04:22
one more information, separate thread for graphicsitem position update.
Remove the thread / don't run the thread and see some is some magic happens.

Show us what you are doing, and how you are doing?

wysota
25th January 2013, 11:37
one more information, separate thread for graphicsitem position update.
You cannot manipulate graphics items in a worker thread.