mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2f759f52e1
commit
a412753b0a
3 changed files with 222 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -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' $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue