fix styling issues
This commit is contained in:
24
include/widgets/controlCenter/bluetoothSettingsRow.hpp
Normal file
24
include/widgets/controlCenter/bluetoothSettingsRow.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
#include "components/button/iconButton.hpp"
|
||||
#include "connection/dbus/bluetooth.hpp"
|
||||
#include "gtkmm/box.h"
|
||||
#include "gtkmm/button.h"
|
||||
#include "gtkmm/image.h"
|
||||
#include "gtkmm/label.h"
|
||||
|
||||
class BluetoothSettingsRow : public Gtk::Box {
|
||||
public:
|
||||
BluetoothSettingsRow(const BluetoothDevice &device);
|
||||
void updateDevice(const BluetoothDevice &device);
|
||||
|
||||
private:
|
||||
BluetoothDevice device;
|
||||
Gtk::Image icon;
|
||||
Gtk::Label nameLabel;
|
||||
Gtk::Label addressLabel;
|
||||
IconButton pairButton;
|
||||
IconButton connectButton;
|
||||
IconButton trustButton;
|
||||
};
|
||||
Reference in New Issue
Block a user