资源简介
QtCreator 的调试器
适合 qt版本4.8.5 qtcreator版本2.8.0
代码片段和文件信息
# Copyright 2007 Google Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
“““Abstract base Classes (ABCs) according to PEP 3119.“““
import types
# Instance of old-style class
class _C: pass
_InstanceType = type(_C())
def abstractmethod(funcobj):
“““A decorator indicating abstract methods.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract methods are overridden.
The abstract methods can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractmethod
def my_abstract_method(self ...):
...
“““
funcobj.__isabstractmethod__ = True
return funcobj
class abstractproperty(property):
“““A decorator indicating abstract properties.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract properties are overridden.
The abstract properties can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractproperty
def my_abstract_property(self):
...
This defines a read-only property; you can also define a read-write
abstract property using the ‘long‘ form of property declaration:
class C:
__metaclass__ = ABCmeta
def getx(self): ...
def setx(self value): ...
x = abstractproperty(getx setx)
“““
__isabstractmethod__ = True
class ABCmeta(type):
“““metaclass for defining Abstract base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed
directly and then acts as a mix-in class. You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as ‘virtual subclasses‘ -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function but the registering ABC won‘t show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).
“““
# A global counter that is incremented each time a class is
# registered as a virtual subclass of anything. It forces the
# negative cache to be cleared before its next use.
_abc_invalidation_counter = 0
def __new__(mcls name bases namespace):
cls = super(ABCmeta mcls).__new__(mcls name bases namespace)
# Compute set of abstract method names
abstracts = set(name
for name value in namespace.items()
if getattr(value “__isabstractmethod__“ False))
for base in bases:
for name in getattr(base
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-02-24 18:17 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\
文件 3703822 2012-04-21 23:27 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\gdb-arm-none-linux-gnueabi.exe
文件 3664910 2012-04-21 23:27 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\gdb-arm-none-symbianelf.exe
文件 4025870 2012-04-21 23:27 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\gdb-i686-pc-mingw32.exe
目录 0 2018-02-24 18:17 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\
文件 44702 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\abstract.h
文件 1099 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\asdl.h
文件 230 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\ast.h
文件 792 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\bitset.h
文件 912 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\boolob
文件 922 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\bufferob
文件 1941 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\bytearrayob
文件 1152 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\bytesob
文件 2804 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\bytes_methods.h
文件 651 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\cellob
文件 4986 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\ceval.h
文件 3002 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\classob
文件 2930 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\cob
文件 3895 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\code.h
文件 5014 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\codecs.h
文件 1065 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\compile.h
文件 1853 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\complexob
文件 2008 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\cStringIO.h
文件 8313 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\datetime.h
文件 2480 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\descrob
文件 6625 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\dictob
文件 338 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\dtoa.h
文件 253 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\enumob
文件 1363 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\errcode.h
文件 557 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\eval.h
文件 3440 2012-04-21 23:28 qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\include\fileob
............此处省略2014个文件信息
相关资源
- Qt海康威视SDK二次开发登录与预览
- qt3安装必备大礼包
- 基于SeetaFace+VS2017+Qt的人脸识别
- QT图像处理系统三合一
- texstudio-2.12.22-win-qt5.zip
- QT Creator快速入门(第3版 高清PDF)
- Qt Creator for Linux 32位 qt-creator-linux-x8
- qt 局域网图像(json文件打包)传输
-
mediaPla
yer.zip - 北邮计算机网络实验-用开源代码实验
- 基于Qt5.9.1(MSVC) PJSIP网络电话源代码
- arm-none-linux-gnueabi-gcc-4.8.3
- snap7库在qt5下的配置程序存档
- Qt Creator快速入门(第三版)
- Qt 5开发及(第4版)[陆文周][课件和代
-
VideoPla
yer.zip - QT电子点菜系统
- 《QT5开发及》教程配套
- Multicore and GPU Programming An Integrated Ap
- Qt5开发及 完整高清版ppt+源码不是原书
- Qt5开发及完整版随书配套源代码
- 点菜系统ARM+qt
- VS2015+QT5设计用户登录界面
- qt编写视频监控系统源码
- IEC61850 SCL文件编辑工具
- 基于qt的截图工具,实现截图后进行多
- QT程序源代码打包
- 板式家具下料算法
- Qt5.6.1下写的简单版的无聊打飞机游戏
- STM32F4x7+freertos+lwip+ssl+MQTT-(MDK5)稳定
评论
共有 条评论