mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 12:38:53 -04:00
More work on a color-highlighting window.
This commit is contained in:
parent
f1261076be
commit
52e733d31d
@ -1,18 +1,22 @@
|
||||
#include "colorhighlighting.h"
|
||||
#include "ui_colorhighlighting.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
|
||||
ColorHighlighting::ColorHighlighting(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::ColorHighlighting)
|
||||
{
|
||||
qDebug() << "AA";
|
||||
ui->setupUi(this);
|
||||
qDebug() << "BB";
|
||||
}
|
||||
|
||||
ColorHighlighting::~ColorHighlighting()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void ColorHighlighting::colorHighlightlingSetup()
|
||||
{
|
||||
setWindowTitle(QApplication::applicationName() + " - Colors");
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ class ColorHighlighting : public QDialog
|
||||
public:
|
||||
explicit ColorHighlighting(QWidget *parent = 0);
|
||||
~ColorHighlighting();
|
||||
void colorHighlightlingSetup();
|
||||
|
||||
private:
|
||||
Ui::ColorHighlighting *ui;
|
||||
|
@ -2375,14 +2375,13 @@ void MainWindow::on_actionFox_Log_triggered()
|
||||
|
||||
void MainWindow::on_actionColors_triggered()
|
||||
{
|
||||
qDebug() << "aa";
|
||||
if (!m_colorHighlighting) {
|
||||
m_colorHighlighting.reset (new ColorHighlighting);
|
||||
}
|
||||
m_colorHighlighting->showNormal();
|
||||
m_colorHighlighting->raise ();
|
||||
m_colorHighlighting->activateWindow ();
|
||||
qDebug() << "bb";
|
||||
m_colorHighlighting->colorHighlightlingSetup();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionMessage_averaging_triggered()
|
||||
|
Loading…
Reference in New Issue
Block a user