/** * @file cusdr_transmitTabWidget.h * @brief Transmit settings tab widget header file for cuSDR * @author Hermann von Hasseln, DL3HVH * @version 0.1 * @date 2012-08-28 */ /* * * Copyright 2010-2012 Hermann von Hasseln, DL3HVH * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License version 2 as * published by the Free Software Foundation * * 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 Library General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _CUSDR_TRANSMIT_TABWIDGET_H #define _CUSDR_TRANSMIT_TABWIDGET_H //#include #include //#include //#include #include "Util/cusdr_buttons.h" #include "cusdr_settings.h" #include "cusdr_transmitOptionsWidget.h" #include "cusdr_transmitPAWidget.h" class TransmitTabWidget : public QTabWidget { Q_OBJECT public: TransmitTabWidget(QWidget *parent = 0); ~TransmitTabWidget(); public slots: QSize sizeHint() const; QSize minimumSizeHint() const; void addNICChangedConnection(); protected: void closeEvent(QCloseEvent *event); void showEvent(QShowEvent *event); void enterEvent(QEvent *event); void leaveEvent(QEvent *event); void mouseMoveEvent(QMouseEvent *event); void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); private: Settings* set; QString m_message; TransmitOptionsWidget *m_transmitOptionsWidget; TransmitPAWidget *m_transmitPAWidget; int m_minimumWidgetWidth; int m_minimumGroupBoxWidth; void setupConnections(); private slots: //void setAlexPresence(bool value); void setPennyPresence(bool value); signals: void showEvent(QObject *sender); void closeEvent(QObject *sender); void messageEvent(QString message); }; #endif // _CUSDR_TRANSMIT_TABWIDGET_H