mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Remove help button from dialogs
This commit is contained in:
@@ -32,6 +32,8 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AboutDia
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->version->setText("Version v" + qApp->applicationVersion());
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
}
|
||||
|
||||
AboutDialog::~AboutDialog()
|
||||
|
||||
@@ -34,6 +34,8 @@ OrderedListEditor::OrderedListEditor(const QString &windowName, const QString &i
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
m_BrowseMode = browse;
|
||||
|
||||
setWindowTitle(windowName);
|
||||
|
||||
@@ -37,6 +37,8 @@ SettingsDialog::SettingsDialog(CaptureContext *ctx, QWidget *parent)
|
||||
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
ui->tabWidget->tabBar()->setVisible(false);
|
||||
|
||||
for(int i = 0; i < ui->tabWidget->count(); i++)
|
||||
|
||||
@@ -32,6 +32,8 @@ SuggestRemoteDialog::SuggestRemoteDialog(const QString &driver, const QString &m
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
m_WarningStart = tr("This %1 capture was originally created on a\n '%2' machine.\n\n")
|
||||
.arg(driver)
|
||||
.arg(machineIdent.trimmed());
|
||||
|
||||
@@ -35,6 +35,8 @@ TextureSaveDialog::TextureSaveDialog(const FetchTexture &t, const TextureSave &s
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
QObject::connect(&typingTimer, &QTimer::timeout, [this] { SetFiletypeFromFilename(); });
|
||||
|
||||
ui->fileFormat->clear();
|
||||
|
||||
@@ -555,6 +555,8 @@ VirtualFileDialog::VirtualFileDialog(CaptureContext *ctx, QWidget *parent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
m_Model = new RemoteFileModel(ctx->Renderer(), this);
|
||||
|
||||
m_DirProxy = new RemoteFileProxy(this);
|
||||
|
||||
Reference in New Issue
Block a user