GNU Radio Manual and C++ API Reference
3.10.7.0
The Free & Open Software Radio Ecosystem
utils.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2011,2012 Free Software Foundation, Inc.
4
*
5
* This file is part of GNU Radio
6
*
7
* SPDX-License-Identifier: GPL-3.0-or-later
8
*
9
*/
10
11
#ifndef INCLUDED_QTGUI_UTILS_H
12
#define INCLUDED_QTGUI_UTILS_H
13
14
#include <
gnuradio/qtgui/api.h
>
15
#include <qevent.h>
16
#include <qwt_picker_machine.h>
17
#include <qwt_plot_picker.h>
18
#include <QCoreApplication>
19
#include <QString>
20
21
/*!
22
* From QSS file name, extracts the file contents and returns a
23
* QString that contains the QSS information. Designed to be passed to
24
* the qApplication. The QSS file is typically retrieved using the
25
* [qtgui] qss=<filename> section of the preferences files.
26
*/
27
QTGUI_API
QString
get_qt_style_sheet
(QString filename);
28
29
class
QTGUI_API
QwtDblClickPlotPicker
:
public
QwtPlotPicker
30
{
31
public
:
32
QwtDblClickPlotPicker
(QWidget*);
33
~
QwtDblClickPlotPicker
()
override
;
34
35
virtual
QwtPickerMachine* stateMachine(
int
)
const
;
36
};
37
38
class
QTGUI_API
QwtPickerDblClickPointMachine
:
public
QwtPickerMachine
39
{
40
public
:
41
QwtPickerDblClickPointMachine
();
42
~
QwtPickerDblClickPointMachine
()
override
;
43
44
QList<QwtPickerMachine::Command> transition(
const
QwtEventPattern& eventPattern,
45
const
QEvent* e)
override
;
46
};
47
48
QTGUI_API
void
check_set_qss
(QApplication* app);
49
50
#endif
/* INCLUDED_QTGUI_UTILS_H */
QTGUI_API
#define QTGUI_API
Definition:
gr-qtgui/include/gnuradio/qtgui/api.h:18
get_qt_style_sheet
QTGUI_API QString get_qt_style_sheet(QString filename)
QwtPickerDblClickPointMachine
Definition:
utils.h:38
api.h
check_set_qss
QTGUI_API void check_set_qss(QApplication *app)
QwtDblClickPlotPicker
Definition:
utils.h:29
gr-qtgui
include
gnuradio
qtgui
utils.h
Generated by
1.8.14