// Copyright 2005-2020 The Mumble Developers. All rights reserved. // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file at the root of the // Mumble source tree or at . #ifndef MUMBLE_MUMBLE_USERINFORMATION_H_ #define MUMBLE_MUMBLE_USERINFORMATION_H_ #include #include "Message.h" #include "ui_UserInformation.h" namespace MumbleProto { class UserStats; } class QTimer; class UserInformation : public QDialog, Ui::UserInformation { private: Q_OBJECT Q_DISABLE_COPY(UserInformation) protected: bool bRequested; unsigned int uiSession; QTimer *qtTimer; QList qlCerts; static QString secsToString(unsigned int secs); QFont qfCertificateFont; protected slots: void tick(); void on_qpbCertificate_clicked(); public: UserInformation(const MumbleProto::UserStats &msg, QWidget *p = NULL); void update(const MumbleProto::UserStats &msg); unsigned int session() const; }; #endif