qtribbon源码


我找过来的Qtribbon源码,但是也没搞明白qt的版本,公大家下载尝试,另外还有一版本。603398823,由问题联系我,我直接发
资源截图
代码片段和文件信息
/****************************************************************************
**
** Qtitan Library by Developer Machines (Microsoft-Ribbon implementation for Qt.C++)
** 
** Copyright (c) 2009-2015 Developer Machines (http://www.devmachines.com)
**           ALL RIGHTS RESERVED
** 
**  The entire contents of this file is protected by copyright law and
**  international treaties. Unauthorized reproduction reverse-engineering
**  and distribution of all or any portion of the code contained in this
**  file is strictly prohibited and may result in severe civil and 
**  criminal penalties and will be prosecuted to the maximum extent 
**  possible under the law.
**
**  RESTRICTIONS
**
**  THE SOURCE CODE CONTAINED WITHIN THIS FILE AND ALL RELATED
**  FILES OR ANY PORTION OF ITS CONTENTS SHALL AT NO TIME BE
**  COPIED TRANSFERRED SOLD DISTRIBUTED OR OTHERWISE MADE
**  AVAILABLE TO OTHER INDIVIDUALS WITHOUT WRITTEN CONSENT
**  AND PERMISSION FROM DEVELOPER MACHINES
**
**  CONSULT THE END USER LICENSE AGREEMENT FOR INFORMATION ON
**  ADDITIONAL RESTRICTIONS.
**
****************************************************************************/
#include 
#include 
#include 
#include 
#include 
#include 
#include yleOption>
#include 
#include 
#include 
#include 
#include 

#if (QT_VERSION >= QT_VERSION_CHECK(5 0 0))
#include 
#include 
#endif

#include “QtnRibbonBackstageView.h“
#include “QtnRibbonSystemPopupBar.h“
#include “QtnRibbonMainWindow.h“
#include “QtnRibbonBar.h“
#include “QtnRibbonBarPrivate.h“
#include “QtnRibbonTabBar.h“
#include “QtnstyleHelpers.h“
#include “QtnRibbonstyle.h“
#include “QtnOfficeframeHelper_win.h“

QTITAN_USE_NAMESPACE


#if (QT_VERSION >= QT_VERSION_CHECK(5 0 0))
QT_BEGIN_NAMESPACE
    Q_GUI_EXPORT QPixmap qt_pixmapFromWinHBITMAP(HBITMAP int hbitmapFormat = 0);
    Q_GUI_EXPORT HBITMAP qt_pixmapToWinHBITMAP(const QPixmap& p int hbitmapFormat = 0);
    Q_GUI_EXPORT HICON qt_pixmapToWinHICON(const QPixmap& p);
    Q_GUI_EXPORT QPixmap qt_pixmapFromWinHICON(HICON icon);
QT_END_NAMESPACE

enum HBitmapFormat 
{
    HBitmapNoAlpha
    HBitmapPremultipliedAlpha
    HBitmapAlpha
};
#endif

//DWM related
typedef struct          //MARGINS       
{
    int cxLeftWidth;    // width of left border that retains its size
    int cxRightWidth;   // width of right border that retains its size
    int cyTopHeight;    // height of top border that retains its size
    int cyBottomHeight; // height of bottom border that retains its size
} HLP_MARGINS;

typedef struct //DTTOPTS
{
    DWORD dwSize;
    DWORD dwFlags;
    COLORREF crText;
    COLORREF crBorder;
    COLORREF crShadow;
    int eTextShadowType;
    POINT ptShadowOffset;
    int iBorderSize;
    int iFontPropId;
    in

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-03-20 14:54  ribbon
     目录           0  2017-03-20 14:54  ribbonQtitanRibbon
     目录           0  2017-03-20 14:54  ribbonQtitanRibboninclude
     文件        5360  2016-06-07 14:32  ribbonQtitanRibbonincludeQtitanDef.h
     文件        1567  2016-06-07 14:32  ribbonQtitanRibbonincludeQtitanRibbon.h
     文件       13178  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnCommonstyle.h
     文件        2619  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnOfficeDefines.h
     文件        1987  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnOfficePopupColorButton.h
     文件        2497  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnOfficePopupMenu.h
     文件        4645  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnOfficePopupWindow.h
     文件       12318  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnOfficestyle.h
     文件        3959  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonBackstageView.h
     文件        6991  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonBar.h
     文件        6847  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonGallery.h
     文件        4865  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonGroup.h
     文件        2358  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonMainWindow.h
     文件        4533  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonPage.h
     文件        2311  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonQuickAccessBar.h
     文件        2363  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonSliderPane.h
     文件        2462  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonStatusBar.h
     文件        9890  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonstyle.h
     文件        5410  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonSystemPopupBar.h
     文件        4989  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnRibbonToolTip.h
     文件        7194  2016-06-07 14:32  ribbonQtitanRibbonincludeQtnstyleHelpers.h
     目录           0  2017-03-20 14:54  ribbonQtitanRibbonsrc
     目录           0  2017-03-20 14:54  ribbonQtitanRibbonsrcase
     文件        5360  2016-06-07 14:32  ribbonQtitanRibbonsrcaseQtitanDef.h
     目录           0  2017-03-20 14:54  ribbonQtitanRibbonsrc
ibbon
     目录           0  2017-03-20 14:54  ribbonQtitanRibbonsrc
ibbondsgn
     文件       10497  2016-06-07 14:32  ribbonQtitanRibbonsrc
ibbondsgnQtnCommandDsgn.cpp
     文件        4948  2016-06-07 14:32  ribbonQtitanRibbonsrc
ibbondsgnQtnCommandDsgn.h
............此处省略98个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)