QMargins Class ReferenceThe QMargins class defines the four margins of a rectangle. Далее... #include <QMargins> Этот класс был введён в Qt 4.6. Открытые функции
Связанные нечлены класса
Подробное описаниеThe QMargins class defines the four margins of a rectangle. QMargin defines a set of four margins; left, top, right and bottom, that describe the size of the borders surrounding a rectangle. The isNull() function returns true only if all margins are set to zero. QMargin objects can be streamed as well as compared. Описание функций-членовQMargins::QMargins ()Constructs a margins object with all margins set to 0. Смотрите также isNull(). QMargins::QMargins ( int left, int top, int right, int bottom )Constructs margins with the given left, top, right, bottom See also setLeft(), setRight(), setTop(), and setBottom(). int QMargins::bottom () constReturns the bottom margin. See also setBottom(). bool QMargins::isNull () constReturns true if all margins are is 0; otherwise returns false. int QMargins::left () constReturns the left margin. See also setLeft(). int QMargins::right () constReturns the right margin. See also setRight(). void QMargins::setBottom ( int bottom )Sets the bottom margin to bottom. See also bottom(). void QMargins::setLeft ( int left )Sets the left margin to left. See also left(). void QMargins::setRight ( int right )Sets the right margin to right. See also right(). void QMargins::setTop ( int Top )Sets the Top margin to Top. See also top(). int QMargins::top () constReturns the top margin. See also setTop(). Связанные нечлены классаbool operator!= ( const QMargins & m1, const QMargins & m2 )Returns true if m1 and m2 are different; otherwise returns false. bool operator== ( const QMargins & m1, const QMargins & m2 )Returns true if m1 and m2 are equal; otherwise returns false. |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |