tonnot
24th March 2011, 11:54
I'like Qdesigner would include <QListWidgetItem> when I use the 'gotoSlot' on a QListWidget-listitemclicked. Now I have to do manually.
Now, Designer only write this line by me (when a use gotoslot ) :
void on_listWidget_itemClicked(QListWidgetItem* item);
But the ui_ui.h file does not include <QListWidgetItem>
So, I have to include <QListWidgetItem>, because if not I have an error.
I'm doing some bad? Why does not designer does the work ?
(If I'm going to use this slot .... it does not sense I have not include <QListWidgetItem>)
Any help ? Maybe it be a future feature of Designer ?Thanks.
Now, Designer only write this line by me (when a use gotoslot ) :
void on_listWidget_itemClicked(QListWidgetItem* item);
But the ui_ui.h file does not include <QListWidgetItem>
So, I have to include <QListWidgetItem>, because if not I have an error.
I'm doing some bad? Why does not designer does the work ?
(If I'm going to use this slot .... it does not sense I have not include <QListWidgetItem>)
Any help ? Maybe it be a future feature of Designer ?Thanks.