mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 20:58:55 -05:00
Format list of "Type 1" prefixes in columns -- thanks to Sandro, IW3RAB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5551 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4f9cfafec9
commit
1ecc076e28
@ -3765,9 +3765,19 @@ void MainWindow::on_actionShort_list_of_add_on_prefixes_and_suffixes_triggered()
|
||||
}
|
||||
m_prefixes.reset (new QTextEdit);
|
||||
m_prefixes->setReadOnly(true);
|
||||
m_prefixes->setFontPointSize(10);
|
||||
m_prefixes->setWindowTitle(QApplication::applicationName () + " - " + tr ("Prefixes"));
|
||||
m_prefixes->setGeometry(QRect(45,50,565,450));
|
||||
|
||||
// Formatting in columns thanks to Sandro, IW3RAB:
|
||||
m_prefixes->setWordWrapMode (QTextOption::NoWrap);
|
||||
QFont font;
|
||||
font.setFamily("Courier");
|
||||
font.setStyleHint(QFont::Monospace);
|
||||
font.setFixedPitch(true);
|
||||
font.setPointSize(10); //as for decoded text
|
||||
m_prefixes->setFont(font);
|
||||
m_prefixes->setWindowTitle(QApplication::applicationName () +
|
||||
" - " + tr ("Prefixes"));
|
||||
m_prefixes->setGeometry(QRect(45,50,750,450));
|
||||
|
||||
Qt::WindowFlags flags = Qt::WindowCloseButtonHint |
|
||||
Qt::WindowMinimizeButtonHint;
|
||||
m_prefixes->setWindowFlags(flags);
|
||||
|
Loading…
Reference in New Issue
Block a user