Редактирование: Mapping Data to Widgets

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
Внимание: Вы не представились системе. Ваш IP-адрес будет записан в историю изменений этой страницы.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
Текущая версия Ваш текст
Строка 1: Строка 1:
-
{{Панель навигации по Qt Quarterly|Выпуск 21}}
+
 
 +
__NOTOC__
 +
 
by David Boddie
by David Boddie
<div class="introduction">
<div class="introduction">
The QDataWidgetMapper class, introduced in Qt 4.2, provides an interface thatallows data from a model to be mapped to widgets on a form. This widget-centricapproach to displaying data makes it easier to create record-basedapplications, and allows the user interface to be customized with familiartools such as Qt Designer.
The QDataWidgetMapper class, introduced in Qt 4.2, provides an interface thatallows data from a model to be mapped to widgets on a form. This widget-centricapproach to displaying data makes it easier to create record-basedapplications, and allows the user interface to be customized with familiartools such as Qt Designer.
-
__TOC__
+
*[[#asimplewidgetmapper | A Simple Widget Mapper]]
 +
*[[#usingdelegatestoofferchoices | Using Delegates to Offer Choices]]
 +
*[[#mappinginformationfromadatabase | Mapping Information from a Database]]
 +
*[[#summary | Summary]]
</div>
</div>
Although Qt's item view widgets are capable of displaying large quantities ofdata, many applications tend to use record or form-based user interfaces inorder to present simplified views onto data. Sometimes this is becauseusers are familiar with a record-based interface, or it can be a consequence ofthe way the information is stored.  
Although Qt's item view widgets are capable of displaying large quantities ofdata, many applications tend to use record or form-based user interfaces inorder to present simplified views onto data. Sometimes this is becauseusers are familiar with a record-based interface, or it can be a consequence ofthe way the information is stored.  

Пожалуйста, обратите внимание, что все ваши добавления могут быть отредактированы или удалены другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Wiki.crossplatform.ru:Авторское право). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!


Шаблоны, использованные на текущей версии страницы: