mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 11:10:44 +00:00
Remove the Help ? from title bars
This commit is contained in:
parent
2afe0459e9
commit
069a2f405a
@ -46,6 +46,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
|||||||
|
|
||||||
setWindowTitle(tr("About OSCAR"));
|
setWindowTitle(tr("About OSCAR"));
|
||||||
setMinimumSize(QSize(400,400));
|
setMinimumSize(QSize(400,400));
|
||||||
|
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
connect(ui->closeButton, SIGNAL(clicked(bool)), this, SLOT(accept()));
|
connect(ui->closeButton, SIGNAL(clicked(bool)), this, SLOT(accept()));
|
||||||
|
|
||||||
int idx=AppSetting->showAboutDialog();
|
int idx=AppSetting->showAboutDialog();
|
||||||
|
@ -26,6 +26,7 @@ ExportCSV::ExportCSV(QWidget *parent) :
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->rb1_Summary->setChecked(true);
|
ui->rb1_Summary->setChecked(true);
|
||||||
ui->quickRangeCombo->setCurrentIndex(0);
|
ui->quickRangeCombo->setCurrentIndex(0);
|
||||||
|
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
// Set Date controls locale to 4 digit years
|
// Set Date controls locale to 4 digit years
|
||||||
QLocale locale = QLocale::system();
|
QLocale locale = QLocale::system();
|
||||||
|
@ -2224,6 +2224,7 @@ void MainWindow::on_actionImport_ZEO_Data_triggered()
|
|||||||
{
|
{
|
||||||
QFileDialog w;
|
QFileDialog w;
|
||||||
w.setFileMode(QFileDialog::ExistingFiles);
|
w.setFileMode(QFileDialog::ExistingFiles);
|
||||||
|
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
w.setOption(QFileDialog::ShowDirsOnly, false);
|
w.setOption(QFileDialog::ShowDirsOnly, false);
|
||||||
w.setOption(QFileDialog::DontUseNativeDialog, true);
|
w.setOption(QFileDialog::DontUseNativeDialog, true);
|
||||||
w.setNameFilters(QStringList("Zeo CSV File (*.csv)"));
|
w.setNameFilters(QStringList("Zeo CSV File (*.csv)"));
|
||||||
@ -2307,6 +2308,7 @@ void MainWindow::on_actionImport_Somnopose_Data_triggered()
|
|||||||
{
|
{
|
||||||
QFileDialog w;
|
QFileDialog w;
|
||||||
w.setFileMode(QFileDialog::ExistingFiles);
|
w.setFileMode(QFileDialog::ExistingFiles);
|
||||||
|
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
w.setOption(QFileDialog::ShowDirsOnly, false);
|
w.setOption(QFileDialog::ShowDirsOnly, false);
|
||||||
w.setOption(QFileDialog::DontUseNativeDialog, true);
|
w.setOption(QFileDialog::DontUseNativeDialog, true);
|
||||||
w.setNameFilters(QStringList("Somnopause CSV File (*.csv)"));
|
w.setNameFilters(QStringList("Somnopause CSV File (*.csv)"));
|
||||||
|
@ -35,6 +35,7 @@ OximeterImport::OximeterImport(QWidget *parent) :
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setWindowTitle(tr("Oximeter Import Wizard"));
|
setWindowTitle(tr("Oximeter Import Wizard"));
|
||||||
|
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
ui->stackedWidget->setCurrentIndex(0);
|
ui->stackedWidget->setCurrentIndex(0);
|
||||||
ui->retryButton->setVisible(false);
|
ui->retryButton->setVisible(false);
|
||||||
ui->stopButton->setVisible(false);
|
ui->stopButton->setVisible(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user