aboutsummaryrefslogtreecommitdiff
path: root/VMProtect/wait_cursor.h
diff options
context:
space:
mode:
authorjmpoep <OriginalEntryPoint@qq.com>2023-12-07 16:51:07 +0800
committerjmpoep <OriginalEntryPoint@qq.com>2023-12-07 16:51:07 +0800
commit28008a746a31abb7909dd86cb0cd413ac8943b0b (patch)
treea30b74b8cad548048c3c1551d652828ab76fa9bd /VMProtect/wait_cursor.h
downloadvmprotect-3.5.1-master.tar
vmprotect-3.5.1-master.tar.gz
vmprotect-3.5.1-master.tar.bz2
vmprotect-3.5.1-master.zip
first commitHEADmaster
Diffstat (limited to 'VMProtect/wait_cursor.h')
-rw-r--r--VMProtect/wait_cursor.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/VMProtect/wait_cursor.h b/VMProtect/wait_cursor.h
new file mode 100644
index 0000000..1f307f4
--- /dev/null
+++ b/VMProtect/wait_cursor.h
@@ -0,0 +1,13 @@
+#ifndef WAITCURSOR_H
+#define WAITCURSOR_H
+
+class WaitCursor
+{
+public:
+ WaitCursor() { QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); }
+ ~WaitCursor() { QApplication::restoreOverrideCursor(); }
+protected:
+private:
+};
+
+#endif \ No newline at end of file