Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Redstart
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
Redstart
Commits
5f919f55
Commit
5f919f55
authored
Nov 14, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Progress
parent
485a2d15
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
425 additions
and
228 deletions
+425
-228
src/RedstartWindow.cpp
src/RedstartWindow.cpp
+30
-4
src/RedstartWindow.h
src/RedstartWindow.h
+8
-0
ui/RedstartWindow.ui
ui/RedstartWindow.ui
+387
-224
No files found.
src/RedstartWindow.cpp
View file @
5f919f55
...
...
@@ -12,6 +12,8 @@
*/
#include <QErrorMessage>
#include <QUrl>
#include <qdesktopservices>
#include "RedstartWindow.h"
#include <ui_RedstartWindow.h>
...
...
@@ -122,9 +124,9 @@ void RedstartWindow::PostCoreStart()
ui
->
pushButton_start_stop
->
setText
(
"Stop"
);
// Switch UI elements enabled
ui
->
groupBox_redstart_vaserver
_audio_iface
->
setEnabled
(
false
);
ui
->
groupBox_redstart
_audio_iface
->
setEnabled
(
false
);
ui
->
groupBox_redstart_network
->
setEnabled
(
false
);
ui
->
groupBox
_redstart_session
->
setEnabled
(
false
);
ui
->
horizontalLayout
_redstart_session
->
setEnabled
(
false
);
ui
->
groupBox_core
->
setEnabled
(
true
);
ui
->
groupBox_paths
->
setEnabled
(
true
);
ui
->
groupBox_macros
->
setEnabled
(
true
);
...
...
@@ -146,9 +148,9 @@ void RedstartWindow::PostCoreStop()
ui
->
pushButton_start_stop
->
setText
(
"Start"
);
// Switch UI elements enabled
ui
->
groupBox_redstart_vaserver
_audio_iface
->
setEnabled
(
true
);
ui
->
groupBox_redstart
_audio_iface
->
setEnabled
(
true
);
ui
->
groupBox_redstart_network
->
setEnabled
(
true
);
ui
->
groupBox
_redstart_session
->
setEnabled
(
true
);
ui
->
horizontalLayout
_redstart_session
->
setEnabled
(
true
);
ui
->
groupBox_core
->
setEnabled
(
false
);
ui
->
groupBox_paths
->
setEnabled
(
false
);
ui
->
groupBox_macros
->
setEnabled
(
false
);
...
...
@@ -262,3 +264,27 @@ void RedstartWindow::on_comboBox_audio_iface_device_currentIndexChanged(int inde
{
}
void
RedstartWindow
::
on_actionWebsite_triggered
()
{
QUrl
urlVAWebsite
(
"http://www.virtualacoustics.org/work"
);
QDesktopServices
::
openUrl
(
urlVAWebsite
);
}
void
RedstartWindow
::
on_actionGet_started_triggered
()
{
QUrl
urlVAWebsiteGetStarted
(
"http://www.virtualacoustics.org/work/start.html"
);
QDesktopServices
::
openUrl
(
urlVAWebsiteGetStarted
);
}
void
RedstartWindow
::
on_actionDocumentation_triggered
()
{
QUrl
urlVAWebsiteDocumentation
(
"http://www.virtualacoustics.org/work/documentation.html"
);
QDesktopServices
::
openUrl
(
urlVAWebsiteDocumentation
);
}
void
RedstartWindow
::
on_actionGet_help_triggered
()
{
QUrl
urlVAWebsiteGetHelp
(
"http://www.virtualacoustics.org/work/help.html"
);
QDesktopServices
::
openUrl
(
urlVAWebsiteGetHelp
);
}
src/RedstartWindow.h
View file @
5f919f55
...
...
@@ -70,6 +70,14 @@ private slots:
void
on_comboBox_audio_iface_device_currentIndexChanged
(
int
index
);
void
on_actionWebsite_triggered
();
void
on_actionGet_started_triggered
();
void
on_actionDocumentation_triggered
();
void
on_actionGet_help_triggered
();
private:
void
PostCoreStart
();
void
PostCoreStop
();
...
...
ui/RedstartWindow.ui
View file @
5f919f55
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment