Hi everybody,
QT: 4.1.3
COMPILER: Mingw
OS: WinXP Pro
My app is able to show and change a pixmap on a QLabel by changing the selection on a Q3ListView. On changing the selection i call this function to show the pixmap:
connect(ui.listView, SIGNAL(selectionChanged ()), this, SLOT(getPicA()));
.
.
.
void MainWindow::getPicA()
{
ui.
label->setPixmap
(QPixmap(( ui.
listView->currentItem
() )->text
( 4 )));
}
connect(ui.listView, SIGNAL(selectionChanged ()), this, SLOT(getPicA()));
.
.
.
void MainWindow::getPicA()
{
ui.label->setPixmap(QPixmap(( ui.listView->currentItem() )->text( 4 )));
}
To copy to clipboard, switch view to plain text mode
Now my app is runing on another machine. The Picture are saved on the server. (//pcps391/transfer/images/a.jpg).
If i run my app from the server i can see the picture, but if i run my app from another machine i cant see the pic.
ui.listView->currentItem() )->text( 4 ) = "//pcps391/transfer/images/a.jpg".
If i change a item on my Q3ListView i can feel that the app is slower 
Can somebody see the problem?
Bookmarks