mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-25 06:35:17 -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 "colorhighlighting.h"
|
||||||
#include "ui_colorhighlighting.h"
|
#include "ui_colorhighlighting.h"
|
||||||
|
|
||||||
|
#include <QApplication>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
ColorHighlighting::ColorHighlighting(QWidget *parent) :
|
ColorHighlighting::ColorHighlighting(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::ColorHighlighting)
|
ui(new Ui::ColorHighlighting)
|
||||||
{
|
{
|
||||||
qDebug() << "AA";
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
qDebug() << "BB";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ColorHighlighting::~ColorHighlighting()
|
ColorHighlighting::~ColorHighlighting()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ColorHighlighting::colorHighlightlingSetup()
|
||||||
|
{
|
||||||
|
setWindowTitle(QApplication::applicationName() + " - Colors");
|
||||||
|
}
|
||||||
|
@ -14,6 +14,7 @@ class ColorHighlighting : public QDialog
|
|||||||
public:
|
public:
|
||||||
explicit ColorHighlighting(QWidget *parent = 0);
|
explicit ColorHighlighting(QWidget *parent = 0);
|
||||||
~ColorHighlighting();
|
~ColorHighlighting();
|
||||||
|
void colorHighlightlingSetup();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::ColorHighlighting *ui;
|
Ui::ColorHighlighting *ui;
|
||||||
|
@ -2375,14 +2375,13 @@ void MainWindow::on_actionFox_Log_triggered()
|
|||||||
|
|
||||||
void MainWindow::on_actionColors_triggered()
|
void MainWindow::on_actionColors_triggered()
|
||||||
{
|
{
|
||||||
qDebug() << "aa";
|
|
||||||
if (!m_colorHighlighting) {
|
if (!m_colorHighlighting) {
|
||||||
m_colorHighlighting.reset (new ColorHighlighting);
|
m_colorHighlighting.reset (new ColorHighlighting);
|
||||||
}
|
}
|
||||||
m_colorHighlighting->showNormal();
|
m_colorHighlighting->showNormal();
|
||||||
m_colorHighlighting->raise ();
|
m_colorHighlighting->raise ();
|
||||||
m_colorHighlighting->activateWindow ();
|
m_colorHighlighting->activateWindow ();
|
||||||
qDebug() << "bb";
|
m_colorHighlighting->colorHighlightlingSetup();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionMessage_averaging_triggered()
|
void MainWindow::on_actionMessage_averaging_triggered()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user