omassot 6 éve
szülő
commit
bcc8a3e56a
2 módosított fájl, 44 hozzáadás és 0 törlés
  1. 1 0
      ui/dlg_main.py
  2. 43 0
      ui/dlg_main.ui

+ 1 - 0
ui/dlg_main.py

@@ -51,6 +51,7 @@ class DlgMain(QtWidgets.QDialog):
         
         self.setWindowTitle(f"MnCheck v{VERSION}")
         self.setWindowIcon(QIcon(MAIN / "icon.png"))
+        self.ui.lbl_mn_logo.setPixmap(QPixmap(RSCDIR / "mn_logo_mini.png"))
         
         self.ui.btn_run.setIcon(QIcon(RSCDIR / "play.png"))
         self.ui.btn_run.clicked.connect(self.run)

+ 43 - 0
ui/dlg_main.ui

@@ -120,11 +120,51 @@
      </property>
     </widget>
    </item>
+   <item>
+    <widget class="QLabel" name="label_3">
+     <property name="font">
+      <font>
+       <pointsize>7</pointsize>
+      </font>
+     </property>
+     <property name="styleSheet">
+      <string notr="true">color: rgb(75,75,75);</string>
+     </property>
+     <property name="text">
+      <string>MnCheck est fourni sans garantie d'exhaustivité et ne dispense pas l'opérateur de tout contrôle complémentaire qu'il jugerait nécessaire.</string>
+     </property>
+     <property name="alignment">
+      <set>Qt::AlignJustify|Qt::AlignVCenter</set>
+     </property>
+     <property name="wordWrap">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
    <item>
     <layout class="QHBoxLayout" name="horizontalLayout_3">
      <property name="topMargin">
       <number>0</number>
      </property>
+     <item>
+      <widget class="QLabel" name="lbl_mn_logo">
+       <property name="maximumSize">
+        <size>
+         <width>76</width>
+         <height>32</height>
+        </size>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="pixmap">
+        <pixmap>rsc/mn_logo_mini.png</pixmap>
+       </property>
+       <property name="scaledContents">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
      <item>
       <spacer name="horizontalSpacer_2">
        <property name="orientation">
@@ -184,6 +224,9 @@
          <underline>true</underline>
         </font>
        </property>
+       <property name="cursor">
+        <cursorShape>PointingHandCursor</cursorShape>
+       </property>
        <property name="toolTip">
         <string/>
        </property>