Class QModelConnectorEditDlg
Class QModelConnectorEditDlg
A dialog that lets you specify code generation options for a control. These options control how a control is generated, and includes additional parameters that can be specified for a control.
This dialog pops up when designer mode is turned on and the user right clicks on a control.
The code below will set up the dialog and display options that are generic to all QControls. Individual controls can add parameters to this dialog by implementing the GetModelConnectorParams function.
Everything gets saved in the configuration/codegen_options.json file.
- QBaseClass
- QHtmlAttributeManagerBase
- QHtmlAttributeManager
- QControlBase
- QControl
- QBlockControl
- QPanel
- QDialogGen
- QDialogBase
- QDialog
- QModelConnectorEditDlg
public
|
#
__construct(
Creates a QControlBase object This constructor will generally not be used to create a QControlBase object. Instead it is used by the classes which extend the class. Only the parent object parameter is required. If the option strControlId parameter is not used, QCubed will generate the id. |
protected
|
|
public
|
|
public
|
|
public
string
|
#
dtg_ValueRender(
Render the value column, which allows the user to specify the value of an option for the control. |
public
|
#
EditControl(
Entry point for the dialog. Brings up the dialog and loads all the options so that it can be edited. |
public
|
#
ButtonClick( $strFormId, $strControlId, $mixParam )
Dialog button has been clicked. Save the options, or Save, codegen, and then reload. |
protected
|
#
UpdateControlInfo( )
Puts the values of the dialog into the params array to be saved off into the settings file. |
protected
|
|
protected
boolean
|
#
ReadParams( )
Read the params from the settings file. Returns false if there were no params to be read, meaning this control is not attached to a database object. |
protected
array
|
#
CreateClassNameArray( )
Returns an array of class names that can be used to edit the current control's data type. |
Close(),
Destroy(),
GetJqSetupFunction(),
GetModelConnectorParams(),
Instance(),
IsOpen(),
MoveToTop(),
Open(),
Option(),
Option1(),
Option2(),
Option3()
|
OverrideAttributes(),
__call()
|
MessageDialogId,
StateError,
StateHighlight,
StateNone
|
CommentEnd,
CommentStart
|
protected
|
$objCurrentControl
|
|
protected
|
$tabs
|
|
protected
|
$txtName
|
|
protected
|
$txtControlId
|
|
protected
|
$txtControlClass
|
|
protected
|
$lstFormGen
|
|
protected
|
$params
|
|
protected
|
$objModelConnectorOptions
|
|
protected
|
$generalOptions
|
|
protected
|
$dtgGeneralOptions
|
|
protected
|
$categories
|
|
protected
|
$datagrids
|
$blnAutoOpen,
$blnAutoRender,
$blnHasCloseButton,
$blnIsOpen,
$blnUseWrapper,
$blnValidationArray,
$strClickedButtonId,
$strDialogState
|
$blnCloseOnEscape,
$blnDraggable,
$blnModal,
$blnResizable,
$intMaxHeight,
$intMaxWidth,
$intMinHeight,
$intMinWidth,
$intWidth,
$mixAppendTo,
$mixButtons,
$mixHeight,
$mixHide,
$mixPosition,
$mixShow,
$strCloseText,
$strDialogClass,
$strJavaScripts,
$strStyleSheets,
$strTitle
|
$blnHtmlEntities,
$blnIsBlockElement,
$strDefaultDisplayStyle,
$strTagName
|
$blnAutoRenderChildren,
$blnDropTarget,
$objDropsControlsArray,
$objDropsGroupingsArray,
$objIsDropZoneFor,
$objMovesControlsArray,
$strFormat,
$strTemplate,
$strText
|
$attributes,
$styles
|
$ClickedButton,
$DialogState,
$HasCloseButton
|
$AppendTo,
$AutoOpen,
$Buttons,
$CloseOnEscape,
$CloseText,
$DialogClass,
$Draggable,
$Height,
$Hide,
$MaxHeight,
$MaxWidth,
$MinHeight,
$MinWidth,
$Modal,
$Position,
$Resizable,
$Show,
$Title,
$Width
|
$AutoRenderChildren,
$DropTarget,
$Format,
$HorizontalAlign,
$HtmlEntities,
$ResizeHandleDirection,
$ResizeHandleMaximum,
$ResizeHandleMinimum,
$TagName,
$Template,
$Text,
$VerticalAlign
|
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle
|