QGraphicsAnchor Class ReferenceThe QGraphicsAnchor class represents an anchor between two items in a QGraphicsAnchorLayout. Далее... #include <QGraphicsAnchor> Унаследован от: QObject. Этот класс был введён в Qt 4.6. Свойства
Открытые функции
Дополнительные унаследованные члены
Подробное описаниеThe QGraphicsAnchor class represents an anchor between two items in a QGraphicsAnchorLayout. The graphics anchor provides an API that enables you to query and manipulate the properties an anchor has. When an anchor is added to the layout with QGraphicsAnchorLayout::addAnchor(), a QGraphicsAnchor instance is returned where the properties are initialized to their default values. The properties can then be further changed, and they will be picked up the next time the layout is activated. See also QGraphicsAnchorLayout::anchor(). Описание свойствsizePolicy : QSizePolicy::PolicyThis property holds the size policy for the QGraphicsAnchor. By setting the size policy on an anchor you can configure how the anchor can resize itself from its preferred spacing. For instance, if the anchor has the size policy QSizePolicy::Minimum, the spacing is the minimum size of the anchor. However, its size can grow up to the anchors maximum size. If the default size policy is QSizePolicy::Fixed, the anchor can neither grow or shrink, which means that the only size the anchor can have is the spacing. QSizePolicy::Fixed is the default size policy. QGraphicsAnchor always has a minimum spacing of 0 and a very large maximum spacing. Функции доступа:
See also QGraphicsAnchor::spacing. spacing : qrealThis property holds the preferred space between items in the QGraphicsAnchorLayout. Depending on the anchor type, the default spacing is either 0 or a value returned from the style. Функции доступа:
See also QGraphicsAnchorLayout::addAnchor(). Описание функций-членовQGraphicsAnchor::~QGraphicsAnchor ()Removes the QGraphicsAnchor object from the layout and destroys it. |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |