#ifndef QQTWINDOWATTRIBUTE_H #define QQTWINDOWATTRIBUTE_H #include //#include #define QQTSHARED_EXPORT //windowflag //frameless void QQTSHARED_EXPORT setFrameless ( QWidget* widget, bool open = true ); //主、子窗口 void QQTSHARED_EXPORT setMainWindow ( QWidget* widget, bool open = true ); //full screen (normal screen, +size) void QQTSHARED_EXPORT setFullScreen ( QWidget* widget, bool open = true, QRect normalGeometry = QRect ( 0, 0, 800, 600 ) ); //stay on bottom void QQTSHARED_EXPORT setStayOnBottom ( QWidget* widget, bool open = true ); //stay on top void QQTSHARED_EXPORT setStayOnTop ( QWidget* widget, bool open = true ); //attribute //WA_TranslucentBackground void QQTSHARED_EXPORT setTranslucentBackground ( QWidget* widget, bool open = true ); //WA_TransparentForMouseEvents void QQTSHARED_EXPORT setTransparentForMouseEvents ( QWidget* widget, bool open = true ); //子窗体填充主窗体 #endif // QQTWINDOWATTRIBUTE_H