| 145 | } |
| 146 | |
| 147 | AbstractColumn::HeatmapFormat FormattingHeatmapDialog::format() { |
| 148 | AbstractColumn::HeatmapFormat format; |
| 149 | format.min = ui.leMinimum->text().toDouble(); |
| 150 | format.max = ui.leMaximum->text().toDouble(); |
| 151 | format.colors = m_colors; |
| 152 | format.name = m_name; |
| 153 | format.type = static_cast<AbstractColumn::Formatting>(ui.cbHightlight->currentIndex()); |
| 154 | return format; |
| 155 | } |
| 156 | |
| 157 | void FormattingHeatmapDialog::autoRangeChanged(bool state) { |
| 158 | ui.leMinimum->setEnabled(!state); |
no test coverage detected