newrpl/usbselector.h

39 lines
634 B
C
Raw Normal View History

#ifndef USBSELECTOR_H
#define USBSELECTOR_H
#include <QDialog>
namespace Ui {
class USBSelector;
}
class USBSelector : public QDialog
{
Q_OBJECT
2017-11-29 00:16:29 +01:00
QTimer *tmr;
QString SelectedDevicePath;
2017-12-14 19:12:35 +01:00
QString SelectedDeviceName;
public:
2017-11-29 00:16:29 +01:00
void RefreshList();
QString& getSelectedDevicePath();
2017-12-14 19:12:35 +01:00
QString& getSelectedDeviceName();
2017-11-29 00:16:29 +01:00
explicit USBSelector(QWidget *parent = 0);
~USBSelector();
private slots:
void on_USBtreeWidget_itemSelectionChanged();
2017-11-29 00:16:29 +01:00
void on_USBSelector_accepted();
void on_USBSelector_rejected();
void refresh();
private:
Ui::USBSelector *ui;
};
#endif // USBSELECTOR_H