modify screen size

This commit is contained in:
root 2026-03-10 08:00:29 -04:00
parent 20bb02f006
commit f06e7324a3
12 changed files with 65 additions and 53 deletions

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1052</width> <width>771</width>
<height>659</height> <height>581</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -136,7 +136,7 @@ color: rgb(27, 30, 35);</string>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing"> <property name="spacing">
<number>18</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QRadioButton" name="radioButton_11"> <widget class="QRadioButton" name="radioButton_11">
@ -227,6 +227,19 @@ color: rgb(27, 30, 35);</string>
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
<item> <item>

View File

@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>复制通道</string>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">font: 10pt &quot;黑体&quot;; <string notr="true">font: 10pt &quot;黑体&quot;;

View File

@ -3,8 +3,6 @@
#include <QWidget> #include <QWidget>
#include <QUrl> #include <QUrl>
#include <QtFtp/qftp.h>
#include <QtFtp/qurlinfo.h>
#include <QTreeWidgetItem> #include <QTreeWidgetItem>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QFile> #include <QFile>
@ -52,7 +50,6 @@ private:
Ui::CCopyDatFile *ui; Ui::CCopyDatFile *ui;
QHash<QString, bool> isDirectory; QHash<QString, bool> isDirectory;
void connectToFtp(); void connectToFtp();
QFtp *ftp = nullptr;
QStandardItemModel *model; QStandardItemModel *model;
QString m_strFilePath; QString m_strFilePath;
QString m_strDistPath; QString m_strDistPath;

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>894</width> <width>894</width>
<height>729</height> <height>613</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -20,13 +20,13 @@ color: rgb(27, 30, 35);
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="topMargin"> <property name="topMargin">
<number>30</number> <number>10</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>30</number> <number>20</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>30</number> <number>5</number>
</property> </property>
<item> <item>
<widget class="QWidget" name="widget" native="true"> <widget class="QWidget" name="widget" native="true">

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>669</width> <width>683</width>
<height>531</height> <height>586</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -17,6 +17,9 @@
<string notr="true">font: 10pt &quot;黑体&quot;;color: rgb(27, 30, 35);</string> <string notr="true">font: 10pt &quot;黑体&quot;;color: rgb(27, 30, 35);</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_17"> <layout class="QVBoxLayout" name="verticalLayout_17">
<property name="spacing">
<number>0</number>
</property>
<property name="topMargin"> <property name="topMargin">
<number>10</number> <number>10</number>
</property> </property>
@ -31,7 +34,7 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>50</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">

View File

@ -6,10 +6,16 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1148</width> <width>945</width>
<height>533</height> <height>533</height>
</rect> </rect>
</property> </property>
<property name="maximumSize">
<size>
<width>945</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
@ -89,7 +95,7 @@ color: rgb(27, 30, 35);</string>
<widget class="QComboBox" name="comboBox_channel"> <widget class="QComboBox" name="comboBox_channel">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>200</width> <width>150</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -120,7 +126,7 @@ color: rgb(27, 30, 35);</string>
<widget class="QPushButton" name="pushButton_search"> <widget class="QPushButton" name="pushButton_search">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>96</width> <width>70</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>
@ -149,7 +155,7 @@ color: rgb(27, 30, 35);</string>
<widget class="QPushButton" name="pushButton_delete"> <widget class="QPushButton" name="pushButton_delete">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>96</width> <width>70</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>

View File

@ -24,8 +24,8 @@ CRealTimeAlarm::CRealTimeAlarm(QWidget *parent) :
ui->tableView->setModel(model); ui->tableView->setModel(model);
ui->tableView->setColumnWidth(0, 50); ui->tableView->setColumnWidth(0, 50);
ui->tableView->setColumnWidth(1, 50); ui->tableView->setColumnWidth(1, 50);
ui->tableView->setColumnWidth(2, 370); ui->tableView->setColumnWidth(2, 300);
ui->tableView->setColumnWidth(3, 200); ui->tableView->setColumnWidth(3, 150);
ui->tableView->setAlternatingRowColors(true); ui->tableView->setAlternatingRowColors(true);
ui->tableView->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); ui->tableView->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);

View File

@ -10,6 +10,12 @@
<height>405</height> <height>405</height>
</rect> </rect>
</property> </property>
<property name="maximumSize">
<size>
<width>850</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>831</width> <width>831</width>
<height>618</height> <height>538</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -31,7 +31,7 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>50</height> <height>30</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
@ -131,7 +131,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>40</height> <height>30</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -270,7 +270,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>40</height> <height>30</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -303,7 +303,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>40</height> <height>30</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -424,7 +424,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>40</height> <height>30</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -458,7 +458,7 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>100</height> <height>40</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1170</width> <width>875</width>
<height>525</height> <height>525</height>
</rect> </rect>
</property> </property>
@ -337,7 +337,7 @@
<widget class="QPushButton" name="pushButton_1S"> <widget class="QPushButton" name="pushButton_1S">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>96</width> <width>70</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>
@ -369,7 +369,7 @@
<widget class="QPushButton" name="pushButton_4S"> <widget class="QPushButton" name="pushButton_4S">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>96</width> <width>70</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>
@ -401,7 +401,7 @@
<widget class="QPushButton" name="pushButton_refresh"> <widget class="QPushButton" name="pushButton_refresh">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>96</width> <width>70</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>
@ -430,7 +430,7 @@
<widget class="QPushButton" name="pushButton_refreshauto"> <widget class="QPushButton" name="pushButton_refreshauto">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>96</width> <width>70</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1398</width> <width>916</width>
<height>775</height> <height>693</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -71,7 +71,7 @@ color: rgb(27, 30, 35);</string>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>80</height> <height>60</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
@ -151,7 +151,7 @@ color: rgb(27, 30, 35);</string>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing"> <property name="spacing">
<number>10</number> <number>3</number>
</property> </property>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
@ -640,19 +640,6 @@ color: rgb(27, 30, 35);</string>
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_13">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QWidget" name="widget_3" native="true"> <widget class="QWidget" name="widget_3" native="true">
<property name="minimumSize"> <property name="minimumSize">
@ -667,7 +654,7 @@ color: rgb(27, 30, 35);</string>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>50</height> <height>30</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>812</width> <width>812</width>
<height>754</height> <height>792</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -3029,13 +3029,13 @@ color: rgb(27, 30, 35);</string>
<widget class="QPushButton" name="pushButton_copy"> <widget class="QPushButton" name="pushButton_copy">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>96</width> <width>100</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>96</width> <width>100</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>