mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 10:15:43 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
ae3ebdd443
commit
0a013fc906
@@ -76,7 +76,6 @@ namespace BlackGui
|
||||
QPushButton *button = new QPushButton(this);
|
||||
button->setText(station.getCallsignAsString());
|
||||
if (m_withIcons) { button->setIcon(station.toPixmap()); }
|
||||
// else { button->setStyleSheet("text-align: left;"); }
|
||||
QObject::connect(button, &QPushButton::released, this, &CAtcButtonComponent::onButtonClicked);
|
||||
const CVariant atcv = CVariant::fromValue(station);
|
||||
layout->addWidget(button, row, col++);
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace BlackGui
|
||||
explicit CInfoBarStatusComponent(QWidget *parent = nullptr);
|
||||
|
||||
//!Destructor
|
||||
virtual ~CInfoBarStatusComponent();
|
||||
virtual ~CInfoBarStatusComponent() override;
|
||||
|
||||
//! DBus used?
|
||||
void setDBusStatus(bool dbus);
|
||||
|
||||
@@ -81,6 +81,7 @@ namespace BlackGui
|
||||
|
||||
void CRawFsdMessagesComponent::enableDisableRawFsdMessages()
|
||||
{
|
||||
//! \fixme KB 2019-03 hardcoded style sheet
|
||||
bool enable;
|
||||
if (ui->pb_EnableDisable->text() == "Enable")
|
||||
{
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
#include "blackgui/components/transpondercodespinbox.h"
|
||||
|
||||
#include <QChar>
|
||||
|
||||
namespace BlackGui
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include <QSpinBox>
|
||||
#include <QString>
|
||||
|
||||
class QWidget;
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
|
||||
Reference in New Issue
Block a user