Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QDesignerActionEditorInterface Class

The QDesignerActionEditorInterface class allows you to change the focus of Qt Designer's action editor. More...

 #include <QDesignerActionEditorInterface>

Inherits: QWidget.

Inherited by:

Public Types

enum PaintDeviceMetric { PdmWidth, PdmHeight, PdmWidthMM, PdmHeightMM, ..., PdmPhysicalDpiY }

Public Functions

QDesignerActionEditorInterface(QWidget * parent, Qt::WindowFlags flags = 0)
virtual ~QDesignerActionEditorInterface()
virtual ~QPaintDevice()
int colorCount() const
virtual QDesignerFormEditorInterface * core() const
int depth() const
int height() const
int heightMM() const
int logicalDpiX() const
int logicalDpiY() const
virtual void manageAction(QAction * action) = 0
virtual QPaintEngine * paintEngine() const = 0
bool paintingActive() const
int physicalDpiX() const
int physicalDpiY() const
virtual void unmanageAction(QAction * action) = 0
int width() const
int widthMM() const
  • 215 public functions inherited from QWidget
  • 31 public functions inherited from QObject

Public Slots

virtual void setFormWindow(QDesignerFormWindowInterface * formWindow) = 0
  • 19 public slots inherited from QWidget
  • 1 public slot inherited from QObject

Protected Functions

QPaintDevice()
virtual void init(QPainter * painter) const
virtual int metric(PaintDeviceMetric metric) const
virtual QPaintDevice * redirected(QPoint * offset) const
virtual QPainter * sharedPainter() const
  • 37 protected functions inherited from QWidget
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 58 properties inherited from QWidget
  • 1 property inherited from QObject
  • 1 signal inherited from QWidget
  • 2 signal inherited from QObject
  • 4 static public members inherited from QWidget
  • 11 static public members inherited from QObject
  • 1 protected slot inherited from QWidget

Detailed Description

The QDesignerActionEditorInterface class allows you to change the focus of Qt Designer's action editor.

The QDesignerActionEditorInterface class is not intended to be instantiated directly. You can retrieve an interface to Qt Designer's action editor using the QDesignerFormEditorInterface::actionEditor() function.

You can control which actions that are available in the action editor's window using the manageAction() and unmanageAction() functions. An action that is managed by Qt Designer is available in the action editor while an unmanaged action is ignored.

QDesignerActionEditorInterface also provides the core() function that you can use to retrieve a pointer to Qt Designer's current QDesignerFormEditorInterface object, and the setFormWindow() function that enables you to change the currently selected form window.

See also QDesignerFormEditorInterface and QDesignerFormWindowInterface.

Member Function Documentation

QDesignerActionEditorInterface::QDesignerActionEditorInterface(QWidget * parent, Qt::WindowFlags flags = 0)

Constructs an action editor interface with the given parent and the specified window flags.

QDesignerActionEditorInterface::~QDesignerActionEditorInterface() [virtual]

Destroys the action editor interface.

QDesignerFormEditorInterface * QDesignerActionEditorInterface::core() const [virtual]

Returns a pointer to Qt Designer's current QDesignerFormEditorInterface object.

void QDesignerActionEditorInterface::manageAction(QAction * action) [pure virtual]

Instructs Qt Designer to manage the specified action. An action that is managed by Qt Designer is available in the action editor.

See also unmanageAction().

void QDesignerActionEditorInterface::setFormWindow(QDesignerFormWindowInterface * formWindow) [pure virtual slot]

Sets the currently selected form window to formWindow.

void QDesignerActionEditorInterface::unmanageAction(QAction * action) [pure virtual]

Instructs Qt Designer to ignore the specified action. An unmanaged action is not available in the action editor.

See also manageAction().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web