Класс DaemonUi
Диалог управления сервером.
Подробнее...
#include <daemonui.h>
Полный список членов класса
Открытые слоты
-
void handleMessage (const QString &message)
Открытые члены
Закрытые типы
- enum Status {
Unknown,
Error,
Starting,
Started,
Stopped,
Restarting
}
- enum LedColor {
Red,
Yellow,
Green
}
Закрытые слоты
-
void checkStart ()
-
void exit ()
-
void iconActivated (QSystemTrayIcon::ActivationReason reason)
-
void init ()
-
void notify (LocalClientService::Reason reason)
-
void restart ()
-
void settings ()
-
void start ()
-
void stop ()
Закрытые члены
-
bool arguments (const QStringList &args)
- void createActions ()
- void createButtons ()
-
void createTray ()
-
void setActionsState (bool start=true, bool stop=true, bool restart=true, bool quit=true, bool settings=true)
-
void setLedColor (LedColor color=Red)
-
void setStatus (Status status)
-
void showUi ()
Закрытые данные
-
DaemonSettings * m_settings
-
LocalClientService * m_client
-
QAction * m_quitAction
-
QAction * m_quitAllAction
-
QAction * m_restartAction
-
QAction * m_settingsAction
-
QAction * m_startAction
-
QAction * m_stopAction
-
QLabel * m_aboutLabel
-
QLabel * m_ledLabel
-
QLabel * m_statusLabel
-
QMenu * m_menu
-
QPointer< DaemonSettingsDialog > m_settingsDialog
-
QPushButton * m_hideButton
-
QPushButton * m_quitButton
-
QString m_appDir
-
QString m_daemonFile
-
QSystemTrayIcon * m_tray
-
QTimer m_checkTimer
-
QToolButton * m_restartButton
-
QToolButton * m_settingsButton
-
QToolButton * m_startButton
-
QToolButton * m_stopButton
-
Status m_status
Подробное описание
Диалог управления сервером.
Конструктор(ы)
Методы
| void createActions |
( |
|
) |
[private] |
| void createButtons |
( |
|
) |
[private] |