comparison multichoicedialog.cpp @ 183:01580704de3e

* Implement "Change Remote Location"
author Chris Cannam
date Sun, 19 Dec 2010 12:01:37 +0000
parents aaeabc920ca8
children f16fe0db11f3
comparison
equal deleted inserted replaced
182:bf366e0b9050 183:01580704de3e
150 } 150 }
151 151
152 SelectableLabel *cb = new SelectableLabel; 152 SelectableLabel *cb = new SelectableLabel;
153 cb->setSelectedText(text); 153 cb->setSelectedText(text);
154 cb->setUnselectedText(text); 154 cb->setUnselectedText(text);
155 cb->setMaximumWidth(270);
155 156
156 m_choiceLayout->addWidget(cb); 157 m_choiceLayout->addWidget(cb);
157 m_choiceButtons[cb] = id; 158 m_choiceButtons[cb] = id;
158 159
159 connect(cb, SIGNAL(selectionChanged()), this, SLOT(choiceChanged())); 160 connect(cb, SIGNAL(selectionChanged()), this, SLOT(choiceChanged()));
305 break; 306 break;
306 307
307 case UrlArg: 308 case UrlArg:
308 m_urlLabel->show(); 309 m_urlLabel->show();
309 m_urlCombo->show(); 310 m_urlCombo->show();
311 m_urlCombo->addItems(rf->getRecent());
310 break; 312 break;
311 313
312 case UrlToDirectoryArg: 314 case UrlToDirectoryArg:
313 m_urlLabel->show(); 315 m_urlLabel->show();
314 m_urlCombo->show(); 316 m_urlCombo->show();