Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
Redstart
Commits
8603b62b
Commit
8603b62b
authored
Jan 08, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
WIP
parent
ac2cfb24
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/RedstartCoreOutputPlainTextEdit.h
View file @
8603b62b
...
...
@@ -15,6 +15,7 @@
#include
<QPlainTextEdit>
#include
<QStringListModel>
#include
<QMutex>
#include
<iostream>
...
...
@@ -69,8 +70,7 @@ public:
inline
RedstartCoreOutputPlainTextEdit
(
QWidget
*
pParent
)
:
QPlainTextEdit
(
pParent
)
{
m_pOutStream
=
new
COutStream
(
this
);
m_pOutStream
=
new
COutStream
(
this
);
};
inline
~
RedstartCoreOutputPlainTextEdit
()
...
...
@@ -86,8 +86,11 @@ public:
inline
void
append
()
{
// Append a copy
m_qLock
.
lock
();
appendPlainText
(
m_sLine
);
m_sLine
.
clear
();
m_qLock
.
unlock
();
};
inline
void
write
(
char
c
)
...
...
@@ -105,6 +108,7 @@ public:
private:
COutStream
*
m_pOutStream
;
QString
m_sLine
;
QMutex
m_qLock
;
};
...
...
ui/RedstartWindow.ui
View file @
8603b62b
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment