⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 utils.xmi

📁 QT4的utils库源码包.解压后运行./configure配置,然后make.使用时在.pro文件中加入两行:LIBS+=-L$$(CPPLIBS)-lutils及INCLUDEPATH+=$$(C
💻 XMI
📖 第 1 页 / 共 5 页
字号:
       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10348" type="8" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation comment="Call this method to signify that your test haspassed. This will do nothing if @ref fail() was calledfirst on this object. To reset a failed statusone must first call @ref reset()" isSpecification="false" isLeaf="false" visibility="public" xmi.id="60" isRoot="false" isAbstract="false" isQuery="false" name="pass" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10349" type="8" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation comment="To be called from another main(), reads in thecommand line arguments into a protectedmArgumentList data member, and then calls@ref execute().@return true if the test passed." isSpecification="false" isLeaf="false" visibility="public" xmi.id="61" isRoot="false" isAbstract="false" isQuery="false" name="main" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10350" type="12" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="62" value="" type="12" name="argc" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="64" value="" type="63" name="argv" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="65" isRoot="false" isAbstract="false" isQuery="false" name="main" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10351" type="12" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="66" value="" type="2" name="alist" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation comment="Returns diagnostic information about the currentstate in XML format, including @ref getStatus()" isSpecification="false" isLeaf="false" visibility="public" xmi.id="67" isRoot="false" isAbstract="false" isQuery="false" name="message" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10352" type="24" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="68" isRoot="false" isAbstract="false" isQuery="false" name="getStatus" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10353" type="24" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation comment="override this method to define the statementsinvolved in the test. do not call it directly - it ismeant to be called from @ref execute()" isSpecification="false" isLeaf="false" visibility="protected" xmi.id="69" isRoot="false" isAbstract="false" isQuery="false" name="test" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10354" type="8" />       </UML:BehavioralFeature.parameter>      </UML:Operation>     </UML:Classifier.feature>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="336" isRoot="false" isAbstract="false" name="QMenu" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="337" isRoot="false" isAbstract="false" name="QActionGroup" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="338" isRoot="false" isAbstract="false" name="QActionPrivate" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="349" isRoot="false" isAbstract="false" name="QIcon" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="385" isRoot="false" isAbstract="false" name="QKeySequence" />    <UML:Package isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="390" isRoot="false" isAbstract="false" name="Qt" >     <UML:Namespace.ownedElement>      <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="390" xmi.id="391" isRoot="false" isAbstract="false" name="ShortcutContext" />     </UML:Namespace.ownedElement>    </UML:Package>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="395" isRoot="false" isAbstract="false" name="QFont" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="403" isRoot="false" isAbstract="false" name="QVariant" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="417" isRoot="false" isAbstract="false" name="QWidget" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="422" isRoot="false" isAbstract="false" name="QEvent" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="442" isRoot="false" isAbstract="false" name="QMenuBar" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="443" isRoot="false" isAbstract="false" name="QShortcutMap" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="666" isRoot="false" isAbstract="false" name="EditAction" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="2080" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="741" isRoot="false" isAbstract="false" name="PrintAction" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="2231" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="1038" isRoot="false" isAbstract="false" name="Cut" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="3137" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="1113" isRoot="false" isAbstract="false" name="Copy" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="2986" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="1188" isRoot="false" isAbstract="false" name="Paste" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="2835" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="1263" isRoot="false" isAbstract="false" name="PrintEPS" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="2533" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="1338" isRoot="false" isAbstract="false" name="PrintPNG" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="2684" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="1413" isRoot="false" isAbstract="false" name="PrintSVG" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="2382" />     </UML:GeneralizableElement.generalization>    </UML:Class>    <UML:Class comment="short A simple object for communicating log messages between objects/threads.Inspired by the Logger class of the JDK 1.5, (which was inspired by Apache log4j).Loggers have a signal data(QString) which can be connected to slots of other Qt objects - especially the@ref LogWindow class, which is designed for it.@see Command" isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="6916" isRoot="false" isAbstract="false" name="Logger" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="6917" />     </UML:GeneralizableElement.generalization>     <UML:Classifier.feature>      <UML:Attribute isSpecification="false" visibility="private" xmi.id="6936" type="6935" name="sm_LogMap" ownerScope="classifier" />      <UML:Operation comment="Factory named-singleton manager.Creates or returns an existing Logger objectwhose name is logname. if logname is &quot;debug&quot;, installs aQDebugHandler so that qDebug() messages go through thislog also." isSpecification="false" isLeaf="false" visibility="public" xmi.id="6920" isRoot="false" isAbstract="false" isQuery="false" name="getLogger" ownerScope="classifier" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10355" type="6922" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="6921" value="" type="24" name="logname" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="6923" isRoot="false" isAbstract="false" isQuery="true" name="myDebugHandler" ownerScope="classifier" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10356" type="8" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="6925" value="" type="6924" name="type" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="6927" value="" type="6926" name="msg" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation comment="Send some info to this log" isSpecification="false" isLeaf="false" visibility="public" xmi.id="6928" isRoot="false" isAbstract="false" isQuery="true" name="info" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10357" type="8" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="6929" value="" type="24" name="str" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation comment="Emitted whenever anyone writes anything to this log" isSpecification="false" isLeaf="false" visibility="protected" xmi.id="6930" isRoot="false" isAbstract="false" isQuery="true" name="data" >       <UML:BehavioralFeature.parameter>        <UML:Parameter kind="return" xmi.id="10358" type="8" />        <UML:Parameter isSpecification="false" visibility="private" xmi.id="6931" value="" type="345" name="str" />       </UML:BehavioralFeature.parameter>      </UML:Operation>      <UML:Operation stereotype="10" isSpecification="false" isLeaf="false" visibility="protected" xmi.id="6932" isRoot="false" isAbstract="false" isQuery="true" name="Logger" >       <UML:BehavioralFeature.parameter>        <UML:Parameter isSpecification="false" visibility="private" xmi.id="6933" value="" type="24" name="logname" />       </UML:BehavioralFeature.parameter>      </UML:Operation>     </UML:Classifier.feature>    </UML:Class>    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="6924" isRoot="false" isAbstract="false" name="QtMsgType" />    <UML:Class isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="6934" isRoot="false" isAbstract="false" name="QMap" />    <UML:Class comment="short An extended QTextEdit suitable for capturing log output.Each LogWindow is attached to a logger of the same name,and will monitor messages that go through the named Logger.Contains a smart scrollbar that won't keep scrolling if you are dragging it. This class adds an &quot;append&quot; slot to QTextEdit, which also sendsthe scrollbar down to the bottom.see class @ref Logger" isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="6938" isRoot="false" isAbstract="false" name="LogWindow" >     <UML:GeneralizableElement.generalization>      <UML:Generalization xmi.idref="6940" />     </UML:GeneralizableElement.generalization>     <UML:Classifier.feature>      <UML:Attribute isSpecification="false" visibility="private" xmi.id="6952" type="12" name="shouldScroll" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -