ServerItemWidget Styling

This commit is contained in:
Florian Märkl 2019-08-13 19:41:44 +02:00
commit a7ff2fef3f
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
10 changed files with 92 additions and 23 deletions

View file

@ -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();