X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fdialogs%2Fconnect.hpp;h=e14972abd47150824dec6d811596df855bcec014;hb=e6d42eec32b61b6831b7926a9d6a5cd03d1f3430;hp=a8f793ac1dc3e8f4b73ee9b9f86ead60c19343c6;hpb=da30ecb7e72bd2547e524258efa5ec642988b70b;p=pulseview.git
diff --git a/pv/dialogs/connect.hpp b/pv/dialogs/connect.hpp
index a8f793a..e14972a 100644
--- a/pv/dialogs/connect.hpp
+++ b/pv/dialogs/connect.hpp
@@ -14,8 +14,7 @@
* 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
+ * along with this program; if not, see .
*/
#ifndef PULSEVIEW_PV_CONNECT_HPP
@@ -23,11 +22,14 @@
#include
+#include
#include
#include
#include
#include
+#include
#include
+#include
#include
#include
#include
@@ -67,10 +69,11 @@ private:
void unset_connection();
- void set_serial_connection(std::shared_ptr driver);
-
private Q_SLOTS:
- void device_selected(int index);
+ void driver_selected(int index);
+
+ void serial_toggled(bool checked);
+ void tcp_toggled(bool checked);
void scan_pressed();
@@ -86,6 +89,11 @@ private:
QComboBox serial_devices_;
+ QWidget *tcp_config_;
+ QLineEdit *tcp_host_;
+ QSpinBox *tcp_port_;
+ QCheckBox *tcp_use_vxi_;
+
QPushButton scan_button_;
QListWidget device_list_;