Clean up a few appearance items in Fox GUI.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8247 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-11-20 15:41:57 +00:00
parent 6155a57861
commit a986a9b774
2 changed files with 186 additions and 160 deletions

View File

@ -2863,7 +2863,7 @@ void MainWindow::readFromStdout() //readFromStdout
} else { } else {
if(d.indexOf("RR73")<0) { if(d.indexOf("RR73")<0) {
int i1=qMax(d.indexOf("+"),d.indexOf("-")); int i1=qMax(d.indexOf("+"),d.indexOf("-"));
d=d.mid(0,i1-1) + "RR73"; d=d.mid(0,i1-1) + " RR73";
} }
ui->textBrowser3->displayFoxToBeCalled(d,"#ff99ff"); ui->textBrowser3->displayFoxToBeCalled(d,"#ff99ff");
} }
@ -3325,9 +3325,12 @@ void MainWindow::guiUpdate()
if(m_modeTx=="FT8") { if(m_modeTx=="FT8") {
if(m_config.bFox()) { if(m_config.bFox()) {
QString t=ui->textBrowser3->toPlainText(); QString t=ui->textBrowser3->toPlainText();
qDebug() << "aa" << m_Nslots << t;
int len=t.length(); int len=t.length();
qint64 ms0=QDateTime::currentMSecsSinceEpoch();
foxgen_(const_cast <char *> (t.toLatin1().constData()),len); foxgen_(const_cast <char *> (t.toLatin1().constData()),len);
qint64 ms=QDateTime::currentMSecsSinceEpoch();
qDebug() << "aa" << m_Nslots << ms-ms0 << t;
} else { } else {
genft8_(message, MyGrid, &bcontest, &m_i3bit, msgsent, const_cast<char *> (ft8msgbits), genft8_(message, MyGrid, &bcontest, &m_i3bit, msgsent, const_cast<char *> (ft8msgbits),
const_cast<int *> (itone), 22, 6, 22); const_cast<int *> (itone), 22, 6, 22);

View File

@ -1622,46 +1622,56 @@ list. The list can be maintained in Settings (F2).</string>
<attribute name="title"> <attribute name="title">
<string>3</string> <string>3</string>
</attribute> </attribute>
<widget class="DisplayText" name="textBrowser3"> <layout class="QGridLayout" name="gridLayout_11">
<property name="geometry"> <item row="0" column="0">
<rect> <widget class="DisplayText" name="textBrowser3"/>
<x>10</x> </item>
<y>9</y> <item row="0" column="1" rowspan="2">
<width>130</width> <layout class="QGridLayout" name="gridLayout_10">
<height>110</height> <item row="1" column="0">
</rect> <widget class="QSpinBox" name="sbNsig">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
</widget>
<widget class="DisplayText" name="textBrowser4">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>130</width>
<height>110</height>
</rect>
</property>
</widget>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>150</x>
<y>10</y>
<width>82</width>
<height>126</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QComboBox" name="comboBoxFoxSort">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>80</width> <width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="prefix">
<string>N Sigs </string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>20</number>
</property>
<property name="value">
<number>12</number>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QComboBox" name="comboBoxFoxSort">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="currentText"> <property name="currentText">
<string>S/N (dB)</string> <string>Random</string>
</property> </property>
<property name="maxVisibleItems"> <property name="maxVisibleItems">
<number>5</number> <number>5</number>
@ -1693,33 +1703,17 @@ list. The list can be maintained in Settings (F2).</string>
</item> </item>
</widget> </widget>
</item> </item>
<item> <item row="2" column="0">
<widget class="QSpinBox" name="sbNsig">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="prefix">
<string>N Sigs </string>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="maximum">
<number>20</number>
</property>
<property name="value">
<number>12</number>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="sbMax_dB"> <widget class="QSpinBox" name="sbMax_dB">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>80</width> <width>16777215</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
@ -1737,11 +1731,45 @@ list. The list can be maintained in Settings (F2).</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="4" column="0">
<widget class="QSpinBox" name="sbNslots"> <widget class="QSpinBox" name="sbMaxRepeats">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>80</width> <width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="prefix">
<string>Repeats </string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>10</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QSpinBox" name="sbNslots">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
@ -1762,30 +1790,25 @@ list. The list can be maintained in Settings (F2).</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="5" column="0">
<widget class="QSpinBox" name="sbMaxRepeats"> <spacer name="verticalSpacer_5">
<property name="maximumSize"> <property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size> <size>
<width>80</width> <width>20</width>
<height>16777215</height> <height>40</height>
</size> </size>
</property> </property>
<property name="prefix"> </spacer>
<string>Repeats </string> </item>
</property> </layout>
<property name="minimum"> </item>
<number>0</number> <item row="1" column="0">
</property> <widget class="DisplayText" name="textBrowser4"/>
<property name="maximum">
<number>10</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget>
</widget> </widget>
</widget> </widget>
</item> </item>