remove all whatsthis button in dialog's titlebar
This commit is contained in:
parent
9e3f593641
commit
50a39a08c7
|
@ -65,6 +65,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) :
|
|||
QDialog(parent),
|
||||
ui(new Ui::SettingsDialog)
|
||||
{
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint,false);
|
||||
ui->setupUi(this);
|
||||
|
||||
ui->widgetsView->setModel(&model);
|
||||
|
|
|
@ -24,6 +24,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
|||
QDialog(parent),
|
||||
ui(new Ui::AboutDialog)
|
||||
{
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint,false);
|
||||
ui->setupUi(this);
|
||||
ui->lblTitle->setText(ui->lblTitle->text() + tr("Version: ") + REDPANDA_CPP_VERSION);
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ CPUDialog::CPUDialog(QWidget *parent) :
|
|||
ui(new Ui::CPUDialog)
|
||||
{
|
||||
setWindowFlags(windowFlags() | Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint);
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint,false);
|
||||
ui->setupUi(this);
|
||||
ui->txtCode->setHighlighter(highlighterManager.getCppHighlighter());
|
||||
ui->txtCode->setReadOnly(true);
|
||||
|
|
|
@ -8,6 +8,7 @@ NewClassDialog::NewClassDialog(QWidget *parent) :
|
|||
QDialog(parent),
|
||||
ui(new Ui::NewClassDialog)
|
||||
{
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint,false);
|
||||
ui->setupUi(this);
|
||||
resize(pSettings->ui().newClassDialogWidth(),pSettings->ui().newClassDialogHeight());
|
||||
updateIcons();
|
||||
|
|
|
@ -9,6 +9,7 @@ NewHeaderDialog::NewHeaderDialog(QWidget *parent) :
|
|||
QDialog(parent),
|
||||
ui(new Ui::NewHeaderDialog)
|
||||
{
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint,false);
|
||||
ui->setupUi(this);
|
||||
resize(pSettings->ui().newHeaderDialogWidth(),pSettings->ui().newHeaderDialogHeight());
|
||||
updateIcons();
|
||||
|
|
|
@ -29,6 +29,7 @@ NewProjectDialog::NewProjectDialog(QWidget *parent) :
|
|||
QDialog(parent),
|
||||
ui(new Ui::NewProjectDialog)
|
||||
{
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint,false);
|
||||
ui->setupUi(this);
|
||||
mTemplatesTabBar = new QTabBar(this);
|
||||
mTemplatesTabBar->setExpanding(false);
|
||||
|
|
|
@ -32,6 +32,7 @@ SearchDialog::SearchDialog(QWidget *parent) :
|
|||
ui(new Ui::SearchDialog),
|
||||
mSearchEngine()
|
||||
{
|
||||
setWindowFlag(Qt::WindowContextHelpButtonHint,false);
|
||||
ui->setupUi(this);
|
||||
mTabBar = new QTabBar();
|
||||
mTabBar->addTab(tr("Find"));
|
||||
|
|
Loading…
Reference in New Issue