Sun, 26 Feb 2023 12:44:03 +0100
MicroPython
- fixed an issue checking, if the device data is available
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>FindLocationWidget</class> <widget class="QWidget" name="FindLocationWidget"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>800</height> </rect> </property> <property name="windowTitle"> <string>Find File</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="textLabel1"> <property name="text"> <string>Enter filename (? matches any single character, * matches everything)</string> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <layout class="QHBoxLayout"> <item> <widget class="QLineEdit" name="fileNameEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>9</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter file name to search for </string> </property> </widget> </item> <item> <widget class="QLabel" name="extsepLabel"> <property name="text"> <string>.</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="fileExtEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter file extension to search for</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QCheckBox" name="searchDirCheckBox"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enabled to include the entered directory into the search</string> </property> <property name="text"> <string>Search Path:</string> </property> </widget> </item> <item> <widget class="EricPathPicker" name="searchDirPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::StrongFocus</enum> </property> <property name="toolTip"> <string>Enter the directory, the file should be searched in</string> </property> </widget> </item> </layout> </item> <item> <widget class="QCheckBox" name="projectCheckBox"> <property name="toolTip"> <string>Select to search in the project path</string> </property> <property name="text"> <string>Search in &project</string> </property> <property name="shortcut"> <string>Alt+P</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="syspathCheckBox"> <property name="toolTip"> <string>Select to search in sys.path</string> </property> <property name="text"> <string>Search in &sys.path</string> </property> <property name="shortcut"> <string>Alt+S</string> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <spacer name="horizontalSpacer_2"> <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="QPushButton" name="findButton"> <property name="toolTip"> <string>Press to start the search process</string> </property> <property name="text"> <string>Search</string> </property> </widget> </item> <item> <widget class="QPushButton" name="stopButton"> <property name="toolTip"> <string>Press to stop the current search process</string> </property> <property name="text"> <string>Stop</string> </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> </layout> </item> <item> <widget class="Line" name="line_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="EricSqueezeLabelPath" name="findStatusLabel"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QPushButton" name="clearButton"> <property name="toolTip"> <string>Press to clear the search results</string> </property> <property name="text"> <string>Clear</string> </property> </widget> </item> </layout> </item> <item> <widget class="QTreeWidget" name="fileList"> <property name="rootIsDecorated"> <bool>false</bool> </property> <property name="sortingEnabled"> <bool>true</bool> </property> <column> <property name="text"> <string>Filename</string> </property> </column> <column> <property name="text"> <string>Path</string> </property> </column> </widget> </item> <item> <widget class="QPushButton" name="openButton"> <property name="toolTip"> <string>Press to open the selected file</string> </property> <property name="text"> <string>Open</string> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>EricPathPicker</class> <extends>QWidget</extends> <header>eric7/EricWidgets/EricPathPicker.h</header> <container>1</container> </customwidget> <customwidget> <class>EricSqueezeLabelPath</class> <extends>QLabel</extends> <header>eric7/EricWidgets/EricSqueezeLabels.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>fileNameEdit</tabstop> <tabstop>fileExtEdit</tabstop> <tabstop>searchDirCheckBox</tabstop> <tabstop>searchDirPicker</tabstop> <tabstop>projectCheckBox</tabstop> <tabstop>syspathCheckBox</tabstop> <tabstop>findButton</tabstop> <tabstop>stopButton</tabstop> <tabstop>clearButton</tabstop> <tabstop>fileList</tabstop> <tabstop>openButton</tabstop> </tabstops> <resources/> <connections/> </ui>