Mercurial > hg > svgui
comparison widgets/PluginParameterBox.cpp @ 842:8432d2551fb2 tonioni
Update subrepos and merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 02 Sep 2014 16:23:48 +0100 |
parents | 1fdd895063c5 |
children | 4a578a360011 |
comparison
equal
deleted
inserted
replaced
826:43256b925e15 | 842:8432d2551fb2 |
---|---|
129 //!!! would be nice to ensure the default value corresponds to | 129 //!!! would be nice to ensure the default value corresponds to |
130 // an integer! | 130 // an integer! |
131 | 131 |
132 QLabel *label = new QLabel(name); | 132 QLabel *label = new QLabel(name); |
133 if (params[i].description != "") { | 133 if (params[i].description != "") { |
134 label->setToolTip(params[i].description.c_str()); | 134 label->setToolTip(QString("<qt>%1</qt>") |
135 .arg(params[i].description.c_str()) | |
136 .replace("\n", "<br>")); | |
135 } | 137 } |
136 m_layout->addWidget(label, i + offset, 0); | 138 m_layout->addWidget(label, i + offset, 0); |
137 | 139 |
138 ParamRec rec; | 140 ParamRec rec; |
139 rec.param = params[i]; | 141 rec.param = params[i]; |