Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
808cd176
Commit
808cd176
authored
7 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
REFAC: change visibility of some functions in QtWidgetView
parent
84195465
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!34
Stop button for graphic applications
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetView.h
+14
-8
14 additions, 8 deletions
Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetView.h
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetView.cxx
+6
-1
6 additions, 1 deletion
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetView.cxx
with
20 additions
and
9 deletions
Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetView.h
+
14
−
8
View file @
808cd176
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetView.cxx
+
6
−
1
View file @
808cd176
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment