rajeshs
25th July 2007, 05:27
Hello All,
I am using QT 4.3 , My Application should be run on 32 mb ram machine, I am using ListWidget in my application , each time when i press up and down button i am giving scrolling of elements by using scrolltoitem() which in term takes items from QList as follows,
QList<QListWidgetItem*> listItem1=m_pListWidget->findItems(list.value(position),Qt::MatchExactly);
if(!listItem.isEmpty())
m_pListWidget->scrollToItem(listItem1.value(0),QAbstractItemView: :PositionAtTop);
Here m_pListWidget is QListWidget, list is QList which has whole data
Like this I have 4 ListWidgets While scrolling like this its taking more time,
Is there any option to optimize application by disabling unwanted options from qt Makefile or Configure file, Because my application should be run on 32 mb ram machine
I am using QT 4.3 , My Application should be run on 32 mb ram machine, I am using ListWidget in my application , each time when i press up and down button i am giving scrolling of elements by using scrolltoitem() which in term takes items from QList as follows,
QList<QListWidgetItem*> listItem1=m_pListWidget->findItems(list.value(position),Qt::MatchExactly);
if(!listItem.isEmpty())
m_pListWidget->scrollToItem(listItem1.value(0),QAbstractItemView: :PositionAtTop);
Here m_pListWidget is QListWidget, list is QList which has whole data
Like this I have 4 ListWidgets While scrolling like this its taking more time,
Is there any option to optimize application by disabling unwanted options from qt Makefile or Configure file, Because my application should be run on 32 mb ram machine