hlp:桂林国际齿轮泵代码
This commit is contained in:
@@ -0,0 +1 @@
|
||||
1234
|
||||
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>DialogAuthorizationPrint</class>
|
||||
<widget class="QDialog" name="DialogAuthorizationPrint">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>445</width>
|
||||
<height>123</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>210</x>
|
||||
<y>80</y>
|
||||
<width>221</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="horizontalLayoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>421</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>打印密码:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEditAuth"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>DialogAuthorizationPrint</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>248</x>
|
||||
<y>254</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>157</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>DialogAuthorizationPrint</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>316</x>
|
||||
<y>260</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>286</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 918 B |
@@ -0,0 +1,68 @@
|
||||
#ifndef SSYSTEMSETTING_H
|
||||
#define SSYSTEMSETTING_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QProgressBar>
|
||||
#include "ParaSettingUI.h"
|
||||
#include "TimeSettingDialog.h"
|
||||
#include <QTimer>
|
||||
#include "DialogAuthorization.h"
|
||||
#include "dlgmutilanguage.h"
|
||||
|
||||
#define SYSMIMA
|
||||
namespace Ui {
|
||||
class SystemSetting;
|
||||
}
|
||||
|
||||
class SystemSetting : public QWidget,public ParaSettingUI
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SystemSetting(QWidget *parent = 0);
|
||||
~SystemSetting();
|
||||
|
||||
void updateSysParaToUI(); //重载
|
||||
void applyUIPara(); //重载
|
||||
void updateSysStatusToUI(); //重载
|
||||
QProgressBar progressBar;
|
||||
void updateReclaimTime(int time);
|
||||
void updateViscosityAdjust(int offset);
|
||||
void updateAuthorization(int auth);
|
||||
void setSpinBoxPressureMaxValue(int pressureVal);
|
||||
void SystemSettingLog();
|
||||
|
||||
Q_SIGNALS:
|
||||
void changeEditMode(int);
|
||||
void setRunStatus(QString);
|
||||
void pressureAdjust();
|
||||
private slots:
|
||||
void setInterfaceMode();
|
||||
void SystemupdateSysParaToUI();
|
||||
|
||||
void on_spinBoxReclaimPumpPower_valueChanged(int arg1);
|
||||
void on_pushButtonCleanUP_pressed();
|
||||
void on_pushButtonHighVoltageData_pressed();
|
||||
void on_pushButtonApply_pressed();
|
||||
void on_pushButtonSearchBestOscillatorVoltage_pressed();
|
||||
void on_pushButtonSearchBestOscillatorFreq_pressed();
|
||||
void timerHandler();
|
||||
void on_spinBoxOscillatorVoltage_valueChanged(int arg1);
|
||||
void on_pushButtonInterFace_pressed();
|
||||
void ondialogAuthorizationAccepted();
|
||||
void onCleanUPNow();
|
||||
void timerHandler2();
|
||||
void autoControlPressure();
|
||||
|
||||
private:
|
||||
Ui::SystemSetting *ui;
|
||||
DlgMutiLanguage dlgLanguage;
|
||||
QTimer *timer,*timer2, *SetinkcloseCountTimer,*timerAuto;
|
||||
unsigned char enCleanUpAppendFlag; // 0空闲,1关开回收槽,2手动,3清洗,4恢复,5停止,6
|
||||
bool r_PumpValveControledByHand;
|
||||
#ifdef SYSMIMA
|
||||
DialogAuthorization *dialogUpateMm;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // SSYSTEMSETTING_H
|
||||
Reference in New Issue
Block a user