mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T111, hide "?" in details window
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1387573e5b
commit
f3d75fde53
@@ -21,13 +21,12 @@
|
|||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
|
|
||||||
CPluginDetailsWindow::CPluginDetailsWindow(QWidget *parent) :
|
CPluginDetailsWindow::CPluginDetailsWindow(QWidget *parent) :
|
||||||
QWidget(parent, Qt::Dialog),
|
QWidget(parent, Qt::Dialog),
|
||||||
ui(new Ui::CPluginDetailsWindow)
|
ui(new Ui::CPluginDetailsWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setWindowModality(Qt::WindowModal);
|
setWindowModality(Qt::WindowModal);
|
||||||
|
|
||||||
QFont font = ui->lbl_PluginName->font();
|
QFont font = ui->lbl_PluginName->font();
|
||||||
@@ -38,9 +37,7 @@ namespace BlackGui
|
|||||||
}
|
}
|
||||||
|
|
||||||
CPluginDetailsWindow::~CPluginDetailsWindow()
|
CPluginDetailsWindow::~CPluginDetailsWindow()
|
||||||
{
|
{ }
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void CPluginDetailsWindow::setPluginName(const QString &name)
|
void CPluginDetailsWindow::setPluginName(const QString &name)
|
||||||
{
|
{
|
||||||
@@ -73,8 +70,6 @@ namespace BlackGui
|
|||||||
QDesktopWidget().screenGeometry(qApp->activeWindow())
|
QDesktopWidget().screenGeometry(qApp->activeWindow())
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
Q_UNUSED(event);
|
Q_UNUSED(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ namespace Ui { class CPluginDetailsWindow; }
|
|||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* A window that shows plugin details.
|
* A window that shows plugin details.
|
||||||
*/
|
*/
|
||||||
@@ -35,7 +34,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
//! Ctor
|
//! Ctor
|
||||||
explicit CPluginDetailsWindow(QWidget *parent = 0);
|
explicit CPluginDetailsWindow(QWidget *parent = nullptr);
|
||||||
|
|
||||||
//! Destructor
|
//! Destructor
|
||||||
virtual ~CPluginDetailsWindow();
|
virtual ~CPluginDetailsWindow();
|
||||||
@@ -61,4 +60,4 @@ namespace BlackGui
|
|||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#endif // BLACKGUI_PLUGINDETAILSWINDOW_H
|
#endif // guard
|
||||||
|
|||||||
Reference in New Issue
Block a user