X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdialogs%2Fdecoder.h;fp=pv%2Fdialogs%2Fdecoder.h;h=0000000000000000000000000000000000000000;hb=4e5a4405482a296ebb6014e627298ad156c78d55;hp=926d015b6a6f953448339a7d0f7d6556d7083518;hpb=ad50ac1af2b9e8bc0a8c520d80debfd8ad95c904;p=pulseview.git diff --git a/pv/dialogs/decoder.h b/pv/dialogs/decoder.h deleted file mode 100644 index 926d015b..00000000 --- a/pv/dialogs/decoder.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * This file is part of the PulseView project. - * - * Copyright (C) 2012 Joel Holdsworth - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef PULSEVIEW_PV_DECODER_H -#define PULSEVIEW_PV_DECODER_H - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include - -#include - -struct srd_decoder; - -namespace pv { - -namespace view { -class LogicSignal; -} - -namespace dialogs { - -class Decoder : public QDialog -{ -public: - Decoder(QWidget *parent, const srd_decoder *decoder, - const std::vector< boost::shared_ptr > &sigs, - GHashTable *options); - - void accept(); - - std::map > - get_probes(); - -private: - QComboBox* create_probe_selector( - QWidget *parent, const char *name); - -private: - const std::vector< boost::shared_ptr > &_sigs; - - std::map _probe_selector_map; - - pv::prop::binding::DecoderOptions _binding; - - QVBoxLayout _layout; - - QWidget _form; - QFormLayout _form_layout; - - QLabel _heading; - QDialogButtonBox _button_box; -}; - -} // namespace dialogs -} // namespace pv - -#endif // PULSEVIEW_PV_DECODER_H