stardundeegui.h
66 lines
| 2.4 KiB
| text/x-c
|
CLexer
/ spwplugin / stardundeegui.h
Jeandet Alexis
|
r11 | /*------------------------------------------------------------------------------ | ||
-- This file is a part of the SocExplorer Software | ||||
-- Copyright (C) 2014, Plasma Physics Laboratory - CNRS | ||||
-- | ||||
-- 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 3 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||
-------------------------------------------------------------------------------*/ | ||||
/*-- Author : Alexis Jeandet | ||||
-- Mail : alexis.jeandet@member.fsf.org | ||||
----------------------------------------------------------------------------*/ | ||||
r10 | #ifndef STARDUNDEEGUI_H | |||
#define STARDUNDEEGUI_H | ||||
#include <QWidget> | ||||
namespace Ui { | ||||
class StarDundeeUI; | ||||
} | ||||
class StarDundeeGUI : public QWidget | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit StarDundeeGUI(QWidget *parent = 0); | ||||
Jeandet Alexis
|
r11 | int getBrickSelection(); | ||
int getLinkNumberSelection(); | ||||
QString getLinkSpeedSelection(); | ||||
QString getDestinationKey(); | ||||
QString getRmapAddress(); | ||||
QString getRmapKey(); | ||||
r14 | QString getRmapTimeout(); | |||
r10 | signals: | |||
Jeandet Alexis
|
r11 | void brickSelectionChanged(int brickIndex); | ||
void linkNumberSelectionChanged(int linkIndex); | ||||
void linkSpeedSelectionChanged(const QString & linkSpeed); | ||||
void destinationKeyChanged(const QString & destKey); | ||||
void rmapAddressChanged(const QString & address); | ||||
void rmapKeyChanged(const QString & key); | ||||
r14 | void rmapTimeoutChanged(const QString & timeout); | |||
Jeandet Alexis
|
r11 | void connectClicked(); | ||
r10 | public slots: | |||
Jeandet Alexis
|
r11 | void lock(bool lock); | ||
void updateAvailableBrickCount(int count); | ||||
r14 | void selectBrick(int brickIndex); | |||
void selectLinkNumber(int linkIndex); | ||||
void selectLinkSpeed(int linkSpeed); | ||||
void setDestinationKey(const QString & destKey); | ||||
void setRmapAddress(const QString & address); | ||||
void setRmapKey(const QString & key); | ||||
void setRmapTimeout(const QString & timeout); | ||||
r10 | private: | |||
Ui::StarDundeeUI *ui; | ||||
}; | ||||
#endif // STARDUNDEEGUI_H | ||||