Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TQt6Application.h
Go to the documentation of this file.
1// Author: Sergey Linev 30/07/2026
2
3/*************************************************************************
4 * Copyright (C) 1995-2026, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11
12#ifndef ROOT_TQt6Application
13#define ROOT_TQt6Application
14
15
16#include "TApplicationImp.h"
17
18namespace ROOT {
19namespace Experimental {
20
22public:
23 TQt6Application() = delete;
24 TQt6Application(const char *appClassName, Int_t *argc, char **argv);
25 ~TQt6Application() override;
26
27 void Show() override {}
28 void Hide() override {}
29 void Iconify() override {}
30 Bool_t IsCmdThread() override { return kTRUE; }
31 void Init() override {}
32 void Open() override {}
33 void Raise() override {}
34 void Lower() override {}
35
36 static void CreateQApplication(int argc = 0, char **argv = nullptr);
37
38 ClassDefOverride(TQt6Application,0) // ROOT Qt6 GUI application environment
39};
40
41} // namespace Experimental
42} // namespace ROOT
43
44
45#endif
constexpr Bool_t kTRUE
Definition RtypesCore.h:108
#define ClassDefOverride(name, id)
Definition Rtypes.h:347
static void CreateQApplication(int argc=0, char **argv=nullptr)
Create QApplication and timer to handle Qt events.
~TQt6Application() override
Delete Qt6 application environment.
ABC describing GUI independent application implementation protocol.