- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the Qt Designer of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** 40 40 ****************************************************************************/ 41 42 /*43 TRANSLATOR qdesigner_internal::ConnectionModel44 */45 41 46 42 #include "signalsloteditorwindow.h" … … 78 74 #include <QtGui/QToolButton> 79 75 #include <QtGui/QButtonGroup> 76 80 77 81 78 QT_BEGIN_NAMESPACE … … 729 726 QVBoxLayout *layout = new QVBoxLayout(this); 730 727 layout->setMargin(0); 731 layout->addWidget(m_view); 732 733 QHBoxLayout *layout2 = new QHBoxLayout; 734 layout2->setMargin(3); 735 layout->addLayout(layout2); 736 layout2->addStretch(); 728 layout->setSpacing(0); 729 730 QToolBar *toolBar = new QToolBar; 731 toolBar->setIconSize(QSize(22, 22)); 732 m_add_button->setIcon(createIconSet(QLatin1String("plus.png"))); 733 connect(m_add_button, SIGNAL(clicked()), this, SLOT(addConnection())); 734 toolBar->addWidget(m_add_button); 737 735 738 736 m_remove_button->setIcon(createIconSet(QLatin1String("minus.png"))); 739 737 connect(m_remove_button, SIGNAL(clicked()), this, SLOT(removeConnection())); 740 layout2->addWidget(m_remove_button); 741 742 m_add_button->setIcon(createIconSet(QLatin1String("plus.png"))); 743 connect(m_add_button, SIGNAL(clicked()), this, SLOT(addConnection())); 744 layout2->addWidget(m_add_button); 738 toolBar->addWidget(m_remove_button); 739 740 layout->addWidget(toolBar); 741 layout->addWidget(m_view); 745 742 746 743 connect(core->formWindowManager(), … … 762 759 this, SLOT(updateDialogSelection(Connection*))); 763 760 if (integration) { 764 disconnect(integration, SIGNAL(objectNameChanged(QDesignerFormWindowInterface *, QObject *, QString,QString)),765 this, SLOT(objectNameChanged(QDesignerFormWindowInterface *, QObject *, QString,QString)));761 disconnect(integration, SIGNAL(objectNameChanged(QDesignerFormWindowInterfaceQString)), 762 this, SLOT(objectNameChanged(QDesignerFormWindowInterfaceQString))); 766 763 } 767 764 } … … 781 778 this, SLOT(updateDialogSelection(Connection*))); 782 779 if (integration) { 783 connect(integration, SIGNAL(objectNameChanged(QDesignerFormWindowInterface *, QObject *, QString,QString)),784 this, SLOT(objectNameChanged(QDesignerFormWindowInterface *, QObject *, QString,QString)));780 connect(integration, SIGNAL(objectNameChanged(QDesignerFormWindowInterfaceQString)), 781 this, SLOT(objectNameChanged(QDesignerFormWindowInterfaceQString))); 785 782 } 786 783 }
Note:
See TracChangeset
for help on using the changeset viewer.