mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-09-16 16:30:26 +02:00
2021-02-01 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDGpioSlotsModel'. * Refactored the 'Livewire GPIO Source Assignments' dialog in rdadmin(1) to use the model-based API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
0be2a7696b
commit
84dd6375b6
@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
#include <rd.h>
|
#include <rd.h>
|
||||||
#include <rddialog.h>
|
#include <rddialog.h>
|
||||||
//#include <rdlistview.h>
|
|
||||||
#include <rdgpioslotsmodel.h>
|
#include <rdgpioslotsmodel.h>
|
||||||
#include <rdmatrix.h>
|
#include <rdmatrix.h>
|
||||||
#include <rdtableview.h>
|
#include <rdtableview.h>
|
||||||
@ -45,18 +44,13 @@ class ListLiveWireGpios : public RDDialog
|
|||||||
void editData();
|
void editData();
|
||||||
void doubleClickedData(const QModelIndex &index);
|
void doubleClickedData(const QModelIndex &index);
|
||||||
void closeData();
|
void closeData();
|
||||||
// void cancelData();
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void resizeEvent(QResizeEvent *e);
|
void resizeEvent(QResizeEvent *e);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// void RefreshList();
|
|
||||||
// QLabel *list_title_label;
|
|
||||||
QPushButton *list_edit_button;
|
QPushButton *list_edit_button;
|
||||||
QPushButton *list_close_button;
|
QPushButton *list_close_button;
|
||||||
// QPushButton *list_cancel_button;
|
|
||||||
// RDListView *list_view;
|
|
||||||
RDTableView *list_view;
|
RDTableView *list_view;
|
||||||
RDGpioSlotsModel *list_model;
|
RDGpioSlotsModel *list_model;
|
||||||
RDMatrix *list_matrix;
|
RDMatrix *list_matrix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user