You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QProxyStyle>
|
|
|
|
|
#include <QStyleOption>
|
|
|
|
|
|
|
|
|
|
#include "IxDynObj.h"
|
|
|
|
|
#include "iBase_global.h"
|
|
|
|
|
#include "iPlugin_global.h"
|
|
|
|
|
|
|
|
|
|
// 为了定制标头而设定的Style
|
|
|
|
|
class I_PLUGIN_EXPORT ZxMdiSubWindowStyle : public QProxyStyle
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
ZxMdiSubWindowStyle(QStyle* baseStyle = 0);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
virtual void drawComplexControl(ComplexControl control, \
|
|
|
|
|
const QStyleOptionComplex* option, \
|
|
|
|
|
QPainter* painter, \
|
|
|
|
|
const QWidget* widget) const;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
void drawButton(QPainter* painter, \
|
|
|
|
|
const QRectF& buttonRect, \
|
|
|
|
|
const QPixmap& icon, \
|
|
|
|
|
const QSize size) const;
|
|
|
|
|
|
|
|
|
|
};
|