hlp:桂林国际齿轮泵代码

This commit is contained in:
kite_lucs
2026-10-09 10:25:24 +08:00
commit fd606b3c81
2447 changed files with 999531 additions and 0 deletions
@@ -0,0 +1,26 @@
#include "dialogmodifypasswd.h"
#include "ui_dialogmodifypasswd.h"
Dialogmodifypasswd::Dialogmodifypasswd(QWidget *parent) :
QDialog(parent),
ui(new Ui::Dialogmodifypasswd)
{
ui->setupUi(this);
this->setWindowTitle(tr("密码授权"));
this->setFixedSize(this->geometry().width(),this->geometry().height());
ui->lineEdit->setEchoMode(QLineEdit::Password); // 密码不回显
}
Dialogmodifypasswd::~Dialogmodifypasswd()
{
delete ui;
}
QString Dialogmodifypasswd::getModPasswd(){
return ui->lineEdit->text();
}
void Dialogmodifypasswd::clearAuth(){
ui->lineEdit->setText(tr(""));
}
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 67 KiB

@@ -0,0 +1,86 @@
#!/bin/sh
#echo "start up qtui...."
export QT_QWS_FONTDIR=/usr/lib/fonts
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event0 mouseman:/dev/input/mice"
cd /dev/ && ln -s am335x_visco_pwm pwm && ln -s am335x_suction_pwm pwm1
if [ -e /dev/input/touchscreen0 ]; then
TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/usr/local/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_TSDEVICE
fi
if [ ! -f /etc/pointercal ];then
touch /etc/pointercal
ts_calibrate
fi
cd /home/plg
if [ ! -f /home/plg/runFlag ];then
chmod a+x InkJetPrinter
chmod a+x InkJetPrinterEng
if [ -f /home/plg/chinese ];then
./InkJetPrinter -qws
else
./InkJetPrinterEng -qws
fi
fi
sleep 2
if [ -f /home/plg/rebootFlag0 ];then
rm /home/plg/rebootFlag0
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event0 mouseman:/dev/input/mice"
chmod a+x rebootWelcome.sh
./rebootWelcome.sh
fi
if [ -f /home/plg/rebootFlag1 ];then
rm /home/plg/rebootFlag1
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event1 mouseman:/dev/input/mice"
chmod a+x rebootWelcome.sh
./rebootWelcome.sh
fi
if [ -f /home/plg/rebootFlag0 ];then
rm /home/plg/rebootFlag0
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event0 mouseman:/dev/input/mice"
chmod a+x rebootWelcome.sh
./rebootWelcome.sh
fi
if [ -f /home/plg/rebootFlag1 ];then
rm /home/plg/rebootFlag1
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event1 mouseman:/dev/input/mice"
chmod a+x rebootWelcome.sh
./rebootWelcome.sh
fi
#bootup QtUI
chmod +x QtUI
./QtUI -qws -display VNC:LinuxFb &
rm /home/plg/runFlag
sleep 1
#mount mmc and usb disk
if [ -f /dev/mmcblk0p1 ];then
mount /dev/mmcblk0p1 /mnt/mmc/
fi
ln -sf /mnt/udisk /udisk
if [ -f /dev/sda1 ];then
mount /dev/sda1 /mnt/udisk/
fi
sleep 2
#start quectel-CM
./quectel-CM &
@@ -0,0 +1,186 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SceneEditOption</class>
<widget class="QWidget" name="SceneEditOption">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>924</width>
<height>58</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="previewButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>预览</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="newfileButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>新建</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="openfileButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>打开</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="saveButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>保存</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="saveAsButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>另存为</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="addButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>新增图元</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="EditItemButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>编辑图元</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="delButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>删除图元</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="enlargeButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>放大</string>
</property>
<property name="icon">
<iconset resource="../image.qrc">
<normaloff>:/icon/zoomin.png</normaloff>:/icon/zoomin.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="reduceButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>缩小</string>
</property>
<property name="icon">
<iconset resource="../image.qrc">
<normaloff>:/icon/zoomout.png</normaloff>:/icon/zoomout.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="../image.qrc"/>
</resources>
<connections/>
</ui>