hey there i was in the middle of creating my menus and added a cut, copy and paste actions to the edit menu. they are supposed to show the .png files of the cut copy and paste pics but after comiplation they dont show up and i cant figure out why? heres my code below:
pasteAct
= new QAction(QIcon(":/images/paste.png"), tr
("Pa&ste"),
this);
pasteAct->setShortcut(tr("Ctrl+V"));
editMenu->addAction(pasteAct);
connect(pasteAct, SIGNAL(triggered()), this, SLOT(paste()));
pasteAct = new QAction(QIcon(":/images/paste.png"), tr("Pa&ste"), this);
pasteAct->setShortcut(tr("Ctrl+V"));
editMenu->addAction(pasteAct);
connect(pasteAct, SIGNAL(triggered()), this, SLOT(paste()));
To copy to clipboard, switch view to plain text mode
i have a folder named images inside my application folder with the pictures but it still doesnt show, any ideas??
Bookmarks