當前位置: 首頁>>代碼示例>>PHP>>正文


PHP QControl::GetModelConnectorParams方法代碼示例

本文整理匯總了PHP中QControl::GetModelConnectorParams方法的典型用法代碼示例。如果您正苦於以下問題:PHP QControl::GetModelConnectorParams方法的具體用法?PHP QControl::GetModelConnectorParams怎麽用?PHP QControl::GetModelConnectorParams使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在QControl的用法示例。


在下文中一共展示了QControl::GetModelConnectorParams方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: GetModelConnectorParams

 /**
  * If this control is attachable to a codegenerated control in a ModelConnector, this function will be
  * used by the ModelConnector designer dialog to display a list of options for the control.
  * @return QModelConnectorParam[]
  **/
 public static function GetModelConnectorParams()
 {
     return array_merge(parent::GetModelConnectorParams(), array(new QModelConnectorParam(get_called_class(), 'Animate', 'Animates to the final size after resizing.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'AnimateEasing', 'Which easing to apply when using the animate option.', QType::String), new QModelConnectorParam(get_called_class(), 'AutoHide', 'Whether the handles should hide when the user is not hovering over theelement.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Delay', 'Tolerance, in milliseconds, for when resizing should start. Ifspecified, resizing will not start until after mouse is moved beyondduration. This can help prevent unintended resizing when clicking onan element.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Disabled', 'Disables the resizable if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Distance', 'Tolerance, in pixels, for when resizing should start. If specified,resizing will not start until after mouse is moved beyond distance.This can help prevent unintended resizing when clicking on an element.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Ghost', 'If set to true, a semi-transparent helper element is shown forresizing.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Grid', 'Snaps the resizing element to a grid, every x and y pixels. Arrayvalues: [ x, y ].', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'Helper', 'A class name that will be added to a proxy element to outline theresize during the drag of the resize handle. Once the resize iscomplete, the original element is sized.', QType::String), new QModelConnectorParam(get_called_class(), 'MaxHeight', 'The maximum height the resizable should be allowed to resize to.', QType::Integer), new QModelConnectorParam(get_called_class(), 'MaxWidth', 'The maximum width the resizable should be allowed to resize to.', QType::Integer), new QModelConnectorParam(get_called_class(), 'MinHeight', 'The minimum height the resizable should be allowed to resize to.', QType::Integer), new QModelConnectorParam(get_called_class(), 'MinWidth', 'The minimum width the resizable should be allowed to resize to.', QType::Integer)));
 }
開發者ID:vaibhav-kaushal,項目名稱:qc-framework,代碼行數:9,代碼來源:QResizableGen.class.php

示例2: GetModelConnectorParams

 /**
  * Returns an description of the options available to modify by the designer for the code generator.
  *
  * @return QModelConnectorParam[]
  */
 public static function GetModelConnectorParams()
 {
     return array_merge(parent::GetModelConnectorParams(), array(new QModelConnectorParam(get_called_class(), 'Text', 'Label on checkbox', QType::String), new QModelConnectorParam(get_called_class(), 'TextAlign', 'Left or right alignment of label', QModelConnectorParam::SelectionList, array('QTextAlign::Right' => 'QTextAlign::Right', 'QTextAlign::Left' => 'QTextAlign::Left')), new QModelConnectorParam(get_called_class(), 'HtmlEntities', 'Whether to apply HTML entities on the label', QType::Boolean), new QModelConnectorParam(get_called_class(), 'CssClass', 'The css class(es) to apply to the checkbox and label together', QType::String)));
 }
開發者ID:vaibhav-kaushal,項目名稱:qc-framework,代碼行數:9,代碼來源:QCheckBox.class.php

示例3: GetModelConnectorParams

 /**
  * Returns a description of the options available to modify by the designer for the code generator.
  *
  * @return QModelConnectorParam[]
  */
 public static function GetModelConnectorParams()
 {
     return array_merge(parent::GetModelConnectorParams(), array(new QModelConnectorParam(QModelConnectorParam::GeneralCategory, 'NoAutoLoad', 'Prevent automatically populating a list type control. Set this if you are doing more complex list loading.', QType::Boolean)));
 }
開發者ID:vaibhav-kaushal,項目名稱:qc-framework,代碼行數:9,代碼來源:QListControl.class.php

示例4: GetModelConnectorParams

 /**
  * If this control is attachable to a codegenerated control in a ModelConnector, this function will be
  * used by the ModelConnector designer dialog to display a list of options for the control.
  * @return QModelConnectorParam[]
  **/
 public static function GetModelConnectorParams()
 {
     return array_merge(parent::GetModelConnectorParams(), array(new QModelConnectorParam(get_called_class(), 'ActiveClass', 'If specified, the class will be added to the droppable while anacceptable draggable is being dragged.', QType::String), new QModelConnectorParam(get_called_class(), 'AddClasses', 'If set to false, will prevent the ui-droppable class from being added.This may be desired as a performance optimization when calling.droppable() init on hundreds of elements.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Disabled', 'Disables the droppable if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Greedy', 'By default, when an element is dropped on nested droppables, eachdroppable will receive the element. However, by setting this option totrue, any parent droppables will not receive the element. The dropevent will still bubble normally, but the event.target can be checkedto see which droppable received the draggable element.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'HoverClass', 'If specified, the class will be added to the droppable while anacceptable draggable is being hovered over the droppable.', QType::String), new QModelConnectorParam(get_called_class(), 'Scope', 'Used to group sets of draggable and droppable items, in addition tothe accept option. A draggable with the same scope value as adroppable will be accepted.', QType::String), new QModelConnectorParam(get_called_class(), 'Tolerance', 'Specifies which mode to use for testing whether a draggable ishovering over a droppable. Possible values: 	* \\"fit\\": Draggable overlaps the droppable entirely.	* \\"intersect\\": Draggable overlaps the droppable at least 50% in bothdirections.	* \\"pointer\\": Mouse pointer overlaps the droppable.	* \\"touch\\": Draggable overlaps the droppable any amount.', QType::String)));
 }
開發者ID:vaibhav-kaushal,項目名稱:qc-framework,代碼行數:9,代碼來源:QDroppableGen.class.php

示例5: GetModelConnectorParams

 /**
  * Returns an description of the options available to modify by the designer for the code generator.
  *
  * @return QModelConnectorParam[]
  */
 public static function GetModelConnectorParams()
 {
     return array_merge(parent::GetModelConnectorParams(), array(new QModelConnectorParam(get_called_class(), 'Columns', 'Width of field', QType::Integer), new QModelConnectorParam(get_called_class(), 'Rows', 'Height of field for multirow field', QType::Integer), new QModelConnectorParam(get_called_class(), 'Format', 'printf format string to use', QType::String), new QModelConnectorParam(get_called_class(), 'Placeholder', 'HTML5 Placeholder attribute', QType::String), new QModelConnectorParam(get_called_class(), 'ReadOnly', 'Editable or not', QType::Boolean), new QModelConnectorParam(get_called_class(), 'TextMode', 'Field type', QModelConnectorParam::SelectionList, array(null => '-', 'QTextMode::Search' => 'Search', 'QTextMode::MultiLine' => 'MultiLine', 'QTextMode::Password' => 'Password', 'QTextMode::SingleLine' => 'SingleLine'))));
 }
開發者ID:vaibhav-kaushal,項目名稱:qc-framework,代碼行數:9,代碼來源:QTextBoxBase.class.php

示例6: GetModelConnectorParams

 /**
  * If this control is attachable to a codegenerated control in a ModelConnector, this function will be
  * used by the ModelConnector designer dialog to display a list of options for the control.
  * @return QModelConnectorParam[]
  **/
 public static function GetModelConnectorParams()
 {
     return array_merge(parent::GetModelConnectorParams(), array(new QModelConnectorParam(get_called_class(), 'AddClasses', 'If set to false, will prevent the ui-draggable class from being added.This may be desired as a performance optimization when calling.draggable() on hundreds of elements.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Axis', 'Constrains dragging to either the horizontal (x) or vertical (y) axis.Possible values: \\"x\\", \\"y\\".', QType::String), new QModelConnectorParam(get_called_class(), 'Cursor', 'The CSS cursor during the drag operation.', QType::String), new QModelConnectorParam(get_called_class(), 'Delay', 'Time in milliseconds after mousedown until dragging should start. Thisoption can be used to prevent unwanted drags when clicking on anelement.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Disabled', 'Disables the draggable if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Distance', 'Distance in pixels after mousedown the mouse must move before draggingshould start. This option can be used to prevent unwanted drags whenclicking on an element.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Grid', 'Snaps the dragging helper to a grid, every x and y pixels. The arraymust be of the form [ x, y ].', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'Opacity', 'Opacity for the helper while being dragged.', QType::Integer), new QModelConnectorParam(get_called_class(), 'RefreshPositions', 'If set to true, all droppable positions are calculated on everymousemove. _Caution: This solves issues on highly dynamic pages, butdramatically decreases performance._', QType::Boolean), new QModelConnectorParam(get_called_class(), 'RevertDuration', 'The duration of the revert animation, in milliseconds. Ignored if therevert option is false.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Scope', 'Used to group sets of draggable and droppable items, in addition todroppables accept option. A draggable with the same scope value as adroppable will be accepted by the droppable.', QType::String), new QModelConnectorParam(get_called_class(), 'Scroll', 'If set to true, container auto-scrolls while dragging.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ScrollSensitivity', 'Distance in pixels from the edge of the viewport after which theviewport should scroll. Distance is relative to pointer, not thedraggable. Ignored if the scroll option is false.', QType::Integer), new QModelConnectorParam(get_called_class(), 'ScrollSpeed', 'The speed at which the window should scroll once the mouse pointergets within the scrollSensitivity distance. Ignored if the scrolloption is false.', QType::Integer), new QModelConnectorParam(get_called_class(), 'SnapMode', 'Determines which edges of snap elements the draggable will snap to.Ignored if the snap option is false. Possible values: \\"inner\\",\\"outer\\", \\"both\\".', QType::String), new QModelConnectorParam(get_called_class(), 'SnapTolerance', 'The distance in pixels from the snap element edges at which snappingshould occur. Ignored if the snap option is false.', QType::Integer), new QModelConnectorParam(get_called_class(), 'ZIndex', 'Z-index for the helper while being dragged.', QType::Integer)));
 }
開發者ID:vaibhav-kaushal,項目名稱:qc-framework,代碼行數:9,代碼來源:QDraggableGen.class.php


注:本文中的QControl::GetModelConnectorParams方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。