1 /************************************************************************ 2 ** 3 ** Copyright (C) 2019 Kevin B. Hendricks, Stratford, Ontario Canada 4 ** Copyright (C) 2012 John Schember <john@nachtimwald.com> 5 ** 6 ** This file is part of Sigil. 7 ** 8 ** Sigil is free software: you can redistribute it and/or modify 9 ** it under the terms of the GNU General Public License as published by 10 ** the Free Software Foundation, either version 3 of the License, or 11 ** (at your option) any later version. 12 ** 13 ** Sigil is distributed in the hope that it will be useful, 14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 ** GNU General Public License for more details. 17 ** 18 ** You should have received a copy of the GNU General Public License 19 ** along with Sigil. If not, see <http://www.gnu.org/licenses/>. 20 ** 21 *************************************************************************/ 22 23 #pragma once 24 #ifndef AVTAB_H 25 #define AVTAB_H 26 27 #include "Tabs/ContentTab.h" 28 #include "ResourceObjects/Resource.h" 29 30 class AVView; 31 32 class AVTab : public ContentTab 33 { 34 Q_OBJECT 35 36 public: 37 AVTab(Resource *resource, QWidget *parent=0); 38 39 public slots: 40 void ShowAV(); 41 void RefreshContent(); 42 43 private: 44 void ConnectSignalsToSlots(); 45 46 AVView *m_av; 47 }; 48 49 #endif // AVTAB_H 50