mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 01:18:38 -05:00
Get rid of ugly native dialogs on file chooser dialogs
This commit is contained in:
parent
3ea37e3dcc
commit
7bf777e498
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,8 +1,12 @@
|
||||
sdrangel (3.14.6-1) unstable; urgency=medium
|
||||
|
||||
* Fixed keyboard input for negative values on realtive integer value dials
|
||||
* Get rid of ugly native dialogs
|
||||
* Inf/Sup frequency shift scheme change to be closer to device center frequency
|
||||
* PlutoSDR input: fixed Inf/Sup frequency shift calculation
|
||||
* File record default file name with ISO datetime stamp
|
||||
|
||||
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Sun, 13 May 2018 20:14:18 +0200
|
||||
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Fri, 11 May 2018 20:14:18 +0200
|
||||
|
||||
sdrangel (3.14.5-1) unstable; urgency=medium
|
||||
|
||||
|
@ -60,7 +60,7 @@ void DSDStatusTextDialog::on_clear_clicked()
|
||||
void DSDStatusTextDialog::on_saveLog_clicked()
|
||||
{
|
||||
QString fileName = QFileDialog::getSaveFileName(this,
|
||||
tr("Open log file"), ".", tr("Log files (*.log)"));
|
||||
tr("Open log file"), ".", tr("Log files (*.log)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -251,7 +251,7 @@ void AMModGUI::on_navTimeSlider_valueChanged(int value)
|
||||
void AMModGUI::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"));
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -497,7 +497,7 @@ void ATVModGUI::on_forceDecimator_toggled(bool checked)
|
||||
void ATVModGUI::on_imageFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open image file"), ".", tr("Image Files (*.png *.jpg *.bmp *.gif *.tiff)"));
|
||||
tr("Open image file"), ".", tr("Image Files (*.png *.jpg *.bmp *.gif *.tiff)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
@ -510,7 +510,7 @@ void ATVModGUI::on_imageFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
void ATVModGUI::on_videoFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open video file"), ".", tr("Video Files (*.avi *.mpg *.mp4 *.mov *.m4v *.mkv *.vob *.wmv)"));
|
||||
tr("Open video file"), ".", tr("Video Files (*.avi *.mpg *.mp4 *.mov *.m4v *.mkv *.vob *.wmv)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -255,7 +255,7 @@ void NFMModGUI::on_navTimeSlider_valueChanged(int value)
|
||||
void NFMModGUI::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"));
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -341,7 +341,7 @@ void SSBModGUI::on_navTimeSlider_valueChanged(int value)
|
||||
void SSBModGUI::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"));
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -257,7 +257,7 @@ void WFMModGUI::on_navTimeSlider_valueChanged(int value)
|
||||
void WFMModGUI::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"));
|
||||
tr("Open raw audio file"), ".", tr("Raw audio Files (*.raw)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -287,7 +287,7 @@ void FileSinkGui::on_startStop_toggled(bool checked)
|
||||
void FileSinkGui::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getSaveFileName(this,
|
||||
tr("Save I/Q record file"), ".", tr("SDR I/Q Files (*.sdriq)"));
|
||||
tr("Save I/Q record file"), ".", tr("SDR I/Q Files (*.sdriq)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include <QTime>
|
||||
#include <QDateTime>
|
||||
#include <QString>
|
||||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
@ -285,7 +285,7 @@ void FileSourceGui::on_navTimeSlider_valueChanged(int value)
|
||||
void FileSourceGui::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open I/Q record file"), ".", tr("SDR I/Q Files (*.sdriq)"));
|
||||
tr("Open I/Q record file"), ".", tr("SDR I/Q Files (*.sdriq)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <QTime>
|
||||
#include <QDateTime>
|
||||
#include <QString>
|
||||
#include <QFileDialog>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <nn.h>
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include <QTime>
|
||||
#include <QDateTime>
|
||||
#include <QString>
|
||||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include "ui_testsourcegui.h"
|
||||
|
@ -142,7 +142,7 @@ void EditCommandDialog::on_showFileDialog_clicked(bool checked __attribute__((un
|
||||
this,
|
||||
tr("Select command"),
|
||||
dirStr,
|
||||
tr("All (*);;Python (*.py);;Shell (*.sh *.bat);;Binary (*.bin *.exe)"));
|
||||
tr("All (*);;Python (*.py);;Shell (*.sh *.bat);;Binary (*.bin *.exe)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "") {
|
||||
ui->command->setText(fileName);
|
||||
|
@ -50,7 +50,7 @@ void LoggingDialog::accept()
|
||||
void LoggingDialog::on_showFileDialog_clicked(bool checked __attribute__((unused)))
|
||||
{
|
||||
QString fileName = QFileDialog::getSaveFileName(this,
|
||||
tr("Save log file"), ".", tr("Log Files (*.log)"));
|
||||
tr("Save log file"), ".", tr("Log Files (*.log)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
@ -1260,7 +1260,7 @@ void MainWindow::on_presetExport_clicked()
|
||||
const Preset* preset = qvariant_cast<const Preset*>(item->data(0, Qt::UserRole));
|
||||
QString base64Str = preset->serialize().toBase64();
|
||||
QString fileName = QFileDialog::getSaveFileName(this,
|
||||
tr("Open preset export file"), ".", tr("Preset export files (*.prex)"));
|
||||
tr("Open preset export file"), ".", tr("Preset export files (*.prex)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
@ -1304,7 +1304,7 @@ void MainWindow::on_presetImport_clicked()
|
||||
}
|
||||
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open preset export file"), ".", tr("Preset export files (*.prex)"));
|
||||
tr("Open preset export file"), ".", tr("Preset export files (*.prex)"), 0, QFileDialog::DontUseNativeDialog);
|
||||
|
||||
if (fileName != "")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user