eric6/Preferences/ConfigurationPages/EditorFilePage.ui

changeset 7319
49ea50a9a61e
parent 7318
5d39cd2d7960
child 7749
285855999b4e
--- a/eric6/Preferences/ConfigurationPages/EditorFilePage.ui	Sun Oct 27 19:20:41 2019 +0100
+++ b/eric6/Preferences/ConfigurationPages/EditorFilePage.ui	Mon Oct 28 19:12:37 2019 +0100
@@ -507,7 +507,7 @@
          <item>
           <widget class="QLabel" name="label_12">
            <property name="text">
-            <string>Extensions:</string>
+            <string>File Extensions:</string>
            </property>
           </widget>
          </item>
@@ -532,7 +532,7 @@
            <item row="0" column="0">
             <widget class="QLabel" name="label_11">
              <property name="text">
-              <string>Extensions:</string>
+              <string>File Extensions:</string>
              </property>
             </widget>
            </item>
@@ -577,20 +577,6 @@
              </property>
             </widget>
            </item>
-           <item row="0" column="1">
-            <widget class="QCheckBox" name="previewMarkdownPyMdownCheckBox">
-             <property name="toolTip">
-              <string>Select to enable the use of the PyMdown extensions</string>
-             </property>
-             <property name="whatsThis">
-              <string>&lt;b&gt;Enable PyMdown Extensions&lt;/b&gt;
-&lt;p&gt;Select this entry to enable the use of the PyMdown extensions. These have to be installed with &lt;code&gt;pip install pymdown-extensions&lt;/code&gt;.&lt;/p&gt;</string>
-             </property>
-             <property name="text">
-              <string>Enable PyMdown Extensions</string>
-             </property>
-            </widget>
-           </item>
            <item row="1" column="0">
             <widget class="QCheckBox" name="previewMarkdownMathJaxCheckBox">
              <property name="toolTip">
@@ -613,6 +599,47 @@
            </item>
           </layout>
          </item>
+         <item>
+          <layout class="QHBoxLayout" name="horizontalLayout_6">
+           <item>
+            <widget class="QCheckBox" name="previewMarkdownPyMdownCheckBox">
+             <property name="toolTip">
+              <string>Select to enable the use of the PyMdown extensions</string>
+             </property>
+             <property name="whatsThis">
+              <string>&lt;b&gt;Enable PyMdown Extensions&lt;/b&gt;
+&lt;p&gt;Select this entry to enable the use of the PyMdown extensions. These have to be installed with &lt;code&gt;pip install pymdown-extensions&lt;/code&gt;.&lt;/p&gt;</string>
+             </property>
+             <property name="text">
+              <string>Enable PyMdown Extensions</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QPushButton" name="previewMarkdownPyMdownInstallPushButton">
+             <property name="toolTip">
+              <string>Press to install the PyMdown extensions</string>
+             </property>
+             <property name="text">
+              <string>Install PyMdown Extensions</string>
+             </property>
+            </widget>
+           </item>
+           <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>
+          </layout>
+         </item>
         </layout>
        </widget>
       </item>
@@ -625,7 +652,7 @@
          <item row="0" column="0">
           <widget class="QLabel" name="label_9">
            <property name="text">
-            <string>Extensions:</string>
+            <string>File Extensions:</string>
            </property>
           </widget>
          </item>
@@ -687,7 +714,7 @@
          <item>
           <widget class="QLabel" name="label_10">
            <property name="text">
-            <string>Extensions:</string>
+            <string>File Extensions:</string>
            </property>
           </widget>
          </item>
@@ -746,9 +773,10 @@
   <tabstop>previewMarkdownExtensionsEdit</tabstop>
   <tabstop>previewMarkdownHTMLFormatComboBox</tabstop>
   <tabstop>previewMarkdownNLtoBreakCheckBox</tabstop>
-  <tabstop>previewMarkdownPyMdownCheckBox</tabstop>
   <tabstop>previewMarkdownMathJaxCheckBox</tabstop>
   <tabstop>previewMarkdownMermaidCheckBox</tabstop>
+  <tabstop>previewMarkdownPyMdownCheckBox</tabstop>
+  <tabstop>previewMarkdownPyMdownInstallPushButton</tabstop>
   <tabstop>previewRestExtensionsEdit</tabstop>
   <tabstop>previewRestSphinxCheckBox</tabstop>
   <tabstop>previewRestDocutilsHTMLFormatComboBox</tabstop>

eric ide

mercurial