src/eric7/MicroPython/MicroPythonWidget.ui

Sun, 16 Mar 2025 12:53:12 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 16 Mar 2025 12:53:12 +0100
branch
eric7
changeset 11170
6d6199d668fb
parent 10011
26a7d607b8f6
permissions
-rw-r--r--

Added the Adafruit Feather nRF52840 to the list of known NRF52 boards and changed the list of known CircuitPython boards to be more explicit with respect to Adafruit boards (i.e. VID 0x239A).

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MicroPythonWidget</class>
 <widget class="QWidget" name="MicroPythonWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>456</width>
    <height>548</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QLabel" name="deviceIconLabel">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>48</width>
         <height>48</height>
        </size>
       </property>
       <property name="alignment">
        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
       </property>
      </widget>
     </item>
     <item>
      <layout class="QGridLayout" name="gridLayout">
       <item row="0" column="1">
        <widget class="QToolButton" name="repopulateButton">
         <property name="toolTip">
          <string>Press to detect connected devices and repopulate the device selector.</string>
         </property>
        </widget>
       </item>
       <item row="0" column="3">
        <widget class="EricToolButton" name="menuButton"/>
       </item>
       <item row="0" column="0">
        <widget class="QComboBox" name="deviceTypeComboBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="sizeAdjustPolicy">
          <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
         </property>
        </widget>
       </item>
       <item row="1" column="0" colspan="5">
        <widget class="QLabel" name="deviceInfoLabel">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="wordWrap">
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item row="0" column="4">
        <widget class="EricLed" name="deviceConnectedLed" native="true"/>
       </item>
       <item row="0" column="2">
        <widget class="QToolButton" name="webreplConfigButton">
         <property name="toolTip">
          <string>Press to edit the list of configured WebREPL connections.</string>
         </property>
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <item>
      <widget class="QToolButton" name="runButton">
       <property name="toolTip">
        <string>Press to run the current script on the selected device</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="replButton">
       <property name="toolTip">
        <string>Press to open a terminal (REPL) on the selected device</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="filesButton">
       <property name="toolTip">
        <string>Press to open a file manager on the selected device</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="chartButton">
       <property name="toolTip">
        <string>Press to open a chart window to display data receive from the selected device</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QToolButton" name="connectButton">
       <property name="toolTip">
        <string>Press to connect the selected device</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="MicroPythonReplWidget" name="replWidget" native="true">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="focusPolicy">
      <enum>Qt::StrongFocus</enum>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>EricToolButton</class>
   <extends>QToolButton</extends>
   <header>eric7/EricWidgets/EricToolButton.h</header>
  </customwidget>
  <customwidget>
   <class>EricLed</class>
   <extends>QWidget</extends>
   <header>eric7/EricWidgets/EricLed.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>MicroPythonReplWidget</class>
   <extends>QWidget</extends>
   <header>eric7/MicroPython/MicroPythonReplWidget.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>deviceTypeComboBox</tabstop>
  <tabstop>repopulateButton</tabstop>
  <tabstop>webreplConfigButton</tabstop>
  <tabstop>menuButton</tabstop>
  <tabstop>runButton</tabstop>
  <tabstop>replButton</tabstop>
  <tabstop>filesButton</tabstop>
  <tabstop>chartButton</tabstop>
  <tabstop>connectButton</tabstop>
  <tabstop>replWidget</tabstop>
 </tabstops>
 <resources/>
 <connections/>
</ui>

eric ide

mercurial