mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 13:33:13 -07:00
ServerItemWidget Styling
This commit is contained in:
parent
43926a6f3f
commit
a7ff2fef3f
10 changed files with 92 additions and 23 deletions
|
@ -18,11 +18,12 @@
|
|||
#ifndef CHIAKI_SERVERITEMWIDGET_H
|
||||
#define CHIAKI_SERVERITEMWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QFrame>
|
||||
|
||||
class ServerIconWidget;
|
||||
class DisplayServer;
|
||||
|
||||
class ServerItemWidget : public QWidget
|
||||
class ServerItemWidget : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
@ -41,6 +42,8 @@ class ServerItemWidget : public QWidget
|
|||
bool IsSelected() { return selected; }
|
||||
void SetSelected(bool selected);
|
||||
|
||||
void Update(const DisplayServer &display_server);
|
||||
|
||||
signals:
|
||||
void Selected();
|
||||
void Triggered();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue