Mercurial > hg > svgui
comparison view/Pane.cpp @ 499:c5c478ee37b1
* zoom reset icon
author | Chris Cannam |
---|---|
date | Mon, 23 Feb 2009 22:28:24 +0000 |
parents | dd6bd2d00f86 |
children | 08e1ccfe289c |
comparison
equal
deleted
inserted
replaced
498:dd6bd2d00f86 | 499:c5c478ee37b1 |
---|---|
168 m_reset = new NotifyingPushButton; | 168 m_reset = new NotifyingPushButton; |
169 m_reset->setFlat(true); | 169 m_reset->setFlat(true); |
170 m_reset->setCursor(Qt::ArrowCursor); | 170 m_reset->setCursor(Qt::ArrowCursor); |
171 m_reset->setFixedHeight(16); | 171 m_reset->setFixedHeight(16); |
172 m_reset->setFixedWidth(16); | 172 m_reset->setFixedWidth(16); |
173 m_reset->setIcon(QPixmap(":/icons/zoom-reset.png")); | |
173 layout->addWidget(m_reset, 1, 2); | 174 layout->addWidget(m_reset, 1, 2); |
174 | 175 |
175 layout->setColumnStretch(0, 20); | 176 layout->setColumnStretch(0, 20); |
176 | 177 |
177 connect(m_reset, SIGNAL(clicked()), m_hthumb, SLOT(resetToDefault())); | 178 connect(m_reset, SIGNAL(clicked()), m_hthumb, SLOT(resetToDefault())); |