本文整理汇总了PHP中QPanel::GetModelConnectorParams方法的典型用法代码示例。如果您正苦于以下问题:PHP QPanel::GetModelConnectorParams方法的具体用法?PHP QPanel::GetModelConnectorParams怎么用?PHP QPanel::GetModelConnectorParams使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QPanel
的用法示例。
在下文中一共展示了QPanel::GetModelConnectorParams方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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(), 'Axis', 'If defined, the items can be dragged only horizontally or vertically.Possible values: \\"x\\", \\"y\\".', QType::String), new QModelConnectorParam(get_called_class(), 'Cursor', 'Defines the cursor that is being shown while sorting.', QType::String), new QModelConnectorParam(get_called_class(), 'Delay', 'Time in milliseconds to define when the sorting should start. Adding adelay helps preventing unwanted drags when clicking on an element.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Disabled', 'Disables the sortable if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Distance', 'Tolerance, in pixels, for when sorting should start. If specified,sorting will not start until after mouse is dragged beyond distance.Can be used to allow for clicks on elements within a handle.', QType::Integer), new QModelConnectorParam(get_called_class(), 'DropOnEmpty', 'If false, items from this sortable cant be dropped on an empty connectsortable (see the connectWith option.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ForceHelperSize', 'If true, forces the helper to have a size.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ForcePlaceholderSize', 'If true, forces the placeholder to have a size.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Grid', 'Snaps the sorting element or helper to a grid, every x and y pixels.Array values: [ x, y ].', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'Opacity', 'Defines the opacity of the helper while sorting. From 0.01 to 1.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Placeholder', 'A class name that gets applied to the otherwise white space.', QType::String), new QModelConnectorParam(get_called_class(), 'Scroll', 'If set to true, the page scrolls when coming to an edge.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ScrollSensitivity', 'Defines how near the mouse must be to an edge to start scrolling.', QType::Integer), new QModelConnectorParam(get_called_class(), 'ScrollSpeed', 'The speed at which the window should scroll once the mouse pointergets within the scrollSensitivity distance.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Tolerance', 'Specifies which mode to use for testing whether the item being movedis hovering over another item. Possible values: * \\"intersect\\": The item overlaps the other item by at least 50%. * \\"pointer\\": The mouse pointer overlaps the other item.', QType::String), new QModelConnectorParam(get_called_class(), 'ZIndex', 'Z-index for element/helper while being sorted.', QType::Integer)));
}
示例2: 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(), 'AutoRefresh', 'This determines whether to refresh (recalculate) the position and sizeof each selectee at the beginning of each select operation. If youhave many items, you may want to set this to false and call therefresh() method manually.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Delay', 'Time in milliseconds to define when the selecting should start. Thishelps prevent unwanted selections when clicking on an element.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Disabled', 'Disables the selectable if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Distance', 'Tolerance, in pixels, for when selecting should start. If specified,selecting will not start until the mouse has been dragged beyond thespecified distance.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Tolerance', 'Specifies which mode to use for testing whether the lasso shouldselect an item. Possible values: * \\"fit\\": Lasso overlaps the item entirely. * \\"touch\\": Lasso overlaps the item by any amount.', QType::String)));
}
示例3: 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(), 'AutoOpen', 'If set to true, the dialog will automatically open uponinitialization. If false, the dialog will stay hidden until the open()method is called.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'CloseOnEscape', 'Specifies whether the dialog should close when it has focus and theuser presses the escape (ESC) key.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'CloseText', 'Specifies the text for the close button. Note that the close text isvisibly hidden when using a standard theme.', QType::String), new QModelConnectorParam(get_called_class(), 'DialogClass', 'The specified class name(s) will be added to the dialog, foradditional theming.', QType::String), new QModelConnectorParam(get_called_class(), 'Draggable', 'If set to true, the dialog will be draggable by the title bar.Requires the jQuery UI Draggable widget to be included.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'MaxHeight', 'The maximum height to which the dialog can be resized, in pixels.', QType::Integer), new QModelConnectorParam(get_called_class(), 'MaxWidth', 'The maximum width to which the dialog can be resized, in pixels.', QType::Integer), new QModelConnectorParam(get_called_class(), 'MinHeight', 'The minimum height to which the dialog can be resized, in pixels.', QType::Integer), new QModelConnectorParam(get_called_class(), 'MinWidth', 'The minimum width to which the dialog can be resized, in pixels.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Modal', 'If set to true, the dialog will have modal behavior; other items onthe page will be disabled, i.e., cannot be interacted with. Modaldialogs create an overlay below the dialog but above other pageelements.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Resizable', 'If set to true, the dialog will be resizable. Requires the jQuery UIResizable widget to be included.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Title', 'Specifies the title of the dialog. If the value is null, the titleattribute on the dialog source element will be used.', QType::String), new QModelConnectorParam(get_called_class(), 'Width', 'The width of the dialog, in pixels.', QType::Integer)));
}
示例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(), 'Collapsible', 'Whether all the sections can be closed at once. Allows collapsing theactive section.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Disabled', 'Disables the accordion if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Event', 'The event that accordion headers will react to in order to activatethe associated panel. Multiple events can be specified, separated by aspace.', QType::String), new QModelConnectorParam(get_called_class(), 'HeightStyle', 'Controls the height of the accordion and each panel. Possible values: * \\"auto\\": All panels will be set to the height of the tallest panel. * \\"fill\\": Expand to the available height based on the accordionsparent height. * \\"content\\": Each panel will be only as tall as its content.', QType::String)));
}
示例5: 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(), 'Disabled', 'Disables the slider if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Max', 'The maximum value of the slider.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Min', 'The minimum value of the slider.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Orientation', 'Determines whether the slider handles move horizontally (min on left,max on right) or vertically (min on bottom, max on top). Possiblevalues: \\"horizontal\\", \\"vertical\\".', QType::String), new QModelConnectorParam(get_called_class(), 'Step', 'Determines the size or amount of each interval or step the slidertakes between the min and max. The full specified value range of theslider (max - min) should be evenly divisible by the step.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Value', 'Determines the value of the slider, if theres only one handle. Ifthere is more than one handle, determines the value of the firsthandle.', QType::Integer), new QModelConnectorParam(get_called_class(), 'Values', 'This option can be used to specify multiple handles. If the rangeoption is set to true, the length of values should be 2.', QType::ArrayType)));
}
示例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(), 'AltFormat', 'The dateFormat to be used for the altField option. This allows onedate format to be shown to the user for selection purposes, while adifferent format is actually sent behind the scenes. For a full listof the possible formats see the formatDate function', QType::String), new QModelConnectorParam(get_called_class(), 'AppendText', 'The text to display after each date field, e.g., to show the requiredformat.', QType::String), new QModelConnectorParam(get_called_class(), 'AutoSize', 'Set to true to automatically resize the input field to accommodatedates in the current dateFormat.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'OnBeforeShow', 'Type:Function( Element input, Object inst )Default:nullA function thattakes an input field and current datepicker instance and returns anoptions object to update the datepicker with. It is called just beforethe datepicker is displayed.', 'QJsClosure'), new QModelConnectorParam(get_called_class(), 'OnBeforeShowDay', 'Type:Function( Date date )Default:nullA function that takes a date asa parameter and must return an array with: * [0]: true/false indicating whether or not this date is selectable * [1]: a CSS class name to add to the dates cell or \\"\\" for thedefault presentation * [2]: an optional popup tooltip for this date The function is called for each day in the datepicker before it isdisplayed.', 'QJsClosure'), new QModelConnectorParam(get_called_class(), 'ButtonImage', 'A URL of an image to use to display the datepicker when the showOnoption is set to \\"button\\" or \\"both\\". If set, the buttonText optionbecomes the alt value and is not directly displayed.', QType::String), new QModelConnectorParam(get_called_class(), 'ButtonImageOnly', 'Whether the button image should be rendered by itself instead ofinside a button element. This option is only relevant if thebuttonImage option has also been set.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ButtonText', 'The text to display on the trigger button. Use in conjunction with theshowOn option set to \\"button\\" or \\"both\\".', QType::String), new QModelConnectorParam(get_called_class(), 'OnCalculateWeek', 'Type:Function()Default:jQuery.datepicker.iso8601WeekA function tocalculate the week of the year for a given date. The defaultimplementation uses the ISO 8601 definition: weeks start on a Monday;the first week of the year contains the first Thursday of the year.', 'QJsClosure'), new QModelConnectorParam(get_called_class(), 'ChangeMonth', 'Whether the month should be rendered as a dropdown instead of text.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ChangeYear', 'Whether the year should be rendered as a dropdown instead of text. Usethe yearRange option to control which years are made available forselection.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'CloseText', 'The text to display for the close link. Use the showButtonPanel optionto display this button.', QType::String), new QModelConnectorParam(get_called_class(), 'ConstrainInput', 'When true, entry in the input field is constrained to those charactersallowed by the current dateFormat option.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'CurrentText', 'The text to display for the current day link. Use the showButtonPaneloption to display this button.', QType::String), new QModelConnectorParam(get_called_class(), 'JqDateFormat', 'The format for parsed and displayed dates. For a full list of thepossible formats see the formatDate function.', QType::String), new QModelConnectorParam(get_called_class(), 'DayNames', 'The list of long day names, starting from Sunday, for use as requestedvia the dateFormat option.', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'DayNamesMin', 'The list of minimised day names, starting from Sunday, for use ascolumn headers within the datepicker.', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'DayNamesShort', 'The list of abbreviated day names, starting from Sunday, for use asrequested via the dateFormat option.', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'Duration', 'Control the speed at which the datepicker appears, it may be a time inmilliseconds or a string representing one of the three predefinedspeeds (\\"slow\\", \\"normal\\", \\"fast\\").', 'QJsClosure'), new QModelConnectorParam(get_called_class(), 'FirstDay', 'Set the first day of the week: Sunday is 0, Monday is 1, etc.', QType::Integer), new QModelConnectorParam(get_called_class(), 'GotoCurrent', 'When true, the current day link moves to the currently selected dateinstead of today.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'HideIfNoPrevNext', 'Normally the previous and next links are disabled when not applicable(see the minDate and maxDate options). You can hide them altogether bysetting this attribute to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'IsRTL', 'Whether the current language is drawn from right to left.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'MonthNames', 'The list of full month names, for use as requested via the dateFormatoption.', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'MonthNamesShort', 'The list of abbreviated month names, as used in the month header oneach datepicker and as requested via the dateFormat option.', QType::ArrayType), new QModelConnectorParam(get_called_class(), 'NavigationAsDateFormat', 'Whether the currentText, prevText and nextText options should beparsed as dates by the formatDate function, allowing them to displaythe target month names for example.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'NextText', 'The text to display for the next month link. With the standardThemeRoller styling, this value is replaced by an icon.', QType::String), new QModelConnectorParam(get_called_class(), 'OnChangeMonthYear', 'Type:Function( Integer year, Integer month, Object inst)Default:nullCalled when the datepicker moves to a new month and/oryear. The function receives the selected year, month (1-12), and thedatepicker instance as parameters. this refers to the associated inputfield.', 'QJsClosure'), new QModelConnectorParam(get_called_class(), 'OnClose', 'Type:Function( String dateText, Object inst )Default:nullCalled whenthe datepicker is closed, whether or not a date is selected. Thefunction receives the selected date as text (\\"\\" if none) and thedatepicker instance as parameters. this refers to the associated inputfield.', 'QJsClosure'), new QModelConnectorParam(get_called_class(), 'OnSelect', 'Type:Function( String dateText, Object inst )Default:nullCalled whenthe datepicker is selected. The function receives the selected date astext and the datepicker instance as parameters. this refers to theassociated input field.', 'QJsClosure'), new QModelConnectorParam(get_called_class(), 'PrevText', 'The text to display for the previous month link. With the standardThemeRoller styling, this value is replaced by an icon.', QType::String), new QModelConnectorParam(get_called_class(), 'SelectOtherMonths', 'Whether days in other months shown before or after the current monthare selectable. This only applies if the showOtherMonths option is setto true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ShowAnim', 'The name of the animation used to show and hide the datepicker. Use\\"show\\" (the default), \\"slideDown\\", \\"fadeIn\\", any of the jQuery UIeffects. Set to an empty string to disable animation.', QType::String), new QModelConnectorParam(get_called_class(), 'ShowButtonPanel', 'Whether to display a button pane underneath the calendar. The buttonpane contains two buttons, a Today button that links to the currentday, and a Done button that closes the datepicker. The buttons textcan be customized using the currentText and closeText optionsrespectively.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ShowCurrentAtPos', 'When displaying multiple months via the numberOfMonths option, theshowCurrentAtPos option defines which position to display the currentmonth in.', QType::Integer), new QModelConnectorParam(get_called_class(), 'ShowMonthAfterYear', 'Whether to show the month after the year in the header.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ShowOn', 'When the datepicker should appear. The datepicker can appear when thefield receives focus (\\"focus\\"), when a button is clicked (\\"button\\"),or when either event occurs (\\"both\\").', QType::String), new QModelConnectorParam(get_called_class(), 'ShowOtherMonths', 'Whether to display dates in other months (non-selectable) at the startor end of the current month. To make these days selectable use theselectOtherMonths option.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'ShowWeek', 'When true, a column is added to show the week of the year. ThecalculateWeek option determines how the week of the year iscalculated. You may also want to change the firstDay option.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'StepMonths', 'Set how many months to move when clicking the previous/next links.', QType::Integer), new QModelConnectorParam(get_called_class(), 'WeekHeader', 'The text to display for the week of the year column heading. Use theshowWeek option to display this column.', QType::String), new QModelConnectorParam(get_called_class(), 'YearRange', 'The range of years displayed in the year drop-down: either relative totodays year (\\"-nn:+nn\\"), relative to the currently selected year(\\"c-nn:c+nn\\"), absolute (\\"nnnn:nnnn\\"), or combinations of theseformats (\\"nnnn:-nn\\"). Note that this option only affects what appearsin the drop-down, to restrict which dates may be selected use theminDate and/or maxDate options.', QType::String), new QModelConnectorParam(get_called_class(), 'YearSuffix', 'Additional text to display after the year in the month headers.', QType::String)));
}
示例7: 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(), 'Disabled', 'Disables the progressbar if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Max', 'The maximum value of the progressbar.', QType::Integer)));
}
示例8: 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(), 'Collapsible', 'When set to true, the active panel can be closed.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Event', 'The type of event that the tabs should react to in order to activatethe tab. To activate on hover, use \\"mouseover\\".', QType::String), new QModelConnectorParam(get_called_class(), 'HeightStyle', 'Controls the height of the tabs widget and each panel. Possiblevalues: * \\"auto\\": All panels will be set to the height of the tallest panel. * \\"fill\\": Expand to the available height based on the tabs parentheight. * \\"content\\": Each panel will be only as tall as its content.', QType::String)));
}
示例9: 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(), 'Disabled', 'Disables the menu if set to true.', QType::Boolean), new QModelConnectorParam(get_called_class(), 'Items', 'Selector for the elements that serve as the menu items. Note: Theitems option should not be changed after initialization. (versionadded: 1.11.0)', QType::String), new QModelConnectorParam(get_called_class(), 'Menus', 'Selector for the elements that serve as the menu container, includingsub-menus. Note: The menus option should not be changed afterinitialization. Existing submenus will not be updated.', QType::String), new QModelConnectorParam(get_called_class(), 'Role', 'Customize the ARIA roles used for the menu and menu items. The defaultuses \\"menuitem\\" for items. Setting the role option to \\"listbox\\" willuse \\"option\\" for items. If set to null, no roles will be set, which isuseful if the menu is being controlled by another element that ismaintaining focus. Note: The role option should not be changed afterinitialization. Existing (sub)menus and menu items will not beupdated.', QType::String)));
}