Help on class QGridLayout in module PyQt5.QtWidgets:

class QGridLayout(QLayout)
 |  QGridLayout(QWidget)
 |  QGridLayout()
 |  
 |  Method resolution order:
 |      QGridLayout
 |      QLayout
 |      PyQt5.QtCore.QObject
 |      QLayoutItem
 |      sip.wrapper
 |      sip.simplewrapper
 |      builtins.object
 |  
 |  Methods defined here:
 |  
 |  addChildLayout(...)
 |  
 |  addChildWidget(...)
 |  
 |  addItem(...)
 |      addItem(self, QLayoutItem, int, int, rowSpan: int = 1, columnSpan: int = 1, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())
 |      addItem(self, QLayoutItem)
 |  
 |  addLayout(...)
 |      addLayout(self, QLayout, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())
 |      addLayout(self, QLayout, int, int, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment())
 |  
 |  addWidget(...)
 |      addWidget(self, QWidget)
 |      addWidget(self, QWidget, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = 0)
 |      addWidget(self, QWidget, int, int, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = 0)
 |  
 |  alignmentRect(...)
 |  
 |  cellRect(...)
 |      cellRect(self, int, int) -> QRect
 |  
 |  childEvent(...)
 |  
 |  columnCount(...)
 |      columnCount(self) -> int
 |  
 |  columnMinimumWidth(...)
 |      columnMinimumWidth(self, int) -> int
 |  
 |  columnStretch(...)
 |      columnStretch(self, int) -> int
 |  
 |  connectNotify(...)
 |  
 |  count(...)
 |      count(self) -> int
 |  
 |  customEvent(...)
 |  
 |  disconnectNotify(...)
 |  
 |  expandingDirections(...)
 |      expandingDirections(self) -> Qt.Orientations
 |  
 |  getItemPosition(...)
 |      getItemPosition(self, int) -> Tuple[int, int, int, int]
 |  
 |  hasHeightForWidth(...)
 |      hasHeightForWidth(self) -> bool
 |  
 |  heightForWidth(...)
 |      heightForWidth(self, int) -> int
 |  
 |  horizontalSpacing(...)
 |      horizontalSpacing(self) -> int
 |  
 |  invalidate(...)
 |      invalidate(self)
 |  
 |  isSignalConnected(...)
 |  
 |  itemAt(...)
 |      itemAt(self, int) -> QLayoutItem
 |  
 |  itemAtPosition(...)
 |      itemAtPosition(self, int, int) -> QLayoutItem
 |  
 |  maximumSize(...)
 |      maximumSize(self) -> QSize
 |  
 |  minimumHeightForWidth(...)
 |      minimumHeightForWidth(self, int) -> int
 |  
 |  minimumSize(...)
 |      minimumSize(self) -> QSize
 |  
 |  originCorner(...)
 |      originCorner(self) -> Qt.Corner
 |  
 |  receivers(...)
 |  
 |  rowCount(...)
 |      rowCount(self) -> int
 |  
 |  rowMinimumHeight(...)
 |      rowMinimumHeight(self, int) -> int
 |  
 |  rowStretch(...)
 |      rowStretch(self, int) -> int
 |  
 |  sender(...)
 |  
 |  senderSignalIndex(...)
 |  
 |  setColumnMinimumWidth(...)
 |      setColumnMinimumWidth(self, int, int)
 |  
 |  setColumnStretch(...)
 |      setColumnStretch(self, int, int)
 |  
 |  setDefaultPositioning(...)
 |      setDefaultPositioning(self, int, Qt.Orientation)
 |  
 |  setGeometry(...)
 |      setGeometry(self, QRect)
 |  
 |  setHorizontalSpacing(...)
 |      setHorizontalSpacing(self, int)
 |  
 |  setOriginCorner(...)
 |      setOriginCorner(self, Qt.Corner)
 |  
 |  setRowMinimumHeight(...)
 |      setRowMinimumHeight(self, int, int)
 |  
 |  setRowStretch(...)
 |      setRowStretch(self, int, int)
 |  
 |  setSpacing(...)
 |      setSpacing(self, int)
 |  
 |  setVerticalSpacing(...)
 |      setVerticalSpacing(self, int)
 |  
 |  sizeHint(...)
 |      sizeHint(self) -> QSize
 |  
 |  spacing(...)
 |      spacing(self) -> int
 |  
 |  takeAt(...)
 |      takeAt(self, int) -> QLayoutItem
 |  
 |  timerEvent(...)
 |  
 |  verticalSpacing(...)
 |      verticalSpacing(self) -> int
 |  
 |  widgetEvent(...)
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from QLayout:
 |  
 |  __len__(self, /)
 |      Return len(self).
 |  
 |  activate(...)
 |      activate(self) -> bool
 |  
 |  closestAcceptableSize(...)
 |      closestAcceptableSize(QWidget, QSize) -> QSize
 |  
 |  contentsMargins(...)
 |      contentsMargins(self) -> QMargins
 |  
 |  contentsRect(...)
 |      contentsRect(self) -> QRect
 |  
 |  controlTypes(...)
 |      controlTypes(self) -> QSizePolicy.ControlTypes
 |  
 |  geometry(...)
 |      geometry(self) -> QRect
 |  
 |  getContentsMargins(...)
 |      getContentsMargins(self) -> Tuple[int, int, int, int]
 |  
 |  indexOf(...)
 |      indexOf(self, QWidget) -> int
 |  
 |  isEmpty(...)
 |      isEmpty(self) -> bool
 |  
 |  isEnabled(...)
 |      isEnabled(self) -> bool
 |  
 |  layout(...)
 |      layout(self) -> QLayout
 |  
 |  menuBar(...)
 |      menuBar(self) -> QWidget
 |  
 |  parentWidget(...)
 |      parentWidget(self) -> QWidget
 |  
 |  removeItem(...)
 |      removeItem(self, QLayoutItem)
 |  
 |  removeWidget(...)
 |      removeWidget(self, QWidget)
 |  
 |  replaceWidget(...)
 |      replaceWidget(self, QWidget, QWidget, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QLayoutItem
 |  
 |  setAlignment(...)
 |      setAlignment(self, QWidget, Union[Qt.Alignment, Qt.AlignmentFlag]) -> bool
 |      setAlignment(self, QLayout, Union[Qt.Alignment, Qt.AlignmentFlag]) -> bool
 |      setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])
 |  
 |  setContentsMargins(...)
 |      setContentsMargins(self, int, int, int, int)
 |      setContentsMargins(self, QMargins)
 |  
 |  setEnabled(...)
 |      setEnabled(self, bool)
 |  
 |  setMenuBar(...)
 |      setMenuBar(self, QWidget)
 |  
 |  setSizeConstraint(...)
 |      setSizeConstraint(self, QLayout.SizeConstraint)
 |  
 |  sizeConstraint(...)
 |      sizeConstraint(self) -> QLayout.SizeConstraint
 |  
 |  totalHeightForWidth(...)
 |      totalHeightForWidth(self, int) -> int
 |  
 |  totalMaximumSize(...)
 |      totalMaximumSize(self) -> QSize
 |  
 |  totalMinimumSize(...)
 |      totalMinimumSize(self) -> QSize
 |  
 |  totalSizeHint(...)
 |      totalSizeHint(self) -> QSize
 |  
 |  update(...)
 |      update(self)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from QLayout:
 |  
 |  SetDefaultConstraint = 0
 |  
 |  SetFixedSize = 3
 |  
 |  SetMaximumSize = 4
 |  
 |  SetMinAndMaxSize = 5
 |  
 |  SetMinimumSize = 2
 |  
 |  SetNoConstraint = 1
 |  
 |  SizeConstraint = <class 'PyQt5.QtWidgets.QLayout.SizeConstraint'>
 |      int(x=0) -> integer
 |      int(x, base=10) -> integer
 |      
 |      Convert a number or string to an integer, or return 0 if no arguments
 |      are given.  If x is a number, return x.__int__().  For floating point
 |      numbers, this truncates towards zero.
 |      
 |      If x is not a number or if base is given, then x must be a string,
 |      bytes, or bytearray instance representing an integer literal in the
 |      given base.  The literal can be preceded by '+' or '-' and be surrounded
 |      by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
 |      Base 0 means to interpret the base from the string as an integer literal.
 |      >>> int('0b100', base=0)
 |      4
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from PyQt5.QtCore.QObject:
 |  
 |  __getattr__(...)
 |      __getattr__(self, str) -> object
 |  
 |  blockSignals(...)
 |      blockSignals(self, bool) -> bool
 |  
 |  children(...)
 |      children(self) -> object
 |  
 |  deleteLater(...)
 |      deleteLater(self)
 |  
 |  destroyed = <unbound PYQT_SIGNAL destroyed(QObject*)>
 |  disconnect(...)
 |      disconnect(self)
 |  
 |  dumpObjectInfo(...)
 |      dumpObjectInfo(self)
 |  
 |  dumpObjectTree(...)
 |      dumpObjectTree(self)
 |  
 |  dynamicPropertyNames(...)
 |      dynamicPropertyNames(self) -> object
 |  
 |  event(...)
 |      event(self, QEvent) -> bool
 |  
 |  eventFilter(...)
 |      eventFilter(self, QObject, QEvent) -> bool
 |  
 |  findChild(...)
 |      findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
 |      findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
 |  
 |  findChildren(...)
 |      findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |  
 |  inherits(...)
 |      inherits(self, str) -> bool
 |  
 |  installEventFilter(...)
 |      installEventFilter(self, QObject)
 |  
 |  isWidgetType(...)
 |      isWidgetType(self) -> bool
 |  
 |  isWindowType(...)
 |      isWindowType(self) -> bool
 |  
 |  killTimer(...)
 |      killTimer(self, int)
 |  
 |  metaObject(...)
 |      metaObject(self) -> QMetaObject
 |  
 |  moveToThread(...)
 |      moveToThread(self, QThread)
 |  
 |  objectName(...)
 |      objectName(self) -> str
 |  
 |  objectNameChanged = <unbound PYQT_SIGNAL objectNameChanged(QString)>
 |  parent(...)
 |      parent(self) -> QObject
 |  
 |  property(...)
 |      property(self, str) -> Any
 |  
 |  pyqtConfigure(...)
 |      QObject.pyqtConfigure(...)
 |      
 |      Each keyword argument is either the name of a Qt property or a Qt signal.
 |      For properties the property is set to the given value which should be of an
 |      appropriate type.
 |      For signals the signal is connected to the given value which should be a
 |      callable.
 |  
 |  removeEventFilter(...)
 |      removeEventFilter(self, QObject)
 |  
 |  setObjectName(...)
 |      setObjectName(self, str)
 |  
 |  setParent(...)
 |      setParent(self, QObject)
 |  
 |  setProperty(...)
 |      setProperty(self, str, Any) -> bool
 |  
 |  signalsBlocked(...)
 |      signalsBlocked(self) -> bool
 |  
 |  startTimer(...)
 |      startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) -> int
 |  
 |  thread(...)
 |      thread(self) -> QThread
 |  
 |  tr(...)
 |      tr(self, str, disambiguation: str = None, n: int = -1) -> str
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from PyQt5.QtCore.QObject:
 |  
 |  __weakref__
 |      list of weak references to the object (if defined)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from PyQt5.QtCore.QObject:
 |  
 |  staticMetaObject = <PyQt5.QtCore.QMetaObject object>
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from QLayoutItem:
 |  
 |  alignment(...)
 |      alignment(self) -> Qt.Alignment
 |  
 |  spacerItem(...)
 |      spacerItem(self) -> QSpacerItem
 |  
 |  widget(...)
 |      widget(self) -> QWidget
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from sip.simplewrapper:
 |  
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |  
 |  __new__(*args, **kwargs) from sip.wrappertype
 |      Create and return a new object.  See help(type) for accurate signature.
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from sip.simplewrapper:
 |  
 |  __dict__

QGridLayout的更多相关文章

  1. 1QPushButton的使用,QLineEdit的使用,设置组件位置,布局(QHBoxLayout,QGridLayout)

     1.新建一个空Qt项目 2 新建一个新的文件(右击项目à添加新文件) 3 配置pro文件属性 SOURCES += \ main.cpp QT += widgets gui 4 编写main.c ...

  2. QT学习记录(1)-控件 QPushButton, QLineEdit, QLabel, QHBoxLayout, QGridLayout

    1.一个简单的QT程序(QPushButton) /* 应用程序抽象类 */ #include <QApplication> /*窗口类*/ #include <QWidget> ...

  3. pyqt布局管理器QGridLayout简单示例

    # _*_ coding:utf-8 _*_ import sys from PyQt4 import QtGui class Example(QtGui.QWidget): def __init__ ...

  4. QtGui.QGridLayout

    The most universal layout class is the grid layout. This layout divides the space into rows and colu ...

  5. Qt之格栅布局(QGridLayout)

    简述 QGridLayout:格栅布局,也被称作网格布局(多行多列). 栅格布局将位于其中的窗口部件放入一个网状的栅格之中.QGridLayout需要将提供给它的空间划分成的行和列,并把每个窗口部件插 ...

  6. QWidget添加带有图片的QPushButton,布局QGridLayout

    QWidget* w = new QWidget(this); w->setGeometry(10,20,400,300); QVBoxLayout* layout = new QVBoxLay ...

  7. Qwidget布局操作之QGridLayout(网格布局)

    QMainWindow并没有setLayout()函数,因此不能使用setLayout()函数来设置layout,需要使用间接的方法. 需要做的只是先定义一个QWidget对象,然后使用QMainWi ...

  8. QGridLayout栅格布局函数参数设置

    对于PyQt5的栅格布局函数,主要是实现多个控件之间的栅格布局形式,一般有两种设置方式: 1.Qdesigner布局设置时直接使用栅格布局函数,便可以把所需要布局的控件直接按照栅格方式来进行布局: 2 ...

  9. 使用QGridLayout布局实现翻页效果

    http://blog.csdn.net/u013704336/article/details/51474942

随机推荐

  1. 常见hash算法

    hash算法的意义在于提供了一种快速存取数据的方法,它用一种算法建立键值与真实值之间的对应关系,(每一个真实值只能有一个键值,但是一个键值可以对应多个真实值),这样可以快速在数组等条件中里面存取数据. ...

  2. IIS虚拟目录挂载文件服务器目录

    要求说明: 通过网站上传文件保存到统一的文件服务器上. 服务器说明: 1.文件服务器以下称为FilesServer,IP地址为:192.168.1.213 2.Web服务器为以下称为WebServer ...

  3. java双重检测或枚举类实现线程安全单例(懒汉模式)

    双重检测实现 /** * 懒汉模式->双重同步锁单例模式 */ public class SingletonExample5 { private SingletonExample5() { } ...

  4. Java中食之无味弃之可惜的数组

    在Java的泛型出现之前,只有数组可以用来存储指定类型的对象:在自动装箱机制出现之前,只有数组可以用来存储基本数据类型:也就是说,在泛型和自动装箱机制出现之前,数组在Java当中的分量举足轻重. 况且 ...

  5. WebPack引用Bootstrap 无法使用图标的结局方案

    npm i https://github.com/iconic/open-iconic.git -D  因为boostrap的css里删除了图标 分开了 我们在引入个呵呵. 下载:npm i boot ...

  6. springboot~jpa个性化数据操作接口

    jap是个全能仓储 jap把很多数据库访问都封装了,并且提交了默认的一切数据方法签名的约定,大家按着约定走,可以不写SQL语句,而如果比较复杂的情况,也需要写SQL,这里我们介绍一下查询和修改的实例方 ...

  7. rabbitmq实现向各服务广播消息

    广播fanout 主要是将一个消息,分发到绑定了它的队列上,而这些队列如消费者自己去建立和绑定! 对生产者是解耦的 生产者不需要关心消费者有多少,消费者如果需要这种消息,只需要把队列绑定到exchan ...

  8. Bootstrap 前端框架 遇到的问题 解决方案

    bootstrap实现导航栏的响应式布局,当在小屏幕.手机屏幕浏览时自动折叠隐藏 直接放代码,更容易理解.下次可以套这个代码 <!DOCTYPE html> <html> &l ...

  9. 秋招提前批小结(CVTE一面挂、阿里三面挂)

    7月27日:CVTE一面 30分钟(挂) 1.自我介绍 2.有没有做过JavaWeb相关的项目?你觉得难点在哪里呢? 3.你这个博客系统有没有加权限系统?如果被拦截封包获取了账号密码怎么办?(没加,凉 ...

  10. 【原创】Mindjet Manager思维导图软件云服务功能的使用方法

        注:自己使用了mindjet manager来画思维导图已经有一段时间了,无疑mindjet manager的功能是很强大的,但是最近因为自己两台电脑都安装了mindjet manager,每 ...