6 #ifndef SWIFT_GUI_INFOBARSTATUSCOMPONENT_H
7 #define SWIFT_GUI_INFOBARSTATUSCOMPONENT_H
11 #include <QScopedPointer>
25 class CInfoBarStatusComponent;
42 void setDBusStatus(
bool dbus);
45 void setDBusTooltip(
const QString &tooltip);
48 void setSpacing(
int spacing);
56 virtual void resizeEvent(QResizeEvent *event)
override;
59 QScopedPointer<Ui::CInfoBarStatusComponent> ui;
61 swift::misc::input::pttHotkeyIcon(),
this,
62 &CInfoBarStatusComponent::onPttChanged };
65 std::chrono::seconds { 1 }, 50 };
68 static bool isAudioAvailableAndNotMuted();
74 void adjustTextSize();
77 void onSimulatorStatusChanged(
int status);
84 void onOutputMuteChanged(
bool muted);
91 void onAudioStopped();
97 void onPttChanged(
bool enabled);
103 void updateSpacing();
CActionBind binds a member function to an action.
Info bar displaying status (Network, Simulator, DBus)
void transponderModeChanged()
Mode changed.
Receive 1..n signals, collect them over time, and resend afer n milliseconds.
Value object encapsulating information of a audio device.
Value object encapsulating information about a connection status.
High level reusable GUI components.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.