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,170 +1622,193 @@ 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> <property name="sizePolicy">
</widget> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<widget class="DisplayText" name="textBrowser4"> <horstretch>0</horstretch>
<property name="geometry"> <verstretch>0</verstretch>
<rect> </sizepolicy>
<x>10</x> </property>
<y>130</y> <property name="maximumSize">
<width>130</width> <size>
<height>110</height> <width>16777215</width>
</rect> <height>16777215</height>
</property> </size>
</widget> </property>
<widget class="QWidget" name=""> <property name="prefix">
<property name="geometry"> <string>N Sigs </string>
<rect> </property>
<x>150</x> <property name="minimum">
<y>10</y> <number>5</number>
<width>82</width> </property>
<height>126</height> <property name="maximum">
</rect> <number>20</number>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_6"> <property name="value">
<item> <number>12</number>
<widget class="QComboBox" name="comboBoxFoxSort"> </property>
<property name="maximumSize"> </widget>
<size> </item>
<width>80</width> <item row="0" column="0">
<height>16777215</height> <widget class="QComboBox" name="comboBoxFoxSort">
</size> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<property name="currentText"> <horstretch>0</horstretch>
<string>S/N (dB)</string> <verstretch>0</verstretch>
</property> </sizepolicy>
<property name="maxVisibleItems"> </property>
<number>5</number> <property name="maximumSize">
</property> <size>
<item> <width>16777215</width>
<property name="text"> <height>16777215</height>
</size>
</property>
<property name="currentText">
<string>Random</string> <string>Random</string>
</property> </property>
</item> <property name="maxVisibleItems">
<item> <number>5</number>
<property name="text">
<string>Call</string>
</property> </property>
</item> <item>
<item> <property name="text">
<property name="text"> <string>Random</string>
<string>Grid</string> </property>
</item>
<item>
<property name="text">
<string>Call</string>
</property>
</item>
<item>
<property name="text">
<string>Grid</string>
</property>
</item>
<item>
<property name="text">
<string>S/N (dB)</string>
</property>
</item>
<item>
<property name="text">
<string>Distance</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QSpinBox" name="sbMax_dB">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
</item> <property name="maximumSize">
<item> <size>
<property name="text"> <width>16777215</width>
<string>S/N (dB)</string> <height>16777215</height>
</size>
</property> </property>
</item> <property name="prefix">
<item> <string>Max dB </string>
<property name="text">
<string>Distance</string>
</property> </property>
</item> <property name="minimum">
</widget> <number>-15</number>
</item> </property>
<item> <property name="maximum">
<widget class="QSpinBox" name="sbNsig"> <number>30</number>
<property name="maximumSize"> </property>
<size> <property name="value">
<width>80</width> <number>30</number>
<height>16777215</height> </property>
</size> </widget>
</property> </item>
<property name="prefix"> <item row="4" column="0">
<string>N Sigs </string> <widget class="QSpinBox" name="sbMaxRepeats">
</property> <property name="sizePolicy">
<property name="minimum"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<number>5</number> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="maximum"> </sizepolicy>
<number>20</number> </property>
</property> <property name="maximumSize">
<property name="value"> <size>
<number>12</number> <width>16777215</width>
</property> <height>16777215</height>
</widget> </size>
</item> </property>
<item> <property name="prefix">
<widget class="QSpinBox" name="sbMax_dB"> <string>Repeats </string>
<property name="maximumSize"> </property>
<size> <property name="minimum">
<width>80</width> <number>0</number>
<height>16777215</height> </property>
</size> <property name="maximum">
</property> <number>10</number>
<property name="prefix"> </property>
<string>Max dB </string> <property name="value">
</property> <number>3</number>
<property name="minimum"> </property>
<number>-15</number> </widget>
</property> </item>
<property name="maximum"> <item row="3" column="0">
<number>30</number> <widget class="QSpinBox" name="sbNslots">
</property> <property name="sizePolicy">
<property name="value"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<number>30</number> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
</widget> </sizepolicy>
</item> </property>
<item> <property name="maximumSize">
<widget class="QSpinBox" name="sbNslots"> <size>
<property name="maximumSize"> <width>16777215</width>
<size> <height>16777215</height>
<width>80</width> </size>
<height>16777215</height> </property>
</size> <property name="suffix">
</property> <string/>
<property name="suffix"> </property>
<string/> <property name="prefix">
</property> <string>N Slots </string>
<property name="prefix"> </property>
<string>N Slots </string> <property name="minimum">
</property> <number>1</number>
<property name="minimum"> </property>
<number>1</number> <property name="maximum">
</property> <number>5</number>
<property name="maximum"> </property>
<number>5</number> <property name="value">
</property> <number>5</number>
<property name="value"> </property>
<number>5</number> </widget>
</property> </item>
</widget> <item row="5" column="0">
</item> <spacer name="verticalSpacer_5">
<item> <property name="orientation">
<widget class="QSpinBox" name="sbMaxRepeats"> <enum>Qt::Vertical</enum>
<property name="maximumSize"> </property>
<size> <property name="sizeHint" stdset="0">
<width>80</width> <size>
<height>16777215</height> <width>20</width>
</size> <height>40</height>
</property> </size>
<property name="prefix"> </property>
<string>Repeats </string> </spacer>
</property> </item>
<property name="minimum"> </layout>
<number>0</number> </item>
</property> <item row="1" column="0">
<property name="maximum"> <widget class="DisplayText" name="textBrowser4"/>
<number>10</number> </item>
</property> </layout>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
</layout>
</widget>
</widget> </widget>
</widget> </widget>
</item> </item>