mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 16:41:18 +02:00
2018-02-01 Fred Gleason <fredg@paravelsystems.com>
* Converted rdgpimon(1) to use RDApplication.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// A Qt-based application for testing general purpose input (GPI) devices.
|
||||
//
|
||||
// (C) Copyright 2002-2005,2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2005,2016-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -37,16 +37,14 @@
|
||||
|
||||
#include <rdlistview.h>
|
||||
#include <rdmatrix.h>
|
||||
#include <rdconfig.h>
|
||||
#include <rdripc.h>
|
||||
#include <rdstation.h>
|
||||
#include <rdtransportbutton.h>
|
||||
|
||||
#include <gpi_label.h>
|
||||
#include "gpi_label.h"
|
||||
|
||||
#define GPIMON_START_UP_DELAY 100
|
||||
#define GPIMON_ROWS 4
|
||||
#define GPIMON_COLS 8
|
||||
#define RDGPIMON_USAGE "\n"
|
||||
|
||||
class MainWidget : public QWidget
|
||||
{
|
||||
@@ -81,10 +79,6 @@ class MainWidget : public QWidget
|
||||
void UpdateLabelsDown(int first_line);
|
||||
void RefreshEventsList();
|
||||
void AddEventsItem(int line,bool state);
|
||||
RDConfig *gpi_config;
|
||||
QSqlDatabase *gpi_db;
|
||||
RDRipc *gpi_ripc;
|
||||
RDStation *gpi_station;
|
||||
RDMatrix *gpi_matrix;
|
||||
QComboBox *gpi_type_box;
|
||||
QComboBox *gpi_matrix_box;
|
||||
@@ -107,4 +101,4 @@ class MainWidget : public QWidget
|
||||
};
|
||||
|
||||
|
||||
#endif // MAIN_WIDGET_H
|
||||
#endif // RDGPIMON_H
|
||||
|
Reference in New Issue
Block a user