annotate sonic-visualiser.pro @ 439:6d5ee6860682 toggle

Add a new feature to allow users to toggle between minimal and full modes. This is done by hiding/showing the pane stack, menu actions, and toolbars. The main part of the process is handled in MainWindow::toggleViewMode(). The toggle view mode option appears in the View Menu and is associated with a new toolbar button. Two icons have been added in the resources. They come from: http://www.iconfinder.com/icondetails/42115/32/ In a working state, but the resizing of the main window and the audio file overview can be improved. Some menus or menu actions can be deleted/disabled in the minimal mode (although the changes are active in the hidden pane(s) and do not cause the application to crash). See TO-DO list in MainWindow::toggleViewMode(). In sonic-visualiser.pro: -lvamp-hostsdk has been added to the LIBS (the sonic-visualiser.pro file may be to be removed from the tracked files since the modification seems to depend on the system).
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Tue, 21 Jun 2011 22:04:55 +0100
parents 9f6436615ac7
children d57fb8614567
rev   line source
Chris@1 1
Chris@1 2 TEMPLATE = app
Chris@1 3
Chris@351 4 include(config.pri)
Chris@270 5
Chris@351 6 CONFIG += qt thread warn_on stl rtti exceptions
Chris@351 7 QT += network xml gui
Chris@1 8
Chris@293 9 TARGET = "Sonic Visualiser"
Chris@335 10 linux*:TARGET = sonic-visualiser
Chris@335 11 solaris*:TARGET = sonic-visualiser
Chris@1 12
Chris@351 13 DEPENDPATH += . ../svcore ../svgui ../svapp
Chris@351 14 INCLUDEPATH += . ../svcore ../svgui ../svapp
Chris@351 15
Chris@382 16 TRANSLATIONS += i18n/sonic-visualiser_ru.ts i18n/sonic-visualiser_en_GB.ts i18n/sonic-visualiser_en_US.ts i18n/sonic-visualiser_cs_CZ.ts
Chris@382 17
Chris@351 18 OBJECTS_DIR = o
Chris@351 19 MOC_DIR = o
Chris@351 20
Chris@145 21 ICON = icons/sv-macicon.icns
Chris@293 22 RC_FILE = icons/sv.rc
Chris@145 23
Chris@2 24 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
Chris@2 25
mathieu@439 26 LIBS = -L../svapp -L../svgui -L../svcore -lsvapp -lsvgui -lsvcore -lvamp-hostsdk $$LIBS
Chris@1 27
Chris@351 28 PRE_TARGETDEPS += ../svapp/libsvapp.a \
Chris@351 29 ../svgui/libsvgui.a \
Chris@351 30 ../svcore/libsvcore.a
Chris@4 31
Chris@351 32 RESOURCES += sonic-visualiser.qrc
Chris@1 33
Chris@203 34 HEADERS += main/MainWindow.h \
Chris@333 35 main/PreferencesDialog.h \
Chris@333 36 main/Surveyer.h
Chris@203 37 SOURCES += main/main.cpp \
Chris@216 38 main/OSCHandler.cpp \
Chris@1 39 main/MainWindow.cpp \
Chris@333 40 main/PreferencesDialog.cpp \
Chris@333 41 main/Surveyer.cpp
Chris@116 42
dan@364 43 # for mac integration
Chris@411 44 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@116 45