Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
@@ -0,0 +1,43 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_frameless_dialog.h>
|
||||
#include <AssetManagement/asm.hpp>
|
||||
|
||||
class QTimer;
|
||||
|
||||
namespace Ui { class LogoutInformationDialog; }
|
||||
|
||||
namespace LtsLogin
|
||||
{
|
||||
|
||||
class LogoutInformationDialog : public LtsWidgets::LtsFramelessDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
LogoutInformationDialog(int timeOut, AssetManagement::ShutdownAction shutdownAction, QWidget *parent = nullptr);
|
||||
~LogoutInformationDialog();
|
||||
|
||||
private slots:
|
||||
void onTimerTimeout();
|
||||
void acceptClicked();
|
||||
void closeClicked();
|
||||
|
||||
private:
|
||||
void setText(const QString &text);
|
||||
void setCloseButtonText(int secsLeft);
|
||||
|
||||
Ui::LogoutInformationDialog *m_ui;
|
||||
QTimer *m_timer;
|
||||
int m_timeOut;
|
||||
int m_secsLeft;
|
||||
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *event) override final;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user