File: hamlibnetworkconfigwidget.h

package info (click to toggle)
klog 2.4.2-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 12,228 kB
  • sloc: cpp: 51,678; makefile: 15
file content (25 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef KLOG_SETUPPAGES_HAMLIBNETWORKCONFIGWIDGET_H
#define KLOG_SETUPPAGES_HAMLIBNETWORKCONFIGWIDGET_H

#include <QtWidgets>
#include "../klogdefinitions.h"
#include "../utilities.h"

class HamLibNetworkConfigWidget : public QWidget
{
    Q_OBJECT

public:
    explicit HamLibNetworkConfigWidget(QWidget *parent = nullptr);
    void createUI();
    int getPort();
    void setPort (const int _b);
    QString getAddress();
    void setAddress(const QString &_st);

private:
    QLineEdit*hostAddressLineEdit;
    QSpinBox *portQSpinBox;
};

#endif // HAMLIBNETWORKCONFIGWIDGET_H