• 大小: 2.98MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-29
  • 语言: 其他
  • 标签: Qt  ribbon  

资源简介

我找过来的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  ribbon\QtitanRibbon\
     目录           0  2017-03-20 14:54  ribbon\QtitanRibbon\include\
     文件        5360  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtitanDef.h
     文件        1567  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtitanRibbon.h
     文件       13178  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnCommonstyle.h
     文件        2619  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnOfficeDefines.h
     文件        1987  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnOfficePopupColorButton.h
     文件        2497  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnOfficePopupMenu.h
     文件        4645  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnOfficePopupWindow.h
     文件       12318  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnOfficestyle.h
     文件        3959  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonBackstageView.h
     文件        6991  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonBar.h
     文件        6847  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonGallery.h
     文件        4865  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonGroup.h
     文件        2358  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonMainWindow.h
     文件        4533  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonPage.h
     文件        2311  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonQuickAccessBar.h
     文件        2363  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonSliderPane.h
     文件        2462  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonStatusBar.h
     文件        9890  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonstyle.h
     文件        5410  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonSystemPopupBar.h
     文件        4989  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnRibbonToolTip.h
     文件        7194  2016-06-07 14:32  ribbon\QtitanRibbon\include\QtnstyleHelpers.h
     目录           0  2017-03-20 14:54  ribbon\QtitanRibbon\src\
     目录           0  2017-03-20 14:54  ribbon\QtitanRibbon\src\base\
     文件        5360  2016-06-07 14:32  ribbon\QtitanRibbon\src\base\QtitanDef.h
     目录           0  2017-03-20 14:54  ribbon\QtitanRibbon\src\ribbon\
     目录           0  2017-03-20 14:54  ribbon\QtitanRibbon\src\ribbondsgn\
     文件       10497  2016-06-07 14:32  ribbon\QtitanRibbon\src\ribbondsgn\QtnCommandDsgn.cpp
     文件        4948  2016-06-07 14:32  ribbon\QtitanRibbon\src\ribbondsgn\QtnCommandDsgn.h
............此处省略98个文件信息

评论

共有 条评论