30 #include "ui_serialpluginoptions.h" 
   34     : IOptionsPage(parent)
 
   44     options_page = 
new Ui::SerialPluginOptionsPage();
 
   46     QWidget *optionsPageWidget = 
new QWidget;
 
   48     options_page->setupUi(optionsPageWidget);
 
   49     QStringList allowedSpeeds;
 
   50     allowedSpeeds << 
"1200" 
   79     options_page->cb_speed->addItems(allowedSpeeds);
 
   80     options_page->cb_speed->setCurrentIndex(options_page->cb_speed->findText(m_config->
speed()));
 
   81     options_page->reconnectCB->setChecked(m_config->
reconnect());
 
   82     return optionsPageWidget;
 
   93     m_config->
setSpeed(options_page->cb_speed->currentText());
 
   94     m_config->
setReconnect(options_page->reconnectCB->isChecked());
 
QWidget * createPage(QWidget *parent)
SerialPluginOptionsPage(SerialPluginConfiguration *config, QObject *parent=nullptr)
void savesettings() const 
void setSpeed(QString speed)
void setReconnect(bool reconnect)