From c6444318792b0eb7d0b250cb84c854cb78ac9d0a Mon Sep 17 00:00:00 2001 From: Michael Carpenter Date: Thu, 21 Nov 2013 19:25:26 -0500 Subject: [PATCH] Removed Check sync, and ram/flash sync from tunable memory view, since they were not in use --- core/src/emsinfo.ui | 45 +--------------------------------------- core/src/emsinfoview.cpp | 23 -------------------- core/src/emsinfoview.h | 3 --- 3 files changed, 1 insertion(+), 70 deletions(-) diff --git a/core/src/emsinfo.ui b/core/src/emsinfo.ui index c1990ec..5a6bf34 100644 --- a/core/src/emsinfo.ui +++ b/core/src/emsinfo.ui @@ -17,7 +17,7 @@ - + @@ -25,49 +25,6 @@ - - - - - - - - - - Local Ram - - - - - - - Device Flash - - - - - - - - - - - - - - - - - - - - - Check Sync - - - - - diff --git a/core/src/emsinfoview.cpp b/core/src/emsinfoview.cpp index 6e470d0..842190f 100644 --- a/core/src/emsinfoview.cpp +++ b/core/src/emsinfoview.cpp @@ -35,7 +35,6 @@ EmsInfoView::EmsInfoView(QWidget *parent) : QWidget(parent) ui.tableWidget->horizontalHeader()->hide(); ui.tableWidget->verticalHeader()->hide(); connect(ui.locationIdInfoTableWidget,SIGNAL(cellDoubleClicked(int,int)),this,SLOT(locationInfoWidgetDoubleClicked(int,int))); - connect(ui.checkSyncButton,SIGNAL(clicked()),this,SIGNAL(checkSync())); } void EmsInfoView::normalViewClicked() { @@ -73,17 +72,6 @@ void EmsInfoView::hexViewClicked() //displayLocationId(locid,true,1); //0 for normal view, 1 for hex view } -void EmsInfoView::setLocalRam(bool dirty) -{ - if (dirty) - { - ui.localRamLineEdit->setText("Local changes not saved to RAM"); - } - else - { - ui.localRamLineEdit->setText("Local changes in device RAM"); - } -} void EmsInfoView::clear() { ui.locationIdInfoTableWidget->clearContents(); @@ -92,17 +80,6 @@ void EmsInfoView::clear() ui.locationIdInfoTableWidget->setRowCount(0); } -void EmsInfoView::setDeviceFlash(bool dirty) -{ - if (dirty) - { - ui.deviceFlashLineEdit->setText("Local changes not saved to FLASH"); - } - else - { - ui.deviceFlashLineEdit->setText("Local changes in FLASH"); - } -} void EmsInfoView::locationInfoWidgetDoubleClicked(int row, int column) { diff --git a/core/src/emsinfoview.h b/core/src/emsinfoview.h index 46533a4..b0165b4 100644 --- a/core/src/emsinfoview.h +++ b/core/src/emsinfoview.h @@ -36,9 +36,6 @@ class EmsInfoView : public QWidget public: explicit EmsInfoView(QWidget *parent = 0); ~EmsInfoView(); - void setLocalRam(bool dirty); - - void setDeviceFlash(bool dirty); void clear(); void setInterrogationData(QMap datamap); protected: