- Timestamp:
- May 5, 2011, 5:36:53 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 64 64 #include <QtGui/QButtonGroup> 65 65 #include <QtGui/QMenu> 66 66 67 #include <QtGui/QStandardItemModel> 67 68 #include <QtGui/QComboBox> … … 713 714 m_core(core), 714 715 m_model(new ConnectionModel(this)), 716 715 717 m_handling_selection_change(false) 716 718 { 717 m_view->setModel(m_model); 719 m_proxy_model->setSourceModel(m_model); 720 m_view->setModel(m_proxy_model); 721 m_view->setSortingEnabled(true); 718 722 m_view->setItemDelegate(new ConnectionDelegate(this)); 719 723 m_view->setEditTriggers(QAbstractItemView::DoubleClicked … … 721 725 m_view->setRootIsDecorated(false); 722 726 m_view->setTextElideMode (Qt::ElideMiddle); 723 connect(m_view , SIGNAL(activated(QModelIndex)), this, SLOT(updateUi()));727 connect(m_viewQModelIndex)), this, SLOT(updateUi())); 724 728 connect(m_view->header(), SIGNAL(sectionDoubleClicked(int)), m_view, SLOT(resizeColumnToContents(int))); 725 729 … … 791 795 return; 792 796 793 QModelIndex index = m_ model->connectionToIndex(con);797 QModelIndex index = m_); 794 798 if (index == m_view->currentIndex()) 795 799 return; … … 809 813 return; 810 814 811 Connection *con = m_model->indexToConnection( index);815 Connection *con = m_model->indexToConnection(); 812 816 if (m_editor->selected(con)) 813 817 return;
Note:
See TracChangeset
for help on using the changeset viewer.
