Skip to content
Snippets Groups Projects
Commit 781c043c authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

repair WidgetName

parent 655d59f8
No related branches found
No related tags found
1 merge request!299Disambiguate class name vs object name; rename InterferenceFunction -> Interference
Pipeline #44162 passed
...@@ -79,7 +79,7 @@ void ItemComboWidget::setToolBarVisible(bool value) ...@@ -79,7 +79,7 @@ void ItemComboWidget::setToolBarVisible(bool value)
//! Returns list of active presentations for given item. Active presentation is the one //! Returns list of active presentations for given item. Active presentation is the one
//! which is present in QComboBox selector and can be selected. For example, if JobItem //! which is present in QComboBox selector and can be selected. For example, if JobItem
//! is fittable, the list will contain "FitComparisonWidclassName". //! is fittable, the list will contain "FitComparisonWidgetName".
QStringList ItemComboWidget::activePresentationList(SessionItem* item) QStringList ItemComboWidget::activePresentationList(SessionItem* item)
{ {
......
...@@ -26,7 +26,7 @@ const bool reuse_widget = true; ...@@ -26,7 +26,7 @@ const bool reuse_widget = true;
JobRealTimeWidget::JobRealTimeWidget(JobModel* jobModel, QWidget* parent) JobRealTimeWidget::JobRealTimeWidget(JobModel* jobModel, QWidget* parent)
: QWidget(parent), m_stackedWidget(new ItemStackPresenter<ParameterTuningWidget>(reuse_widget)) : QWidget(parent), m_stackedWidget(new ItemStackPresenter<ParameterTuningWidget>(reuse_widget))
{ {
setWindowTitle(GUI::Constants::JobRealTimeWidclassName); setWindowTitle(GUI::Constants::JobRealTimeWidgetName);
setObjectName("JobRealTimeWidget"); setObjectName("JobRealTimeWidget");
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
......
...@@ -30,7 +30,7 @@ JobPropertiesWidget::JobPropertiesWidget(QWidget* parent) ...@@ -30,7 +30,7 @@ JobPropertiesWidget::JobPropertiesWidget(QWidget* parent)
, m_block_update(false) , m_block_update(false)
{ {
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
setWindowTitle(GUI::Constants::JobPropertiesWidclassName); setWindowTitle(GUI::Constants::JobPropertiesWidgetName);
auto mainLayout = new QVBoxLayout; auto mainLayout = new QVBoxLayout;
mainLayout->setMargin(0); mainLayout->setMargin(0);
......
...@@ -30,7 +30,7 @@ JobSelectorWidget::JobSelectorWidget(JobModel* jobModel, QWidget* parent) ...@@ -30,7 +30,7 @@ JobSelectorWidget::JobSelectorWidget(JobModel* jobModel, QWidget* parent)
, m_jobProperties(new JobPropertiesWidget) , m_jobProperties(new JobPropertiesWidget)
, m_jobModel(nullptr) , m_jobModel(nullptr)
{ {
setWindowTitle(GUI::Constants::JobSelectorWidclassName); setWindowTitle(GUI::Constants::JobSelectorWidgetName);
setObjectName("JobSelectorWidget"); setObjectName("JobSelectorWidget");
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
......
...@@ -49,10 +49,10 @@ const unsigned int hint_panel_height = 64; ...@@ -49,10 +49,10 @@ const unsigned int hint_panel_height = 64;
// Widget names // Widget names
const QString JobRealTimeWidclassName = "Job Real Time"; const QString JobRealTimeWidgetName = "Job Real Time";
const QString JobPropertiesWidclassName = "Job Properties"; const QString JobPropertiesWidgetName = "Job Properties";
const QString JobFitPanelName = "Fit Panel"; const QString JobFitPanelName = "Fit Panel";
const QString JobSelectorWidclassName = "Job Selector"; const QString JobSelectorWidgetName = "Job Selector";
const QString JobMessagePanelName = "Message Panel"; const QString JobMessagePanelName = "Message Panel";
const QString JobViewActivityName = "Job View Activity"; const QString JobViewActivityName = "Job View Activity";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment