Changeset - 4edab23475f4
[Not reviewed]
recording
0 2 0
Hasan Yavuz Ă–ZDERYA - 9 years ago 2017-02-16 05:36:08
hy@ozderya.net
added option to disable header line
2 files changed with 20 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/recordpanel.cpp
Show inline comments
 
@@ -217,7 +217,12 @@ bool RecordPanel::confirmOverwrite(QStri
 

	
 
void RecordPanel::startRecording(void)
 
{
 
    _recorder->startRecording(selectedFile, _channelMan->infoModel()->channelNames());
 
    QStringList channelNames;
 
    if (ui->cbHeader->isChecked())
 
    {
 
        channelNames = _channelMan->infoModel()->channelNames();
 
    }
 
    _recorder->startRecording(selectedFile, channelNames);
 
    emit recordStarted();
 
}
 

	
src/recordpanel.ui
Show inline comments
 
@@ -7,7 +7,7 @@
 
    <x>0</x>
 
    <y>0</y>
 
    <width>532</width>
 
    <height>152</height>
 
    <height>169</height>
 
   </rect>
 
  </property>
 
  <property name="windowTitle">
 
@@ -80,6 +80,19 @@
 
      </widget>
 
     </item>
 
     <item>
 
      <widget class="QCheckBox" name="cbHeader">
 
       <property name="toolTip">
 
        <string>Channel names are written to the first line of record file</string>
 
       </property>
 
       <property name="text">
 
        <string>Write header line</string>
 
       </property>
 
       <property name="checked">
 
        <bool>true</bool>
 
       </property>
 
      </widget>
 
     </item>
 
     <item>
 
      <widget class="QCheckBox" name="cbDisableBuffering">
 
       <property name="toolTip">
 
        <string>Do not buffer when writing to file. Check this if you are using other software to open the file during recording.</string>
0 comments (0 inline, 0 general)