blob: 0522fed827636db0c2367fbbbfea3b5e9ca0a110 (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#
# Copyright 2011, 2020 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
#
'''
Provides a GUI interface using the QT backend.
'''
# The presence of this file turns this directory into a Python package
import os
try:
from .qtgui_python import *
except ImportError:
dirname, filename = os.path.split(os.path.abspath(__file__))
__path__.append(os.path.join(dirname, "bindings"))
from .qtgui_python import *
try:
import matplotlib.pyplot as plt
from .distanceradar import DistanceRadar
from .azelplot import AzElPlot
except ImportError:
from gnuradio import gr
gr.log.warn("Matplotlib is a required dependency to use DistanceRadar and AzElPlot."
" Please install matplotlib to use these blocks (https://matplotlib.org/)")
from .range import Range, RangeWidget
from . import util
from .compass import GrCompass
from .togglebutton import ToggleButton
from .msgpushbutton import MsgPushButton
from .msgcheckbox import MsgCheckBox
from .digitalnumbercontrol import MsgDigitalNumberControl
from .dialcontrol import GrDialControl
from .ledindicator import GrLEDIndicator
from .graphicitem import GrGraphicItem
from .levelgauge import GrLevelGauge
from .dialgauge import GrDialGauge
from .toggleswitch import GrToggleSwitch
from .graphicoverlay import GrGraphicOverlay
from .auto_correlator_sink import AutoCorrelatorSink
from .auto_correlator_sink import AutoCorrelator
from .auto_correlator_sink import Normalize
|