VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
channelListDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include "makRadioQt/channelListDialog.hpp"
10 
11 #if !defined(Q_MOC_RUN)
12 #include <makRadio/rwRadioState.h>
14 #endif
15 
16 #include <QtWidgets/QDialog>
17 #include <vector>
18 
19 namespace makRadio
20 {
21  class DtChannelConfigDialog;
22 
25  {
26  Q_OBJECT
27 
28  public:
29  DtChannelListDialog(DtRadioSystemInitializer* initializer, QWidget* parent = 0, const Qt::WindowFlags& f = Qt::Dialog);
30  virtual ~DtChannelListDialog() override;
31 
32  virtual void setupUi();
33 
34  protected:
35  virtual void accept() override;
36  virtual void setupChannels();
37  virtual void addChannel(const DtRwRadioChannel& channel);
38  virtual void clearChannels();
39  virtual std::string nextChannelName();
40  virtual DtChannelConfigDialog* createChannelConfigDialog(DtRwRadioChannel& channel);
41 
42  protected slots:
43  virtual void addChannel();
44  virtual void removeChannel();
45  virtual void configureChannel();
46 
47  public:
48  Ui::ChannelListDialog myUI;
49 
50  protected:
52  std::vector<DtRwRadioChannel> myChannels;
53  };
54 }
Initializer for the radio system (including radios)
Definition: radioSystemInitializer.h:23
#define MAKRADIOQT_DLL
Definition: makRadioQt.h:14
DtRadioSystemInitializer * myInitializer
Definition: channelListDialog.h:51
std::vector< DtRwRadioChannel > myChannels
Definition: channelListDialog.h:52
Ui::ChannelListDialog myUI
Definition: channelListDialog.h:48
Initializer for a channel reader / writer.
Definition: rwRadioState.h:61
Dialog for managing the global channel list.
Definition: channelListDialog.h:24
Dialog for editing a single radio channel&#39;s properties.
Definition: channelConfigDialog.h:20

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)