comparison gui/src/HistoryDockWidget.cpp @ 13549:807e5e9b7591

Added lots of status tips.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Wed, 27 Jul 2011 12:10:59 +0200
parents 7d106550be8f
children e440b3f32f02
comparison
equal deleted inserted replaced
13548:5c2ea445e100 13549:807e5e9b7591
31 m_sortFilterProxyModel.setSourceModel(OctaveLink::instance ()->historyModel()); 31 m_sortFilterProxyModel.setSourceModel(OctaveLink::instance ()->historyModel());
32 m_historyListView = new QListView (this); 32 m_historyListView = new QListView (this);
33 m_historyListView->setModel (&m_sortFilterProxyModel); 33 m_historyListView->setModel (&m_sortFilterProxyModel);
34 m_historyListView->setAlternatingRowColors (true); 34 m_historyListView->setAlternatingRowColors (true);
35 m_historyListView->setEditTriggers (QAbstractItemView::NoEditTriggers); 35 m_historyListView->setEditTriggers (QAbstractItemView::NoEditTriggers);
36 m_historyListView->setStatusTip (tr ("Doubleclick a command to transfer it to the terminal."));
36 m_filterLineEdit = new QLineEdit (this); 37 m_filterLineEdit = new QLineEdit (this);
38 m_filterLineEdit->setStatusTip (tr ("Enter text to filter the command history."));
37 QVBoxLayout *layout = new QVBoxLayout (); 39 QVBoxLayout *layout = new QVBoxLayout ();
38 40
39 setWindowTitle (tr ("Command History")); 41 setWindowTitle (tr ("Command History"));
40 setWidget (new QWidget ()); 42 setWidget (new QWidget ());
41 43