Skip to content
Snippets Groups Projects
Commit 808cd176 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

REFAC: change visibility of some functions in QtWidgetView

parent 84195465
No related branches found
No related tags found
1 merge request!34Stop button for graphic applications
...@@ -105,8 +105,7 @@ public: ...@@ -105,8 +105,7 @@ public:
// //
// Public SLOTS. // Public SLOTS.
public slots: public slots:
void UnhandledException(QString message);
void OnExceptionRaised( QString what );
/*-[ SIGNALS SECTION ]-----------------------------------------------------*/ /*-[ SIGNALS SECTION ]-----------------------------------------------------*/
// //
...@@ -123,6 +122,10 @@ signals: ...@@ -123,6 +122,10 @@ signals:
// Protected methods. // Protected methods.
protected: protected:
bool IsRunning();
virtual QWidget* CreateInputWidgets();
// //
// QWidget overloads. // QWidget overloads.
...@@ -137,6 +140,15 @@ protected: ...@@ -137,6 +140,15 @@ protected:
/** Html section for 'Failed' icon */ /** Html section for 'Failed' icon */
std::string m_IconPathFailed; std::string m_IconPathFailed;
protected slots:
/**
*/
void OnExecButtonClicked();
void UnhandledException(QString message);
void OnExceptionRaised( QString what );
/*-[ PRIVATE SECTION ]-----------------------------------------------------*/ /*-[ PRIVATE SECTION ]-----------------------------------------------------*/
...@@ -149,8 +161,6 @@ private: ...@@ -149,8 +161,6 @@ private:
QWidget* CreateFooter(); QWidget* CreateFooter();
QWidget* CreateInputWidgets();
QWidget* CreateDoc(); QWidget* CreateDoc();
...@@ -180,10 +190,6 @@ private slots: ...@@ -180,10 +190,6 @@ private slots:
void UpdateMessageAfterExecution(int status); void UpdateMessageAfterExecution(int status);
void UpdateMessageAfterApplicationReady(bool val); void UpdateMessageAfterApplicationReady(bool val);
/**
*/
void OnExecButtonClicked();
/** /**
*/ */
inline void OnProgressReportBegin(); inline void OnProgressReportBegin();
......
...@@ -284,6 +284,11 @@ void QtWidgetView::OnExceptionRaised( QString /*message*/) ...@@ -284,6 +284,11 @@ void QtWidgetView::OnExceptionRaised( QString /*message*/)
m_TabWidget->setCurrentIndex(1); m_TabWidget->setCurrentIndex(1);
} }
bool QtWidgetView::IsRunning()
{
return m_IsRunning;
} }
}
} // end of namespace Wrapper
} // end of namespace otb
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