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

📄 abstractformwindow.cpp

📁 qt-x11-opensource-src-4.1.4.tar.gz源码
💻 CPP
📖 第 1 页 / 共 2 页
字号:
    Returns the number of tools available.    \internal*//*!    \fn virtual int QDesignerFormWindowInterface::currentTool() const    Returns the index of the current tool in use.    \sa setCurrentTool()    \internal*//*!    \fn virtual void QDesignerFormWindowInterface::setCurrentTool(int index)    Sets the current tool to be the one with the given \a index.    \sa currentTool()    \internal*//*!    \fn virtual QDesignerFormWindowToolInterface *QDesignerFormWindowInterface::tool(int index) const    Returns an interface to the tool with the given \a index.    \internal*//*!    \fn virtual void QDesignerFormWindowInterface::registerTool(QDesignerFormWindowToolInterface *tool)    Registers the given \a tool with the form window.    \internal*//*!    \fn virtual QPoint QDesignerFormWindowInterface::grid() const = 0    Returns the grid spacing used by the form window.    \sa setGrid()*//*!    \fn virtual QWidget *QDesignerFormWindowInterface::mainContainer() const    Returns the main container widget for the form window.    \sa setMainContainer()*//*!    \fn virtual void QDesignerFormWindowInterface::setMainContainer(QWidget *mainContainer)    Sets the main container widget on the form to the specified \a    mainContainer.    \sa mainContainer(), mainContainerChanged()*//*!    \fn virtual bool QDesignerFormWindowInterface::isManaged(QWidget *widget) const    Returns true if the specified \a widget is managed by the form    window; otherwise returns false.    \sa manageWidget()*//*!    \fn virtual bool QDesignerFormWindowInterface::isDirty() const    Returns true if the form window is "dirty" (modified but not    saved); otherwise returns false.    \sa setDirty()*//*!    \fn virtual QtUndoStack *QDesignerFormWindowInterface::commandHistory() const    Returns an object that can be used to obtain the commands used so    far in the construction of the form.    \internal*//*!    \fn virtual void QDesignerFormWindowInterface::beginCommand(const QString &description)    Begins execution of a command with the given \a    description. Commands are executed between beginCommand() and    endCommand() function calls to ensure that they are recorded on    the undo stack.    \sa endCommand()    \internal*//*!    \fn virtual void QDesignerFormWindowInterface::endCommand()    Ends execution of the current command.    \sa beginCommand()    \internal*//*!    \fn virtual void QDesignerFormWindowInterface::simplifySelection(QList<QWidget*> *widgets) const    Simplifies the selection of widgets specified by \a widgets.    \sa selectionChanged()    \internal*//*!    \fn virtual void QDesignerFormWindowInterface::emitSelectionChanged()    Emits the selectionChanged() signal.    \sa selectWidget(), clearSelection()*//*!    \fn virtual QStringList QDesignerFormWindowInterface::resourceFiles() const    Returns a list of paths to resource files that are currently being    used by the form window.    \sa addResourceFile(), removeResourceFile()*//*!    \fn virtual void QDesignerFormWindowInterface::addResourceFile(const QString &path)    Adds the resource file at the given \a path to those used by the form.    \sa resourceFiles(), resourceFilesChanged()*//*!    \fn virtual void QDesignerFormWindowInterface::removeResourceFile(const QString &path)    Removes the resource file at the specified \a path from the list    of those used by the form.    \sa resourceFiles(), resourceFilesChanged()*//*!    \fn virtual void QDesignerFormWindowInterface::ensureUniqueObjectName(QObject *object)    Ensures that the specified \a object has a unique name amongst the    other objects on the form.    \internal*/// Slots/*!    \fn virtual void QDesignerFormWindowInterface::manageWidget(QWidget *widget)    Instructs the form window to manage the specified \a widget.    \sa isManaged(), unmanageWidget(), widgetManaged()*//*!    \fn virtual void QDesignerFormWindowInterface::unmanageWidget(QWidget *widget)    Instructs the form window not to manage the specified \a widget.    \sa aboutToUnmanageWidget(), widgetUnmanaged()*//*!    \fn virtual void QDesignerFormWindowInterface::setFeatures(Feature features)    Enables the specified \a features for the form window.    \sa features(), featureChanged()*//*!    \fn virtual void QDesignerFormWindowInterface::setDirty(bool dirty)    If \a dirty is true, the form window is marked as dirty, meaning    that it is modified but not saved. If \a dirty is false, the form    window is considered to be unmodified.    \sa isDirty()*//*!\fn virtual void QDesignerFormWindowInterface::clearSelection(bool update)    Clears the current selection in the form window. If \a update is    true, the emitSelectionChanged() function is called, emitting the    selectionChanged() signal.    \sa selectWidget()*//*!    \fn virtual void QDesignerFormWindowInterface::selectWidget(QWidget *widget, bool select)    If \a select is true, the given \a widget is selected; otherwise    the \a widget is deselected.    \sa clearSelection(), selectionChanged()*//*!    \fn virtual void QDesignerFormWindowInterface::setGrid(const QPoint &grid)    Sets the grid size for the form window to the point specified by    \a grid. In this function, the coordinates in the QPoint are used    to specify the dimensions of a rectangle in the grid.    \sa grid()*//*!    \fn virtual void QDesignerFormWindowInterface::setFileName(const QString &fileName)    Sets the file name for the form to the given \a fileName.    \sa fileName(), fileNameChanged()*//*!    \fn virtual void QDesignerFormWindowInterface::setContents(const QString &contents)    Sets the contents of the form using data read from the specified    \a contents string.    \sa contents()*//*!    \fn virtual void QDesignerFormWindowInterface::editWidgets()    Switches the form window into editing mode.    \sa \l {Qt Designer's Form Editing Mode}    \internal*/// Signals/*!    \fn void QDesignerFormWindowInterface::mainContainerChanged(QWidget *mainContainer)    This signal is emitted whenever the main container changes.    The new container is specified by \a mainContainer.    \sa setMainContainer()*//*!    \fn void QDesignerFormWindowInterface::toolChanged(int toolIndex)    This signal is emitted whenever the current tool changes.    The specified \a toolIndex is the index of the new tool in the list of    tools in the widget box.    \internal*//*!    \fn void QDesignerFormWindowInterface::fileNameChanged(const QString &fileName)    This signal is emitted whenever the file name of the form changes.    The new file name is specified by \a fileName.    \sa setFileName()*//*!    \fn void QDesignerFormWindowInterface::featureChanged(Feature feature)    This signal is emitted whenever a feature changes in the form.    The new feature is specified by \a feature.    \sa setFeatures()*//*!    \fn void QDesignerFormWindowInterface::selectionChanged()    This signal is emitted whenever the selection in the form changes.    \sa selectWidget(), clearSelection()*//*!    \fn void QDesignerFormWindowInterface::geometryChanged()    This signal is emitted whenever the form's geometry changes.*//*!    \fn void QDesignerFormWindowInterface::resourceFilesChanged()    This signal is emitted whenever the list of resource files used by the    form changes.    \sa resourceFiles()*//*!    \fn void QDesignerFormWindowInterface::widgetManaged(QWidget *widget)    This signal is emitted whenever a widget on the form becomes managed.    The newly managed widget is specified by \a widget.    \sa manageWidget()*//*!    \fn void QDesignerFormWindowInterface::widgetUnmanaged(QWidget *widget)    This signal is emitted whenever a widget on the form becomes unmanaged.    The newly released widget is specified by \a widget.    \sa unmanageWidget(), aboutToUnmanageWidget()*//*!    \fn void QDesignerFormWindowInterface::aboutToUnmanageWidget(QWidget *widget)    This signal is emitted whenever a widget on the form is about to    become unmanaged.  When this signal is emitted, the specified \a    widget is still managed, and a widgetUnmanaged() signal will    follow, indicating when it is no longer managed.    \sa unmanageWidget(), isManaged()*//*!    \fn void QDesignerFormWindowInterface::activated(QWidget *widget)    This signal is emitted whenever a widget is activated on the form.    The activated widget is specified by \a widget.*//*!    \fn void QDesignerFormWindowInterface::changed()    This signal is emitted whenever a form is changed.*//*!    \fn void QDesignerFormWindowInterface::widgetRemoved(QWidget *widget)    This signal is emitted whenever a widget is removed from the form.    The widget that was removed is specified by \a widget.*/

⌨️ 快捷键说明

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