Mercurial > hg > svgui
comparison widgets/CSVExportDialog.cpp @ 1571:9cd77efef37c
Model -> layer, + word wrap
author | Chris Cannam |
---|---|
date | Wed, 15 Jan 2020 13:58:11 +0000 |
parents | 3943553b95b0 |
children | a6e37c28d762 |
comparison
equal
deleted
inserted
replaced
1570:9095fbec4e52 | 1571:9cd77efef37c |
---|---|
43 .arg(config.fileExtension.toUpper()); | 43 .arg(config.fileExtension.toUpper()); |
44 | 44 |
45 QVBoxLayout *vbox = new QVBoxLayout; | 45 QVBoxLayout *vbox = new QVBoxLayout; |
46 | 46 |
47 QLabel *label = new QLabel(intro); | 47 QLabel *label = new QLabel(intro); |
48 label->setWordWrap(true); | |
48 vbox->addWidget(label); | 49 vbox->addWidget(label); |
49 | 50 |
50 int space = ViewManager::scalePixelSize(2); | 51 int space = ViewManager::scalePixelSize(2); |
51 | 52 |
52 vbox->addSpacing(space); | 53 vbox->addSpacing(space); |
131 QButtonGroup *viewGroup = new QButtonGroup(rangeGroup); | 132 QButtonGroup *viewGroup = new QButtonGroup(rangeGroup); |
132 | 133 |
133 m_selectionOnly = new QRadioButton | 134 m_selectionOnly = new QRadioButton |
134 (tr("Export only the current selection")); | 135 (tr("Export only the current selection")); |
135 QRadioButton *fullDuration = new QRadioButton | 136 QRadioButton *fullDuration = new QRadioButton |
136 (tr("Export the full duration of the model")); | 137 (tr("Export the full duration of the layer")); |
137 | 138 |
138 selectionGroup->addButton(m_selectionOnly); | 139 selectionGroup->addButton(m_selectionOnly); |
139 selectionGroup->addButton(fullDuration); | 140 selectionGroup->addButton(fullDuration); |
140 | 141 |
141 if (m_config.haveSelection) { | 142 if (m_config.haveSelection) { |
153 if (m_config.haveView && m_config.isDense) { | 154 if (m_config.haveView && m_config.isDense) { |
154 | 155 |
155 m_viewOnly = new QRadioButton | 156 m_viewOnly = new QRadioButton |
156 (tr("Export only the height of the visible view")); | 157 (tr("Export only the height of the visible view")); |
157 QRadioButton *fullHeight = new QRadioButton | 158 QRadioButton *fullHeight = new QRadioButton |
158 (tr("Export the full height of the model")); | 159 (tr("Export the full height of the layer")); |
159 | 160 |
160 viewGroup->addButton(m_viewOnly); | 161 viewGroup->addButton(m_viewOnly); |
161 viewGroup->addButton(fullHeight); | 162 viewGroup->addButton(fullHeight); |
162 | 163 |
163 m_viewOnly->setChecked(true); | 164 m_viewOnly->setChecked(true); |