From a9e72f186e693f00fd07867fde7e116258ba9bbb Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Mon, 26 Sep 2011 19:55:29 +0200 Subject: [PATCH] STYLE --- Code/Simulation/otbSpectralResponse.txx | 0 Code/Wrappers/QtWidget/otbQtFileSelectionWidget.h | 2 +- .../otbWrapperQtWidgetInputImageListParameter.cxx | 12 ++++++------ .../otbWrapperQtWidgetInputImageListParameter.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) mode change 100755 => 100644 Code/Simulation/otbSpectralResponse.txx diff --git a/Code/Simulation/otbSpectralResponse.txx b/Code/Simulation/otbSpectralResponse.txx old mode 100755 new mode 100644 diff --git a/Code/Wrappers/QtWidget/otbQtFileSelectionWidget.h b/Code/Wrappers/QtWidget/otbQtFileSelectionWidget.h index bc79bd28bc..06a519b05a 100644 --- a/Code/Wrappers/QtWidget/otbQtFileSelectionWidget.h +++ b/Code/Wrappers/QtWidget/otbQtFileSelectionWidget.h @@ -34,7 +34,7 @@ namespace Wrapper class QtFileSelectionWidget : public QWidget { Q_OBJECT -public: +public: QtFileSelectionWidget(); QtFileSelectionWidget( InputImageListParameter * il ); virtual ~QtFileSelectionWidget(); diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.cxx index 2bb0063007..9261ea2036 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.cxx @@ -134,8 +134,8 @@ void QtWidgetInputImageListParameter::DoCreateWidget() mainGroup->setLayout(fileLayout); QScrollArea * scroll = new QScrollArea(); scroll->setWidget(mainGroup); - scroll->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);//ScrollBarAlwaysOn); - scroll->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);//ScrollBarAlwaysOn); + scroll->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded); //ScrollBarAlwaysOn); + scroll->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); //ScrollBarAlwaysOn); hLayout->addWidget(scroll); hLayout->addLayout(buttonLayout); @@ -185,7 +185,7 @@ QtWidgetInputImageListParameter::AddFile() } QtFileSelectionWidget * fileSelection = new QtFileSelectionWidget(); - fileSelection->setFixedHeight( 40 ); + fileSelection->setFixedHeight( 40 ); m_FileLayout->addWidget( fileSelection ); m_FileSelectionList.push_back(fileSelection); @@ -217,7 +217,7 @@ QtWidgetInputImageListParameter::EraseFile() //fileLayout->addWidget( fileSelection ); QtFileSelectionWidget * fileSelection = new QtFileSelectionWidget(); - fileSelection->setFixedHeight( 40 ); + fileSelection->setFixedHeight( 40 ); m_FileLayout->addWidget( fileSelection ); m_FileSelectionList.push_back(fileSelection); @@ -226,8 +226,8 @@ QtWidgetInputImageListParameter::EraseFile() //m_Scroll = new QScrollArea(); //m_Scroll->setLayout(m_FileLayout); m_Scroll->setWidget(mainGroup); - //scroll->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);//ScrollBarAlwaysOn); - //scroll->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);//ScrollBarAlwaysOn) + //scroll->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded); //ScrollBarAlwaysOn); + //scroll->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); //ScrollBarAlwaysOn) //m_HLayout->insertWidget(0, m_Scroll); //m_HLayout->update(); diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.h b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.h index 7c91c3dbbd..83dddb022a 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.h +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetInputImageListParameter.h @@ -69,7 +69,7 @@ private: QPushButton * m_UpButton; QPushButton * m_DownButton; QScrollArea * m_Scroll; - std::vector<QtFileSelectionWidget *> m_FileSelectionList; + std::vector<QtFileSelectionWidget *> m_FileSelectionList; }; -- GitLab