view libgui/src/resource.qrc @ 16350:d4b6ad43bc87

use direct callbacks instead to handle history and workspace list updates * history-docwidget.h, history-dockwidget.cc (history_dock_widget::_update_event_enabled): Delete data member and all uses. * history-dockwidget.cc (history_dock_widget::construct): Don't install a timer. (history_dock_widget::update_history_callback): Now public. * workspace-model.cc (workspace_model::workspace_model): Don't install a timer. (workspace_model::_update_event_enabled): Delete data member and all uses. (workspace_model::update_workspace_callback): Now public. * workspace-view (workspace_view::model_changed): call workspace_model::update_workspace_callback. * main-window.h, main-window.cc (main_window::update_workspace, main_window::update_history): New functions. (main_window::construct): Connect them to corresponding signals. * octave-event-listener.h (octave_event_listener::update_workspace, octave_event_listener::update_history): New virtual functions. * octave-link.h, octave-link.cc (octave_link::update_workspace, octave_link::update_history, octave_link::do_update_workspace, octave_link::do_update_history, octave_link::post_input_event_hook_fcn, octave_link::do_post_input_event_hook_fcn): New functions. * octave-main-thread.cc (pre_input_event_hook_fcn, post_input_event_hook_fcn): New functions. (octave_main_thread::run): Install pre- and post- input event callback functions. * octave-qt-event-listener.h, octave-qt-event-listener.cc (octave_qt_event_listener::update_workspace octave_qt_event_listener::update_history): New functions. (octave_qt_event_listener::update_workspace_signal, octave_qt_event_listener::update_history_signal): New signals.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Mar 2013 02:28:48 -0400
parents b081fbe80174
children aaf024ac8015
line wrap: on
line source

<RCC>
    <qresource prefix="/actions">
        <file>icons/artsbuilderexecute.png</file>
        <file>icons/editcopy.png</file>
        <file>icons/editcut.png</file>
        <file>icons/editpaste.png</file>
        <file>icons/filenew.png</file>
        <file>icons/fileopen.png</file>
        <file>icons/filesave.png</file>
        <file>icons/redo.png</file>
        <file>icons/search.png</file>
        <file>icons/undo.png</file>
        <file>icons/up.png</file>
        <file>icons/configure.png</file>
        <file>icons/filesaveas.png</file>
        <file>icons/redled.png</file>
        <file>icons/arrow_right.png</file>
        <file>icons/bookmark.png</file>
        <file>icons/question.png</file>
        <file>icons/star.png</file>
        <file>icons/stop.png</file>
        <file>icons/zoom-in.png</file>
        <file>icons/zoom-out.png</file>
        <file>icons/find.png</file>
        <file>icons/chat.png</file>
        <file>icons/help_index.png</file>
        <file>icons/jabber_protocol.png</file>
        <file>icons/logo.png</file>
        <file>icons/terminal.png</file>
        <file>icons/bp_toggle.png</file>
        <file>icons/bp_rm_all.png</file>
        <file>icons/bp_prev.png</file>
        <file>icons/bp_next.png</file>
        <file>icons/db_cont.png</file>
        <file>icons/db_step.png</file>
        <file>icons/db_step_in.png</file>
        <file>icons/db_step_out.png</file>
        <file>icons/db_stop.png</file>
        <file>icons/letter_logo_FilesDockWidget.png</file>
        <file>icons/letter_logo_FileEditor.png</file>
        <file>icons/letter_logo_TerminalDockWidget.png</file>
        <file>icons/letter_logo_HistoryDockWidget.png</file>
        <file>icons/letter_logo_WorkspaceView.png</file>
        <file>icons/letter_logo_DocumentationDockWidget.png</file>
        <file>icons/graphic_logo_FilesDockWidget.png</file>
        <file>icons/graphic_logo_FileEditor.png</file>
        <file>icons/graphic_logo_TerminalDockWidget.png</file>
        <file>icons/graphic_logo_HistoryDockWidget.png</file>
        <file>icons/graphic_logo_WorkspaceView.png</file>
        <file>icons/graphic_logo_DocumentationDockWidget.png</file>
    </qresource>
</RCC>