File indexing completed on 2025-01-19 05:20:20
0001 /* 0002 This file is part of the Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef KASTEN_BYTEARRAYVALUESSTREAMENCODERCONFIGEDITOR_HPP 0010 #define KASTEN_BYTEARRAYVALUESSTREAMENCODERCONFIGEDITOR_HPP 0011 0012 // lib 0013 #include "bytearrayvaluesstreamencoder.hpp" 0014 // Kasten gui 0015 #include <Kasten/AbstractModelStreamEncoderConfigEditor> 0016 0017 class KComboBox; 0018 class QLineEdit; 0019 0020 namespace Kasten { 0021 0022 class ByteArrayValuesStreamEncoderConfigEditor : public AbstractModelStreamEncoderConfigEditor 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 explicit ByteArrayValuesStreamEncoderConfigEditor(ByteArrayValuesStreamEncoder* encoder, QWidget* parent = nullptr); 0028 ~ByteArrayValuesStreamEncoderConfigEditor() override; 0029 0030 public: // AbstractModelStreamEncoderConfigEditor API 0031 AbstractSelectionView* createPreviewView() const override; 0032 0033 private Q_SLOTS: 0034 void onSettingsChanged(); 0035 0036 private: 0037 ByteArrayValuesStreamEncoder* mEncoder; 0038 ValuesStreamEncoderSettings mSettings; 0039 0040 // KComboBox* mValueCodingSelect; 0041 QLineEdit* mSeparationEdit; 0042 }; 0043 0044 } 0045 0046 #endif