crossplatform.ru

Здравствуйте, гость ( Вход | Регистрация )

8 страниц V  « < 5 6 7 8 >  
Ответить в данную темуНачать новую тему
> Ошибки в исходной документации
Анна
  опции профиля:
сообщение 25.8.2009, 15:02
Сообщение #61


Активный участник
***

Группа: Участник
Сообщений: 276
Регистрация: 22.5.2008
Из: Зеленоград
Пользователь №: 181

Спасибо сказали: 30 раз(а)




Репутация:   4  


Статья QWidget:
Цитата
windowFlags : Qt::WindowFlags

Window flags are a combination of a type (e.g. Qt::Dialog) and zero or more hints to the window system (e.g. Qt::FramelessWindowHint).

If the widget had type Qt::Widget or Qt::SubWindow and becomes a window (Qt::Window, Qt::Dialog, etc.), it is put at position (0, 0) on the desktop. If the widget is a window and becomes a Qt::Widget or Qt::SubWindow, it is put at position (0, 0) relative to its parent widget.

Note: This function calls setParent() when changing the flags for a window, causing the widget to be hidden. You must call show() to make the widget visible again..

Access functions:
Qt::WindowFlags windowFlags () const
void setWindowFlags ( Qt::WindowFlags type )

See also windowType() and Window Flags Example.


Не понятно, к чему относитмся фраза из замечания "Эта функция...." Там речи нет ни о какой функции. Возможно, они имели ввиду функцию setWindowFlags(), тогда абзац с замечанием нужно поместить ниже "См. также..."
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Анна
  опции профиля:
сообщение 28.8.2009, 9:59
Сообщение #62


Активный участник
***

Группа: Участник
Сообщений: 276
Регистрация: 22.5.2008
Из: Зеленоград
Пользователь №: 181

Спасибо сказали: 30 раз(а)




Репутация:   4  


Цитата
Uses sizeHint() if valid (i.e if the size hint's width and height are >= 0); otherwise sets the size to the children rectangle that covers all child widgets (the union of all child widget rectangles).


Сдается мне тут должно стоять parent. Вообще, складывается впечатление, что эту статью писали все, кому не лень, и автор этого кусочка очень вольно обращается с английским. :)
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
alex977
  опции профиля:
сообщение 28.8.2009, 11:40
Сообщение #63


Активный участник
***

Группа: Участник
Сообщений: 310
Регистрация: 19.6.2008
Из: Россия, МО, г.Мытищи
Пользователь №: 206

Спасибо сказали: 77 раз(а)




Репутация:   8  


Файл dbus-complexpingpong.html

Цитата
The Complex Ping Pong example demonstrates


Обрыв предложения - что демонстрирует пример, не ясно.

Также в примерах dbus-complexpingpong.html и dbus-dbus-chat.html пропущены картинки.
Так и написано:
Цитата
Missing image complexpingpong-example.png

и
Цитата
Missing image dbus-chat-example.png

соответственно

Сообщение отредактировал alex977 - 28.8.2009, 11:43
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Анна
  опции профиля:
сообщение 4.9.2009, 15:47
Сообщение #64


Активный участник
***

Группа: Участник
Сообщений: 276
Регистрация: 22.5.2008
Из: Зеленоград
Пользователь №: 181

Спасибо сказали: 30 раз(а)




Репутация:   4  


QWidget
Трудно назвать это ошибкой, трудно, но явно присутствует некоторая путаница в терминах

Цитата
bool QWidget::focusNextPrevChild ( bool next ) [virtual protected]

Finds a new widget to give the keyboard focus to, as appropriate for Tab and Shift+Tab, and returns true if it can find a new widget, or false if it can't.

If next is true, this function searches forward, if next is false, it searches backward.

Sometimes, you will want to reimplement this function. For example, a web browser might reimplement it to move its "current active link" forward or backward, and call focusNextPrevChild() only when it reaches the last or first link on the "page".

Child widgets call focusNextPrevChild() on their parent widgets, but only the window that contains the child widgets decides where to redirect focus. By reimplementing this function for an object, you thus gain control of focus traversal for all child widgets.


Наверное, все же под объектом имелось в виду окно. Как вы думаете?
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Litkevich Yuriy
  опции профиля:
сообщение 4.9.2009, 16:37
Сообщение #65


разработчик РЭА
*******

Группа: Сомодератор
Сообщений: 9669
Регистрация: 9.1.2008
Из: Тюмень
Пользователь №: 64

Спасибо сказали: 807 раз(а)




Репутация:   94  


Цитата(Анна @ 4.9.2009, 19:47) *
Как вы думаете?
Я думаю слово "объект" достаточно общее, посему к тролям не прикопаешся. Ведь QWidget - объект.
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
igor_bogomolov
  опции профиля:
сообщение 15.11.2009, 15:50
Сообщение #66


Профессионал
*****

Группа: Сомодератор
Сообщений: 1215
Регистрация: 22.3.2009
Из: Саратов
Пользователь №: 630

Спасибо сказали: 235 раз(а)




Репутация:   29  


:blush2: Звиняюсь,был не внимателен.
Интерес возник в связи с этой темой. К сожалению ничего кроме xterm, у которого есть флаг -into, пока встроить не удалось :(
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Litkevich Yuriy
  опции профиля:
сообщение 15.11.2009, 16:22
Сообщение #67


разработчик РЭА
*******

Группа: Сомодератор
Сообщений: 9669
Регистрация: 9.1.2008
Из: Тюмень
Пользователь №: 64

Спасибо сказали: 807 раз(а)




Репутация:   94  


Сообщения удалил, чтобы столку не сбивали
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Kagami
  опции профиля:
сообщение 7.12.2009, 17:10
Сообщение #68


Старейший участник
****

Группа: Участник
Сообщений: 601
Регистрация: 2.2.2009
Пользователь №: 523

Спасибо сказали: 101 раз(а)




Репутация:   9  


Вот тут
Цитата
bool QNetworkRequest::operator!= ( const QNetworkRequest & other ) const

Returns false if this object is not the same as other.

Если я ничего не путаю, то должно быть все наоборот
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Litkevich Yuriy
  опции профиля:
сообщение 7.12.2009, 17:24
Сообщение #69


разработчик РЭА
*******

Группа: Сомодератор
Сообщений: 9669
Регистрация: 9.1.2008
Из: Тюмень
Пользователь №: 64

Спасибо сказали: 807 раз(а)




Репутация:   94  


Цитата(Kagami @ 7.12.2009, 20:10) *
Если я ничего не путаю, то должно быть все наоборот
по идее да, т.е. должен вернуть ИСТИНУ, если не равны. Надо бы исходник глянуть
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
alex977
  опции профиля:
сообщение 8.2.2010, 0:20
Сообщение #70


Активный участник
***

Группа: Участник
Сообщений: 310
Регистрация: 19.6.2008
Из: Россия, МО, г.Мытищи
Пользователь №: 206

Спасибо сказали: 77 раз(а)




Репутация:   8  


http://doc.crossplatform.ru/qt/4.6.0/
http://doc.crossplatform.ru/qt/4.6.0/style...t-examples.html

Sine Qt 4.6 the close button can be customized as follow:
Since Qt 4.6 the close button can be customized as follow:

пропущена буква

===========

http://doc.crossplatform.ru/qt/4.6.0/style...-reference.html

Close buttons using the ::close-button The tabs support the :only-one, :first, :last, :middle, :previous--selected, :next-selected, :selected pseudo states.
Close buttons using the ::close-button. The tabs support the :only-one, :first, :last, :middle, :previous--selected, :next-selected, :selected pseudo states.

Ie you can draw a combobox on any widget, not just on a QComboBox
If you can draw a combobox on any widget, not just on a QComboBox.

опечатка и точка в конце предложения.

===========
http://doc.crossplatform.ru/qt/4.6.0/porting4.html

It has bene renamed Q3SimpleRichText and moved to the Qt3Support library.
It has been renamed Q3SimpleRichText and moved to the Qt3Support library.

It has been renamed Q3Shared moved to the Qt3Support library.
It has been renamed Q3Shared and moved to the Qt3Support library.

пропущено "and"

// Or set a resonable default size
// Or set a reasonable default size

пропущена буква "a"

===========

http://doc.crossplatform.ru/qt/4.6.0/qt4-network.html

Qt 4 still provides QFtp, and it also proveds the QNetworkAccessManager.
Qt 4 still provides QFtp, and it also provides the QNetworkAccessManager.

===========

http://doc.crossplatform.ru/qt/4.6.0/qmake...form-notes.html

Furthermore, The selected "Active Build Configuration" is stored in a .pbxuser file, which is generated by xcode on first load, not created by qmake.
Furthermore, the selected "Active Build Configuration" is stored in a .pbxuser file, which is generated by xcode on first load, not created by qmake.

In order to optain an official UID, please contact Nokia.
In order to obtain an official UID, please contact Nokia.

===========

http://doc.crossplatform.ru/qt/4.6.0/qmake...-reference.html

qmake has a system of persistant information, this allows you to set a variable in qmake once, and each time qmake is invoked this value can be queried.
qmake has a system of persistent information, this allows you to set a variable in qmake once, and each time qmake is invoked this value can be queried.

At this point, the Makefile is created as usual, and the libraries are linked explicitlyy against the application.
At this point, the Makefile is created as usual, and the libraries are linked explicitly against the application.

===========

http://doc.crossplatform.ru/qt/4.6.0/qtestlib-manual.html

Commmand-line Arguemnt
Commmand-line Argument

===========

http://doc.crossplatform.ru/qt/4.6.0/graph...icslayouts.html

The preferred size is the same as the minimum size hint, while we set maximum to be a large value
The preferred size is the same as the minimum size hint, while we set maximum to be a large value.

===========

http://doc.crossplatform.ru/qt/4.6.0/qnetw...essmanager.html

Posts a request to obtain the network headers for request and returns a new QNetworkReply object which will contain such headers
Posts a request to obtain the network headers for request and returns a new QNetworkReply object which will contain such headers.

===========

http://doc.crossplatform.ru/qt/4.6.0/qtestlib-manual.html

Several back-ends are available an can be selected on the command line:
Several back-ends are available and can be selected on the command line:

===========

http://doc.crossplatform.ru/qt/4.6.0/qt.html

On Mac OS X by default, Qt swaps the Control and Meta (Command) keys (i.e., whenever Control is pressed, Qt sends Meta and whenever Meta is pressed Control is sent.
On Mac OS X by default, Qt swaps the Control and Meta (Command) keys (i.e., whenever Control is pressed, Qt sends Meta and whenever Meta is pressed Control is sent).

Always use the longest variant when computing the size of a multi-variant string
Always use the longest variant when computing the size of a multi-variant string.

On Mac OS X adds a tool bar button (i.e., the oblong button that is on the top right of windows that have toolbars.
On Mac OS X adds a tool bar button (i.e., the oblong button that is on the top right of windows that have toolbars).

The item cannot draw or receive mouse, tablet, drag and drop or hover events outside ts shape.
The item cannot draw or receive mouse, tablet, drag and drop or hover events outside its shape.

===========

http://doc.crossplatform.ru/qt/4.6.0/scripting.html

In fact, as we have seen, in the technical sense all Qt Script functions can be seen as variable-argument functions).
In fact, as we have seen, in the technical sense all Qt Script functions can be seen as variable-argument functions.

Сообщение отредактировал Admin - 13.2.2010, 21:53
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение

8 страниц V  « < 5 6 7 8 >
Быстрый ответОтветить в данную темуНачать новую тему
Теги
Нет тегов для показа


1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0




RSS Текстовая версия Сейчас: 26.4.2024, 19:39