Add a Qt main window

This is just an empty window with a File menu and a few items.
It shows how to hook up functions to menu actions.

Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
This commit is contained in:
Alberto Mardegan 2013-04-02 19:49:17 +03:00
parent 2f759f52e1
commit a412753b0a
3 changed files with 222 additions and 1 deletions

View file

@ -322,7 +322,7 @@ MOCFLAGS = $(filter -I%, $(CXXFLAGS) $(EXTRA_FLAGS)) $(filter -D%, $(CXXFLAGS) $
@echo ' MOC' $<
@$(MOC) -i $(MOCFLAGS) $< -o $@
qt-gui.o: qt-gui.moc
qt-gui.o: main-window.ui.h qt-gui.moc
%.ui.h: ui/%.ui
@echo ' UIC' $<