view libgui/link-deps.mk @ 20305:062422f2e399

Show axes coordinates in Qt figures (bug #44959) * Canvas.h: new private bool member m_updtaCurrentPoint, to decide wether update the figure "currentpoint" property * Canvas.h (Canvas::enableCurrentPointUpdates): new method to set m_updtaCurrentPoint * Canvas.cc (Canvas::canvasMousePressEvent): move the code for axes/object selection in a dedicated method and call this method (select_object) instead. * Canvas.cc (Canvas::select_object): new method for axes/object selection. * Canvas.cc (Canvas::canvasMouseMoveEvent): update the parent figure status bar with the hovered axes coordinates * Figure.h: declare new method updateStatusBar * Figure.h: declare new private QStatusBar member m_statusBar. Include QStatusBar.h * Figure.cc (Figure::Figure): unconditionally enable mouse traching * Figure.cc (Figure::Figure): add status below of the canvas * Figure.cc (Figure::update): take status bar into account when updating the figure position * Figure.cc (Figure::update): remove some of the leftover debug comments * Figure.cc: define new method updateStatusBar
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sat, 13 Jun 2015 13:27:01 +0200
parents 39844e6ccf13
children 0ce7d8303152
line wrap: on
line source

include $(top_srcdir)/libinterp/link-deps.mk

if AMCOND_ENABLE_DYNAMIC_LINKING
  LIBOCTGUI_LINK_DEPS =
else
  LIBOCTGUI_LINK_DEPS = $(DLDFCN_LIBS)
endif

LIBOCTGUI_LINK_DEPS += \
  $(QT_LIBS) \
  $(OPENGL_LIBS)

LIBOCTGUI_LINK_OPTS = \
  $(QT_LDFLAGS)

if AMCOND_LINK_ALL_DEPS
  LIBOCTGUI_LINK_DEPS += $(LIBOCTINTERP_LINK_DEPS)
  LIBOCTGUI_LINK_OPTS += $(LIBOCTINTERP_LINK_OPTS)

  OCTAVE_GUI_LINK_DEPS = $(LIBOCTGUI_LINK_DEPS)
  OCTAVE_GUI_LINK_OPTS = $(LIBOCTGUI_LINK_OPTS)
endif