[英]How to use QDwm in Qt gui application
How can i use the QDwm to extend the aero glass in qt window? 如何在Qt窗口中使用QDwm扩展航空玻璃? I don't found any documentation of how to do this.
我没有找到任何有关如何执行此操作的文档。 Link: http://sourceforge.net/projects/qdwm/
链接: http : //sourceforge.net/projects/qdwm/
Download the source code and look at QCustomWindow.hh. 下载源代码,然后查看QCustomWindow.hh。 There are only 10 methods plus a constructor.
只有10个方法以及一个构造函数。 You should be able to see what the methods do just by looking at their titles.
您仅通过查看其标题就应该能够看到这些方法的作用。 Here they are:
他们来了:
// constructor
QCustomWindow(QWidget* parent = 0, Qt::WindowFlags flags = Qt::Window);
// setters
void setFrameRemoved(bool isRemoved);
void setExtraMargins(const QMargins& margins);
void setBorderSize(int size);
void setTitleBarSize(int size);
// getters
bool isFrameRemoved(void) const;
QMargins extraMargins(void) const;
int borderSize(void) const;
int titleBarSize(void) const;
static bool isAeroActivated(void);
static bool isThemeActivated(void);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.