first simple version of CQ TU Logbook

# CQ TU Logger
* written in Qt (runs with Qt4 and Qt5 libraries)
* quick & dirty using QtCreator
## Compiling & execution
For building *cqtulog* you need a C++ compiler & qmake:
* g++
* Qt5 or Qt4 with qmake
Prerequisites for Debian & Ubuntu:
> apt install g++ qt5-default qt5-qmake
Build process:
> mkdir build
> cd build
> qmake ..
> make
> ./cqtulog
## Future work
* test for memory leaks with valgrind
* Cross compiling for Windows/MacOS
* completerSetData()
* read lists from files
* checkDupes()
* seperate dynamic list view could be better: worked (this band), worked (other band), known calls
* upgrades for CQ TU SSB & CQ TU CW
# Project created by QtCreator 2017-01-20T16:20:32
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = cqtulog
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += main.cpp\
HEADERS += mainwindow.h
FORMS += mainwindow.ui
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
QApplication a(argc, argv);
MainWindow w;;
return a.exec();
This diff is collapsed.
#include <QMainWindow>
#include <QRegExpValidator>
#include <QLineEdit>
#include <QDateTime>
namespace Ui {
class MainWindow;
class MainWindow : public QMainWindow
explicit MainWindow(QWidget *parent = 0);
private slots:
void on_lineEdit_call_textChanged();
void on_lineEdit_exc_textChanged();
void on_lineEdit_myExc_textChanged();
void on_lineEdit_myCall_textChanged();
void on_lineEdit_myOperators_textChanged();
void changeBand();
void updateTime();
void completerSetData();
void on_lineEdit_call_returnPressed();
void on_lineEdit_nrr_returnPressed();
void on_lineEdit_exc_returnPressed();
void on_pushButton_clicked();
void saveLogfile();
void on_tableWidget_cellChanged(int row, int column);
Ui::MainWindow *ui;
int nrs;
QDateTime datetime;
QString band;
QStringList* callList;
QStringList* excList;
QStringList* workedVhf;
QStringList* workedUhf;
QStringList* multVhf;
QStringList* multUhf;
QString logfile;
void setLineUppercase(QLineEdit *le);
void checkSpace(QLineEdit *le);
void saveQso();
void checkDupes();
void checkMultis();
int getScore();
#endif // MAINWINDOW_H
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment