91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 31KB
    文件類型: .rar
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2021-05-10
  • 語言: 其他
  • 標簽: 流程圖??

資源簡介

qt 自帶的繪制流程圖示例,可以在QT Creator搜索“diagramscene” D:\Qt\Qt5.9.3\Examples\Qt-5.9.3\widgets\graphicsview\diagramscene

資源截圖

代碼片段和文件信息

/****************************************************************************
**
**?Copyright?(C)?2016?The?Qt?Company?Ltd.
**?Contact:?https://www.qt.io/licensing/
**
**?This?file?is?part?of?the?examples?of?the?Qt?Toolkit.
**
**?$QT_BEGIN_LICENSE:BSD$
**?Commercial?License?Usage
**?Licensees?holding?valid?commercial?Qt?licenses?may?use?this?file?in
**?accordance?with?the?commercial?license?agreement?provided?with?the
**?Software?or?alternatively?in?accordance?with?the?terms?contained?in
**?a?written?agreement?between?you?and?The?Qt?Company.?For?licensing?terms
**?and?conditions?see?https://www.qt.io/terms-conditions.?For?further
**?information?use?the?contact?form?at?https://www.qt.io/contact-us.
**
**?BSD?License?Usage
**?Alternatively?you?may?use?this?file?under?the?terms?of?the?BSD?license
**?as?follows:
**
**?“Redistribution?and?use?in?source?and?binary?forms?with?or?without
**?modification?are?permitted?provided?that?the?following?conditions?are
**?met:
**???*?Redistributions?of?source?code?must?retain?the?above?copyright
**?????notice?this?list?of?conditions?and?the?following?disclaimer.
**???*?Redistributions?in?binary?form?must?reproduce?the?above?copyright
**?????notice?this?list?of?conditions?and?the?following?disclaimer?in
**?????the?documentation?and/or?other?materials?provided?with?the
**?????distribution.
**???*?Neither?the?name?of?The?Qt?Company?Ltd?nor?the?names?of?its
**?????contributors?may?be?used?to?endorse?or?promote?products?derived
**?????from?this?software?without?specific?prior?written?permission.
**
**
**?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS
**?“AS?IS“?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT
**?LIMITED?TO?THE?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR
**?A?PARTICULAR?PURPOSE?ARE?DISCLAIMED.?IN?NO?EVENT?SHALL?THE?COPYRIGHT
**?OWNER?OR?CONTRIBUTORS?BE?LIABLE?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL
**?SPECIAL?EXEMPLARY?OR?CONSEQUENTIAL?DAMAGES?(INCLUDING?BUT?NOT
**?LIMITED?TO?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR?SERVICES;?LOSS?OF?USE
**?DATA?OR?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER?CAUSED?AND?ON?ANY
**?THEORY?OF?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY?OR?TORT
**?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE
**?OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.“
**
**?$QT_END_LICENSE$
**
****************************************************************************/


#include?“arrow.h“

#include?

#include?
#include?

const?qreal?Pi?=?3.14;

//!?[0]
Arrow::Arrow(DiagramItem?*startItem?DiagramItem?*endItem?QGraphicsItem?*parent)
????:?QGraphicsLineItem(parent)
{
????myStartItem?=?startItem;
????myEndItem?=?endItem;
????setFlag(QGraphicsItem::ItemIsSelectable?true);
????myColor?=?Qt::black;
????setPen(QPen(myColor?2?Qt::SolidLine?Qt::RoundCap?Qt::RoundJoin));
}
//!?[0]

//!?[1]
QRectF?Arrow::boundingR

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????5503??2017-11-16?13:15??diagramscene\arrow.cpp

?????文件???????3593??2017-11-16?13:15??diagramscene\arrow.h

?????文件???????5468??2017-11-16?13:15??diagramscene\diagramitem.cpp

?????文件???????3797??2017-11-16?13:15??diagramscene\diagramitem.h

?????文件???????8203??2017-11-16?13:15??diagramscene\diagramscene.cpp

?????文件???????4335??2017-11-16?13:15??diagramscene\diagramscene.h

?????文件????????391??2017-11-16?13:15??diagramscene\diagramscene.pro

?????文件??????24072??2019-11-03?07:10??diagramscene\diagramscene.pro.user

?????文件????????660??2017-11-16?13:15??diagramscene\diagramscene.qrc

?????文件???????3504??2017-11-16?13:15??diagramscene\diagramtextitem.cpp

?????文件???????3346??2017-11-16?13:15??diagramscene\diagramtextitem.h

?????文件????????112??2017-11-16?13:15??diagramscene\images\background1.png

?????文件????????114??2017-11-16?13:15??diagramscene\images\background2.png

?????文件????????116??2017-11-16?13:15??diagramscene\images\background3.png

?????文件?????????96??2017-11-16?13:15??diagramscene\images\background4.png

?????文件????????353??2017-11-16?13:15??diagramscene\images\bold.png

?????文件????????293??2017-11-16?13:15??diagramscene\images\bringtofront.png

?????文件????????831??2017-11-16?13:15??diagramscene\images\delete.png

?????文件????????282??2017-11-16?13:15??diagramscene\images\floodfill.png

?????文件????????299??2017-11-16?13:15??diagramscene\images\italic.png

?????文件????????145??2017-11-16?13:15??diagramscene\images\linecolor.png

?????文件????????141??2017-11-16?13:15??diagramscene\images\linepointer.png

?????文件????????230??2017-11-16?13:15??diagramscene\images\pointer.png

?????文件????????318??2017-11-16?13:15??diagramscene\images\sendtoback.png

?????文件????????893??2017-11-16?13:15??diagramscene\images\textpointer.png

?????文件????????307??2017-11-16?13:15??diagramscene\images\underline.png

?????文件???????2799??2017-11-16?13:15??diagramscene\main.cpp

?????文件??????22460??2019-10-21?21:48??diagramscene\mainwindow.cpp

?????文件???????5325??2017-11-16?13:15??diagramscene\mainwindow.h

?????目錄??????????0??2019-11-03?07:10??diagramscene\images

............此處省略4個文件信息

評論

共有 條評論