hi all,
i am new to this world of qt...
I need to create an application where on my window if i take right click i need to get a context menu.. with some actions like cut, copy, paste, select all, etc....
menu->addAction("Cut");
menu->addAction("Copy");
menu->addAction("Paste");
menu->addSeparator();
menu->addAction("Select All");
......(list goes to 10)....
connect(menu,
SIGNAL(triggered
(QAction*)),
SLOT(triggeredSlot
(QAction*)));
menu = new QMenu(this);
menu->addAction("Cut");
menu->addAction("Copy");
menu->addAction("Paste");
menu->addSeparator();
menu->addAction("Select All");
......(list goes to 10)....
connect(menu, SIGNAL(triggered(QAction*)), SLOT(triggeredSlot(QAction*)));
To copy to clipboard, switch view to plain text mode
i am getting many errors... with my application...
can any one tell me what to do .... please.....
Bookmarks