August 21, 2012

big_buka big_buka
Lab Rat
3 posts

[solved] some misunderstanding while using qt

 

I’m new in Qt(abaut 1-2 weeks of using it). I’m writing some gui application.
question:
all slots of GUI-objects like QMainWindow QDialg QStyledItemDelegate are executrd in GUI threads, aren’t they?
if so i have some problem… i have a tabWiget and a timer to update data on it. when user changes tab application crushes with C0000005 – Acces Voutation in QTCore.dll this problem is OS-specifik actualy only on Windows XP x86
some more info
i have a QListView with my own model
when user selected a new QListView Item data on tab wiget should be changed.
I implemented it in such way:
i connected to QListView clicked(const QModelIndex &) Signal from there get index.row() stored it in int value
QTimer was set for 1 sec to update tabs…
My be any one will give an advise for better realisation…

2 replies

August 21, 2012

Lukas Geyer Lukas Geyer
Gene Splicer
2074 posts

It would be helpful if you post some code.

August 21, 2012

big_buka big_buka
Lab Rat
3 posts

Sorry for disturbing i figured out the problem

 
  ‹‹ How to select/highlight more than one item in QML GridView?      Fail to get active focus on ListView enclosed in FocusScope after changing it’s visibility ››

You must log in to post a reply. Not a member yet? Register here!