crossplatform.ru

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

> Описание класса QAbstractButton, Адаптация перевода
Admin
  опции профиля:
сообщение 16.1.2008, 16:23
Сообщение #1


Администратор
****

Группа: Администратор
Сообщений: 646
Регистрация: 9.10.2007
Из: crossplatform.ru
Пользователь №: 1

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




Репутация:   2  


Описание класса QAbstractButton
http://crossplatform.ru/documentation/qtdo...tractbutton.php

Сделано

Не переведено только:
Цитата
autoRepeatDelay : int

This property holds the initial delay of auto-repetition.

If autoRepeat is enabled, then autoRepeatDelay defines the initial delay in milliseconds before auto-repetition kicks in.

This property was introduced in Qt 4.2.

Функции доступа:
Цитата
autoRepeatInterval : int

This property holds the interval of auto-repetition.

If autoRepeat is enabled, then autoRepeatInterval defines the length of the auto-repetition interval in millisecons.

This property was introduced in Qt 4.2.
Цитата
Calling this function again before the button was released will reset the release timer.

Цитата
he states of buttons in exclusive button groups are updated before this signal is emitted. This means that slots can act on either the "off" signal or the "on" signal emitted by the buttons in the group whose states have changed.

For example, a slot that reacts to signals emitted by newly checked buttons but which ignores signals from buttons that have been unchecked can be implemented using the following pattern:
 void MyWidget::reactToToggle(bool checked)
{
    if (checked) {
       // Examine the new button states.
       ...
    }
}
Button groups can be created using the QButtonGroup class, and updates to the button states monitored with the QButtonGroup::buttonClicked() signal.
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение

Сообщений в этой теме


Быстрый ответОтветить в данную темуНачать новую тему
Теги
Нет тегов для показа


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




RSS Текстовая версия Сейчас: 24.4.2024, 5:02