modified addPolarDlg
This commit is contained in:
parent
00b9093481
commit
7597087fb7
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -590,11 +590,11 @@ bool AddCurveFileDlg::validateSpecificParams() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString AddCurveFileDlg::getFileFilter() const {
|
QString AddCurveFileDlg::getFileFilter() const {
|
||||||
return "Data Files (*.txt *.csv *.dat);;All Files (*.*)";
|
return tr("Data Files (*.txt *.csv *.dat);;All Files (*.*)");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AddCurveFileDlg::getDialogTitle() const {
|
QString AddCurveFileDlg::getDialogTitle() const {
|
||||||
return "Add Curve Data File";
|
return tr("Add Curve Data File");
|
||||||
}
|
}
|
||||||
|
|
||||||
void AddCurveFileDlg::onSure() {
|
void AddCurveFileDlg::onSure() {
|
||||||
|
|||||||
@ -777,7 +777,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -793,7 +793,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|||||||
@ -338,11 +338,11 @@ bool AddLightFileDlg::validateSpecificParams() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString AddLightFileDlg::getFileFilter() const {
|
QString AddLightFileDlg::getFileFilter() const {
|
||||||
return "Light Data Files (*.txt *.csv *.dat);;All Files (*.*)";
|
return tr("Light Data Files (*.txt *.csv *.dat);;All Files (*.*)");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AddLightFileDlg::getDialogTitle() const {
|
QString AddLightFileDlg::getDialogTitle() const {
|
||||||
return "Add Light Data File";
|
return tr("Add Light Data File");
|
||||||
}
|
}
|
||||||
|
|
||||||
void AddLightFileDlg::onSure() {
|
void AddLightFileDlg::onSure() {
|
||||||
|
|||||||
@ -455,7 +455,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -468,7 +468,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|||||||
@ -754,7 +754,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -770,7 +770,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|||||||
@ -30,12 +30,12 @@ AddPolarFileDlg::~AddPolarFileDlg() {
|
|||||||
|
|
||||||
QString AddPolarFileDlg::getFileFilter() const
|
QString AddPolarFileDlg::getFileFilter() const
|
||||||
{
|
{
|
||||||
return "Data Files (*.txt *.csv *.dat);;All Files (*.*)";
|
return tr("Data Files (*.txt *.csv *.dat);;All Files (*.*)");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AddPolarFileDlg::getDialogTitle() const
|
QString AddPolarFileDlg::getDialogTitle() const
|
||||||
{
|
{
|
||||||
return "Add Polar";
|
return tr("Add Polar");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AddPolarFileDlg::validateSpecificParams()
|
bool AddPolarFileDlg::validateSpecificParams()
|
||||||
|
|||||||
@ -573,7 +573,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|||||||
@ -339,11 +339,11 @@ bool AddTableFileDlg::validateSpecificParams() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString AddTableFileDlg::getFileFilter() const {
|
QString AddTableFileDlg::getFileFilter() const {
|
||||||
return QStringLiteral("Table Files (*.txt *.csv *.tsv *.dat);;All Files (*.*)");
|
return tr("Table Files (*.txt *.csv *.tsv *.dat);;All Files (*.*)");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AddTableFileDlg::getDialogTitle() const {
|
QString AddTableFileDlg::getDialogTitle() const {
|
||||||
return QStringLiteral("Add Table Data File");
|
return tr("Add Table Data File");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AddTableFileDlg::getSelectedFilePath() const {
|
QString AddTableFileDlg::getSelectedFilePath() const {
|
||||||
|
|||||||
@ -512,7 +512,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -528,7 +528,7 @@
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
<height>30</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include "DYTChart.h"
|
#include "DYTChart.h"
|
||||||
|
|
||||||
#include "FitCurveDialog.h"
|
#include "FitCurveDialog.h"
|
||||||
#include "SurfaceDialog.h"
|
#include "SurfaceDialog.h"
|
||||||
@ -267,7 +267,7 @@ void DYTChart::ParseAntennaPatternFile(const QString& strFile, std::vector<std::
|
|||||||
{
|
{
|
||||||
if (strFile.isEmpty())
|
if (strFile.isEmpty())
|
||||||
{
|
{
|
||||||
QMessageBox::information(nullptr, QString::fromLocal8Bit("<EFBFBD><EFBFBD>ʾ"), QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>AntennaPattern<EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
//QMessageBox::information(nullptr, QString::fromLocal8Bit("<22><>ʾ"), QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>AntennaPattern<EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -296,7 +296,7 @@ void DYTChart::ParseBeamPointFile(const QString& strFile, std::vector<std::vecto
|
|||||||
{
|
{
|
||||||
if (strFile.isEmpty())
|
if (strFile.isEmpty())
|
||||||
{
|
{
|
||||||
QMessageBox::information(nullptr, QString::fromLocal8Bit("<EFBFBD><EFBFBD>ʾ"), QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>BeamPoint<EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
//QMessageBox::information(nullptr, QString::fromLocal8Bit("<22><>ʾ"), QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>BeamPoint<EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -324,7 +324,7 @@ void DYTChart::ParseRD(const QString& strFile, std::vector<std::vector<float>>&
|
|||||||
{
|
{
|
||||||
if (strFile.isEmpty())
|
if (strFile.isEmpty())
|
||||||
{
|
{
|
||||||
QMessageBox::information(nullptr, QString::fromLocal8Bit("<EFBFBD><EFBFBD>ʾ"), QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RD<EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
//QMessageBox::information(nullptr, QString::fromLocal8Bit("<22><>ʾ"), QString::fromLocal8Bit("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RD<52>ļ<EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -366,7 +366,7 @@ void DYTChart::ParseWave(const QString& strFile, std::vector<std::vector<float>>
|
|||||||
{
|
{
|
||||||
if (strFile.isEmpty())
|
if (strFile.isEmpty())
|
||||||
{
|
{
|
||||||
QMessageBox::information(nullptr, QString::fromLocal8Bit("<EFBFBD><EFBFBD>ʾ"), QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Wave<EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
//QMessageBox::information(nullptr, QString::fromLocal8Bit("<22><>ʾ"), QString::fromLocal8Bit("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Wave<EFBFBD>ļ<EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1240,7 +1240,7 @@ void DYTChart::slotUpdate()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox::information(nullptr, QString::fromLocal8Bit("<EFBFBD><EFBFBD>ʾ"), QString::fromLocal8Bit("X<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD>ܣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
//QMessageBox::information(nullptr, QString::fromLocal8Bit("<22><>ʾ"), QString::fromLocal8Bit("X<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD>ܣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include "viewer/OsgWidget.h"
|
#include "viewer/OsgWidget.h"
|
||||||
|
|
||||||
|
|
||||||
#include <QWindow>
|
#include <QWindow>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include "workspace/FileEntry.h"
|
#include "workspace/FileEntry.h"
|
||||||
|
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user