-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2790de6
commit 2e9f785
Showing
39 changed files
with
284 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
/* | ||
* Copyright (C) 2019 | ||
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Programming | ||
* Lazy Chair Computing | ||
* | ||
* This file is part of the qt-dab program | ||
* | ||
|
@@ -20,8 +20,8 @@ | |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
#ifndef __HISTORY_HANDLER__ | ||
#define __HISTORY_HANDLER__ | ||
#ifndef __SCANLIST_HANDLER__ | ||
#define __SCANLIST_HANDLER__ | ||
|
||
#include "radio.h" | ||
#include <QListView> | ||
|
@@ -32,20 +32,20 @@ | |
class RadioInterface; | ||
class descriptorType; | ||
|
||
class historyHandler:public QListView { | ||
class scanListHandler:public QListView { | ||
Q_OBJECT | ||
public: | ||
historyHandler (RadioInterface *radio, | ||
scanListHandler (RadioInterface *radio, | ||
QString fileName); | ||
~historyHandler (); | ||
~scanListHandler (); | ||
void addElement (const QString &, const QString &); | ||
void clearHistory (); | ||
void clear_scanList (); | ||
public slots: | ||
void selectElement (QModelIndex); | ||
signals: | ||
void handle_historySelect (const QString &); | ||
void handle_scanListSelect (const QString &); | ||
private: | ||
QStringList historyList; | ||
QStringList scanList; | ||
QStringListModel displayList; | ||
RadioInterface *radio; | ||
QString fileName; | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.