X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdialogs%2Fconnect.hpp;h=a0bac740a71929dd378f550f05bda2f28e391a0b;hp=b46da06fdfc28ce55645323750b94e5a95dc7a69;hb=7a01bd3654ed046216308fa64edfd79be7cd525f;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329 diff --git a/pv/dialogs/connect.hpp b/pv/dialogs/connect.hpp index b46da06..a0bac74 100644 --- a/pv/dialogs/connect.hpp +++ b/pv/dialogs/connect.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_CONNECT_H -#define PULSEVIEW_PV_CONNECT_H +#ifndef PULSEVIEW_PV_CONNECT_HPP +#define PULSEVIEW_PV_CONNECT_HPP #include @@ -58,9 +58,11 @@ public: private: void populate_drivers(); + void populate_serials(std::shared_ptr driver); + void unset_connection(); - void set_serial_connection(); + void set_serial_connection(std::shared_ptr driver); private Q_SLOTS: void device_selected(int index); @@ -77,7 +79,7 @@ private: QComboBox drivers_; - QLineEdit serial_device_; + QComboBox serial_devices_; QPushButton scan_button_; QListWidget device_list_; @@ -88,4 +90,4 @@ private: } // namespace dialogs } // namespace pv -#endif // PULSEVIEW_PV_CONNECT_H +#endif // PULSEVIEW_PV_CONNECT_HPP