subsurface/qt-ui
Amit Chaudhuri a94e09ad5c Add a slot to mainwindow but amend to use Q_SLOTS
For some reason, 'private slots:' causes a build error but private
Q_SLOTS: works.

The error was that 'slots' did not name a type and it appeared to be
insensitive to whether the Makefile rule for .moc was in its current
place or preceeded the rule for .cpp.

Add a slot using the connectByName idiom e.g. actionNew connects to slot
on_actionNew_triggered(). Use qDebug to show this fires if the menu
option is selected.

Above to demonstrate how to begin to link menu to code paths.

Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-09 06:50:42 -07:00
..
maintab.cpp Start creating the Qt UI 2013-04-07 15:59:33 -07:00
maintab.h Start creating the Qt UI 2013-04-07 15:59:33 -07:00
maintab.ui Change tab widget names. 2013-04-08 12:58:06 -07:00
mainwindow.cpp Add a slot to mainwindow but amend to use Q_SLOTS 2013-04-09 06:50:42 -07:00
mainwindow.h Add a slot to mainwindow but amend to use Q_SLOTS 2013-04-09 06:50:42 -07:00
mainwindow.ui Start creating the Qt UI 2013-04-07 15:59:33 -07:00
plotareascene.cpp Start creating the Qt UI 2013-04-07 15:59:33 -07:00
plotareascene.h Start creating the Qt UI 2013-04-07 15:59:33 -07:00