Add pending function to guimessagedialog.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace Ui {
|
||||
class GUIMessageDialog;
|
||||
}
|
||||
|
||||
class QToolButton;
|
||||
class GUIMessageDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -20,14 +20,22 @@ public:
|
||||
void hideExitButton();
|
||||
void startLoading();
|
||||
void stopLoading();
|
||||
void startPending();
|
||||
void stopPending();
|
||||
bool Pending(){
|
||||
return pending;
|
||||
}
|
||||
void setOpacity(double);
|
||||
protected:
|
||||
void timerEvent(QTimerEvent* event) override ;
|
||||
private:
|
||||
Ui::GUIMessageDialog *ui;
|
||||
QList<QString> frame;
|
||||
QToolButton *btn_main;
|
||||
QToolButton *btn_Append;
|
||||
int frameIndex=0;
|
||||
int timerID = -1;
|
||||
bool pending = false;
|
||||
};
|
||||
|
||||
#endif // GUIMESSAGEDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user