21 #include <ui_MultiplotWidget.h> 41 ui_->plotTableConfigWidget->setPlotTable(
ui_->plotTableWidget);
44 connect(
ui_->configWidget, SIGNAL(currentConfigModifiedChanged(
bool)),
46 connect(
ui_->configWidget, SIGNAL(currentConfigUrlChanged(
const QString&)),
70 QDockWidget* dockWidget = 0;
71 QObject* currentParent = parent();
73 while (currentParent) {
74 dockWidget = qobject_cast<QDockWidget*>(currentParent);
79 currentParent = currentParent->parent();
86 ui_->configWidget->setMaxConfigUrlHistoryLength(length);
90 return ui_->configWidget->getMaxConfigUrlHistoryLength();
94 ui_->configWidget->setConfigUrlHistory(history);
98 return ui_->configWidget->getConfigUrlHistory();
102 ui_->plotTableConfigWidget->runPlots();
110 ui_->configWidget->loadConfig(url);
119 return ui_->configWidget->confirmSave(
false);
129 getCurrentConfigUrl());
134 QString windowTitle =
"Multiplot";
137 windowTitle +=
" - ["+url+
"]";
139 windowTitle +=
" - [untitled]";
141 if (
ui_->configWidget->isCurrentConfigModified())
144 setWindowTitle(windowTitle);
PlotTableConfig * getTableConfig() const