Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22549/source/script/widgets
Modified Files:
Tag: renderer
QxAtom.js QxBarView.js QxBarViewBar.js QxBarViewButton.js
QxBarViewPage.js QxBarViewPane.js QxBoxLayout.js QxButton.js
QxClientDocument.js QxComboBox.js QxCommonView.js
QxCommonViewButton.js QxCommonViewPage.js QxFieldSet.js
QxHorizontalSpacer.js QxIframe.js QxImage.js QxInline.js
QxLabel.js QxLabelCore.js QxList.js QxListItem.js
QxListView.js QxListViewContentCellHtml.js
QxListViewContentCellIconHtml.js QxListViewContentCellImage.js
QxListViewContentCellLink.js QxListViewContentCellText.js
QxListViewHeader.js QxListViewHeaderCell.js
QxListViewHeaderSeparator.js QxListViewPane.js QxMenu.js
QxMenuButton.js QxMenuCheckBox.js QxMenuLayout.js
QxMenuRadioButton.js QxMenuSeparator.js QxPopup.js
QxTabView.js QxTabViewBar.js QxTabViewButton.js
QxTabViewPage.js QxTabViewPane.js QxTextArea.js QxTextField.js
QxToolBar.js QxToolBarButton.js QxToolBarPart.js
QxToolBarPartHandle.js QxToolBarSeparator.js QxToolTip.js
QxTree.js QxTreeElement.js QxTreeFile.js QxTreeFolder.js
QxVerticalSpacer.js QxWindow.js
Log Message:
Added support for new appearance layer
Index: QxListViewHeader.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewHeader.js,v
retrieving revision 1.1.2.13
retrieving revision 1.1.2.14
diff -C2 -d -r1.1.2.13 -r1.1.2.14
*** QxListViewHeader.js 19 Dec 2005 15:23:07 -0000 1.1.2.13
--- QxListViewHeader.js 13 Jan 2006 10:50:26 -0000 1.1.2.14
***************
*** 77,81 ****
QxListViewHeader.extend(QxHorizontalBoxLayout, "QxListViewHeader");
!
--- 77,81 ----
QxListViewHeader.extend(QxHorizontalBoxLayout, "QxListViewHeader");
! QxListViewHeader.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "list-view-header" });
***************
*** 115,146 ****
-
- /*
- ------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- QxListViewHeader.BOTTOM_BORDER = new QxBorder;
- QxListViewHeader.BOTTOM_BORDER.setBottom(1, "solid", "#e2e2e2");
-
- proto._applyInitialStyle = function()
- {
- this.setWidth(null);
- this.setHeight(QxConst.CORE_AUTO);
- this.setBorder(QxListViewHeader.BOTTOM_BORDER);
- this.setBackgroundColor("#f2f2f2");
- this.setOverflow(QxConst.OVERFLOW_VALUE_HIDDEN);
-
- // This fixes the innerWidth calculation difference between the grid(pane)
- // and the head.
- this.setPaddingRight(QxWidget.SCROLLBAR_SIZE);
- };
-
-
-
-
-
-
/*
------------------------------------------------------------------------------------
--- 115,118 ----
Index: QxBarViewBar.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxBarViewBar.js,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** QxBarViewBar.js 31 Oct 2005 18:28:06 -0000 1.1.2.2
--- QxBarViewBar.js 13 Jan 2006 10:50:26 -0000 1.1.2.3
***************
*** 36,112 ****
QxBarViewBar.extend(QxCommonViewBar, "QxBarViewBar");
!
!
!
!
! /*
! ------------------------------------------------------------------------------------
! STYLES & BEHAVIOR
! ------------------------------------------------------------------------------------
! */
!
! QxBarViewBar.BACKGROUND_COLOR = new QxColorObject("#E1EEFF");
!
! QxBarViewBar.BORDER_COLOR = new QxColorObject("threedshadow");
!
! QxBarViewBar.BORDER_TOP = new QxBorderObject;
! QxBarViewBar.BORDER_TOP.setBottom(1, QxConst.BORDER_STYLE_SOLID, QxBarViewBar.BORDER_COLOR);
!
! QxBarViewBar.BORDER_BOTTOM = new QxBorderObject;
! QxBarViewBar.BORDER_BOTTOM.setTop(1, QxConst.BORDER_STYLE_SOLID, QxBarViewBar.BORDER_COLOR);
!
! QxBarViewBar.BORDER_LEFT = new QxBorderObject;
! QxBarViewBar.BORDER_LEFT.setRight(1, QxConst.BORDER_STYLE_SOLID, QxBarViewBar.BORDER_COLOR);
!
! QxBarViewBar.BORDER_RIGHT = new QxBorderObject;
! QxBarViewBar.BORDER_RIGHT.setLeft(1, QxConst.BORDER_STYLE_SOLID, QxBarViewBar.BORDER_COLOR);
!
! proto._applyInitialStyle = function()
! {
! this.setBackgroundColor(QxBarViewBar.BACKGROUND_COLOR);
! };
!
! proto._applyStateStyleDesign = function(vStates)
! {
! var vBarPosition = this.getParent().getBarPosition();
!
! switch(vBarPosition)
! {
! case QxConst.ALIGN_TOP:
! this.setPadding(1, 0);
! this.setBorder(QxBarViewBar.BORDER_TOP);
! this.setHeight(QxConst.CORE_AUTO);
! this.setWidth(null);
! this.setOrientation(QxConst.ORIENTATION_HORIZONTAL);
! break;
!
! case QxConst.ALIGN_BOTTOM:
! this.setPadding(1, 0);
! this.setBorder(QxBarViewBar.BORDER_BOTTOM);
! this.setHeight(QxConst.CORE_AUTO);
! this.setWidth(null);
! this.setOrientation(QxConst.ORIENTATION_HORIZONTAL);
! break;
!
! case QxConst.ALIGN_LEFT:
! this.setPadding(0, 1);
! this.setBorder(QxBarViewBar.BORDER_LEFT);
! this.setWidth(QxConst.CORE_AUTO);
! this.setHeight(null);
! this.setOrientation(QxConst.ORIENTATION_VERTICAL);
! break;
!
! case QxConst.ALIGN_RIGHT:
! this.setPadding(0, 1);
! this.setBorder(QxBarViewBar.BORDER_RIGHT);
! this.setWidth(QxConst.CORE_AUTO);
! this.setHeight(null);
! this.setOrientation(QxConst.ORIENTATION_VERTICAL);
! break;
! };
! };
!
!
!
--- 36,40 ----
QxBarViewBar.extend(QxCommonViewBar, "QxBarViewBar");
! QxBarViewBar.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "bar-view-bar" });
Index: QxMenuButton.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxMenuButton.js,v
retrieving revision 1.14.2.30
retrieving revision 1.14.2.31
diff -C2 -d -r1.14.2.30 -r1.14.2.31
*** QxMenuButton.js 18 Nov 2005 15:58:09 -0000 1.14.2.30
--- QxMenuButton.js 13 Jan 2006 10:50:26 -0000 1.14.2.31
***************
*** 36,52 ****
// ***********************************************************************
- // STYLE
- // ***********************************************************************
-
- this.setWidth(null);
- this.setMinWidth(QxConst.CORE_AUTO);
- this.setSpacing(2);
- this.setPadding(2, 4);
- this.setCursor(QxConst.CORE_DEFAULT);
- this.setVerticalChildrenAlign(QxConst.ALIGN_MIDDLE);
- this.setAllowStretchX(true);
-
-
- // ***********************************************************************
// LAYOUT
// ***********************************************************************
--- 36,39 ----
***************
*** 63,67 ****
so.setSelectable(false);
! var ao = this._arrowObject = new QxImage(QxMenuButton.ARROW_IMG);
ao.setAnonymous(true);
--- 50,54 ----
so.setSelectable(false);
! var ao = this._arrowObject = new QxImage("widgets/arrows/next.gif");
ao.setAnonymous(true);
***************
*** 94,97 ****
--- 81,86 ----
*/
+ QxMenuButton.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "menu-button" });
+
QxMenuButton.addProperty({ name : "icon", type : QxConst.TYPEOF_STRING });
QxMenuButton.addProperty({ name : "label", type : QxConst.TYPEOF_STRING });
***************
*** 316,345 ****
/*
------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- QxMenuButton.BGCOLOR_OVER = new QxColorObject("highlight");
- QxMenuButton.BGCOLOR_OUT = null;
-
- QxMenuButton.COLOR_OVER = new QxColorObject("highlighttext");
- QxMenuButton.COLOR_OUT = null;
-
- QxMenuButton.ARROW_IMG = "widgets/arrows/next.gif";
-
- proto._applyStateStyleDesign = function(vStates)
- {
- this.setBackgroundColor(vStates.over ? QxMenuButton.BGCOLOR_OVER : QxMenuButton.BGCOLOR_OUT);
- this.setColor(vStates.over ? QxMenuButton.COLOR_OVER : QxMenuButton.COLOR_OUT);
- };
-
-
-
-
-
-
-
- /*
- ------------------------------------------------------------------------------------
DISPOSER
------------------------------------------------------------------------------------
--- 305,308 ----
Index: QxListViewContentCellImage.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewContentCellImage.js,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -C2 -d -r1.1.2.8 -r1.1.2.9
*** QxListViewContentCellImage.js 20 Dec 2005 08:17:05 -0000 1.1.2.8
--- QxListViewContentCellImage.js 13 Jan 2006 10:50:26 -0000 1.1.2.9
***************
*** 36,39 ****
--- 36,41 ----
QxListViewContentCellImage.extend(QxImage, "QxListViewContentCellImage");
+ QxListViewContentCellImage.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "list-view-content-cell-image" });
+
QxListViewContentCellImage.empty = {
source : QxImageManager.getBlank()
***************
*** 44,62 ****
/*
------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- proto._applyInitialStyle = function() {
- this.setPadding(0, 6);
- };
-
-
-
-
-
-
- /*
- ------------------------------------------------------------------------------------
CUSTOM SETTER
------------------------------------------------------------------------------------
--- 46,49 ----
Index: QxListViewContentCellText.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewContentCellText.js,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -C2 -d -r1.1.2.9 -r1.1.2.10
*** QxListViewContentCellText.js 12 Dec 2005 15:15:33 -0000 1.1.2.9
--- QxListViewContentCellText.js 13 Jan 2006 10:50:26 -0000 1.1.2.10
***************
*** 30,61 ****
**************************************************************************** */
! function QxListViewContentCellText(vText) {
QxText.call(this, vText);
};
QxListViewContentCellText.extend(QxText, "QxListViewContentCellText");
QxListViewContentCellText.empty = {
text : QxConst.CORE_EMPTY
};
-
-
-
- /*
- ------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- proto._applyInitialHtml = function()
- {
- this.setSelectable(false);
- };
-
- proto._applyInitialStyle = function()
- {
- this.setStyleProperty(QxConst.PROPERTY_PADDING, "0 6px");
- this.setStyleProperty(QxConst.PROPERTY_WHITESPACE, "nowrap");
- this.setStyleProperty(QxConst.PROPERTY_OVERFLOW_BOTH, QxConst.OVERFLOW_VALUE_HIDDEN);
- this.setStyleProperty(QxConst.PROPERTY_OVERFLOW_TEXT, QxConst.OVERFLOW_VALUE_ELLIPSIS);
- };
--- 30,45 ----
**************************************************************************** */
! function QxListViewContentCellText(vText)
! {
QxText.call(this, vText);
+
+ this.setSelectable(false);
};
QxListViewContentCellText.extend(QxText, "QxListViewContentCellText");
+ QxListViewContentCellText.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "list-view-content-cell-text" });
+
QxListViewContentCellText.empty = {
text : QxConst.CORE_EMPTY
};
Index: QxListViewContentCellLink.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewContentCellLink.js,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** QxListViewContentCellLink.js 12 Dec 2005 15:15:33 -0000 1.1.2.5
--- QxListViewContentCellLink.js 13 Jan 2006 10:50:26 -0000 1.1.2.6
***************
*** 30,39 ****
**************************************************************************** */
! function QxListViewContentCellLink(vHtml) {
QxLink.call(this, vHtml);
};
QxListViewContentCellLink.extend(QxLink, "QxListViewContentCellLink");
QxListViewContentCellLink.empty =
{
--- 30,45 ----
**************************************************************************** */
! function QxListViewContentCellLink(vHtml)
! {
QxLink.call(this, vHtml);
+
+ // selectable = false will break links in gecko based browsers
+ this.setSelectable(true);
};
QxListViewContentCellLink.extend(QxLink, "QxListViewContentCellLink");
+ QxListViewContentCellLink.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "list-view-content-cell-link" });
+
QxListViewContentCellLink.empty =
{
***************
*** 41,52 ****
uri : QxConst.CORE_HASH
};
-
-
- /*
- ------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- // setSelectable = false will break links in gecko based browsers
- proto._applyInitialHtml = QxUtil.returnTrue;
--- 47,48 ----
Index: QxFieldSet.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxFieldSet.js,v
retrieving revision 1.3.2.18
retrieving revision 1.3.2.19
diff -C2 -d -r1.3.2.18 -r1.3.2.19
*** QxFieldSet.js 8 Nov 2005 11:04:49 -0000 1.3.2.18
--- QxFieldSet.js 13 Jan 2006 10:50:26 -0000 1.3.2.19
***************
*** 27,30 ****
--- 27,31 ----
#package(form)
+ #require(QxAtom)
**************************************************************************** */
Index: QxBarView.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxBarView.js,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** QxBarView.js 19 Dec 2005 12:34:59 -0000 1.1.2.3
--- QxBarView.js 13 Jan 2006 10:50:26 -0000 1.1.2.4
***************
*** 51,54 ****
--- 51,55 ----
QxBarView.addProperty({ name : "barPosition", type : QxConst.TYPEOF_STRING, defaultValue : QxConst.ALIGN_TOP, possibleValues : [ QxConst.ALIGN_TOP, QxConst.ALIGN_RIGHT, QxConst.ALIGN_BOTTOM, QxConst.ALIGN_LEFT ] });
+ QxBarView.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "bar-view" });
***************
*** 98,118 ****
return true;
};
-
-
-
-
-
-
- /*
- ------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- QxBarView.BACKGROUND_COLOR = new QxColorObject("#FAFBFE");
-
- proto._applyInitialStyle = function()
- {
- this.setBackgroundColor(QxBarView.BACKGROUND_COLOR);
- this.setBorder(QxBorderObject.presets.shadow);
- };
--- 99,100 ----
Index: QxTextField.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTextField.js,v
retrieving revision 1.5.2.38
retrieving revision 1.5.2.39
diff -C2 -d -r1.5.2.38 -r1.5.2.39
*** QxTextField.js 6 Jan 2006 10:33:29 -0000 1.5.2.38
--- QxTextField.js 13 Jan 2006 10:50:26 -0000 1.5.2.39
***************
*** 43,47 ****
// ***********************************************************************
! // HTML
// ***********************************************************************
this.setTagName("INPUT");
--- 43,47 ----
// ***********************************************************************
! // BEHAVIOR
// ***********************************************************************
this.setTagName("INPUT");
***************
*** 50,62 ****
this.setTabIndex(1);
this.setSelectable(true);
- this.setHideFocus(true);
-
-
- // ***********************************************************************
- // STYLING
- // ***********************************************************************
- this.setBorder(QxBorderObject.presets.thinInset);
- this.setPadding(2, 4);
- this.setStyleProperty("fontSize", "11px");
--- 50,53 ----
***************
*** 81,84 ****
--- 72,78 ----
*/
+
+ QxTextField.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "text-field" });
+
QxTextField.addProperty({ name : "value", type : QxConst.TYPEOF_STRING, defaultValue : QxConst.CORE_EMPTY });
QxTextField.addProperty({ name : "maxLength", type : QxConst.TYPEOF_NUMBER });
Index: QxTabView.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxTabView.js,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** QxTabView.js 19 Dec 2005 12:34:59 -0000 1.1.2.4
--- QxTabView.js 13 Jan 2006 10:50:26 -0000 1.1.2.5
***************
*** 46,49 ****
--- 46,51 ----
*/
+ QxTabView.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "tab-view" });
+
QxTabView.addProperty({ name : "alignTabsToLeft", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true });
QxTabView.addProperty({ name : "placeBarOnTop", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true });
***************
*** 91,107 ****
return true;
};
-
-
-
-
-
-
- /*
- ------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- proto._applyInitialStyle = function() {
- this.setSpacing(-1);
- };
--- 93,94 ----
Index: QxListViewHeaderSeparator.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxListViewHeaderSeparator.js,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** QxListViewHeaderSeparator.js 12 Dec 2005 15:15:33 -0000 1.1.2.6
--- QxListViewHeaderSeparator.js 13 Jan 2006 10:50:26 -0000 1.1.2.7
***************
*** 36,53 ****
QxListViewHeaderSeparator.extend(QxTerminator, "QxListViewHeaderSeparator");
!
!
!
! /*
! ------------------------------------------------------------------------------------
! STYLES & BEHAVIOR
! ------------------------------------------------------------------------------------
! */
!
! proto._applyInitialStyle = function()
! {
! this.setBackgroundColor("#D6D5D9");
! this.setWidth(1);
! this.setMarginTop(1);
! this.setMarginBottom(1);
! };
--- 36,38 ----
QxListViewHeaderSeparator.extend(QxTerminator, "QxListViewHeaderSeparator");
! QxListViewHeaderSeparator.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "list-view-header-separator" });
Index: QxTreeFile.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTreeFile.js,v
retrieving revision 1.3.2.25
retrieving revision 1.3.2.26
diff -C2 -d -r1.3.2.25 -r1.3.2.26
*** QxTreeFile.js 19 Dec 2005 14:29:20 -0000 1.3.2.25
--- QxTreeFile.js 13 Jan 2006 10:50:26 -0000 1.3.2.26
***************
*** 40,64 ****
-
- /*
- ------------------------------------------------------------------------------------
- STYLES & BEHAVIOR
- ------------------------------------------------------------------------------------
- */
-
- QxTreeFile.IMG_URI = "icons/16/file-new.png";
-
- proto._applyInitialStyle = function()
- {
- this._iconObject.setSource(QxTreeFile.IMG_URI);
-
- QxTreeElement.prototype._applyInitialStyle.call(this);
- };
-
-
-
-
-
-
/*
------------------------------------------------------------------------------------
--- 40,43 ----
***************
*** 90,92 ****
proto.getItems = function() {
return [this];
! };
\ No newline at end of file
--- 69,71 ----
proto.getItems = function() {
return [this];
! };
Index: QxTree.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTree.js,v
retrieving revision 1.2.2.31
retrieving revision 1.2.2.32
diff -C2 -d -r1.2.2.31 -r1.2.2.32
*** QxTree.js 19 Dec 2005 14:29:20 -0000 1.2.2.31
--- QxTree.js 13 Jan 2006 10:50:26 -0000 1.2.2.32
***************
*** 40,43 ****
--- 40,47 ----
+ this._iconObject.setAppearance("tree-icon");
+ this._labelObject.setAppearance("tree-label");
+
+
// ***********************************************************************
// DEFAULT STATE
***************
*** 321,329 ****
var vNewItem = this.getManager().getSelectedItem();
! vOldItem.setSelectedState(vStates[1]);
! vOldItem.setSelectedState(vStates[0]);
!
! vNewItem.setSelectedState(vStates[0]);
! vNewItem.setSelectedState(vStates[1]);
delete this._fastUpdate;
--- 325,330 ----
var vNewItem = this.getManager().getSelectedItem();
! //vOldItem.getIconObject().setSelectedState(vStates[0]);
! vNewItem.getIconObject().setSelectedState(vStates[1]);
delete this._fastUpdate;
***************
*** 358,360 ****
vManager.setSelectedItem(vElement);
vManager.setLeadItem(vElement);
! };
\ No newline at end of file
--- 359,361 ----
vManager.setSelectedItem(vElement);
vManager.setLeadItem(vElement);
! };
Index: QxTabViewButton.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxTabViewButton.js,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** QxTabViewButton.js 31 Oct 2005 19:14:19 -0000 1.1.2.3
--- QxTabViewButton.js 13 Jan 2006 10:50:26 -0000 1.1.2.4
***************
*** 30,35 ****
**************************************************************************** */
! function QxTabViewButton(vText, vIcon, vIconWidth, vIconHeight, vFlash)
! {
QxCommonViewButton.call(this, vText, vIcon, vIconWidth, vIconHeight, vFlash);
};
--- 30,34 ----
**************************************************************************** */
! function QxTabViewButton(vText, vIcon, vIconWidth, vIconHeight, vFlash) {
QxCommonViewButton.call(this, vText, vIcon, vIconWidth, vIconHeight, vFlash);
};
***************
*** 37,130 ****
QxTabViewButton.extend(QxCommonViewButton, "QxTabViewButton");
!
!
!
!
!
! /*
! ------------------------------------------------------------------------------------
! STYLES & BEHAVIOR
! ------------------------------------------------------------------------------------
! */
!
! QxTabViewButton.BGCOLOR_NORMAL = new QxColorObject("#E1EEFF");
! QxTabViewButton.BGCOLOR_CHECKED = new QxColorObject("#FAFBFE");
!
! QxTabViewButton.BORDER_TOP_NORMAL = new QxBorder(1, QxConst.BORDER_STYLE_SOLID, QxTabViewPane.BORDER_COLOR);
! QxTabViewButton.BORDER_TOP_NORMAL.setBottomWidth(0);
!
! QxTabViewButton.BORDER_TOP_CHECKED = new QxBorder(1, QxConst.BORDER_STYLE_SOLID, QxTabViewPane.BORDER_COLOR);
! QxTabViewButton.BORDER_TOP_CHECKED.setBottomWidth(0);
! QxTabViewButton.BORDER_TOP_CHECKED.setTop(3, QxConst.BORDER_STYLE_SOLID, "#FEC83C");
!
! QxTabViewButton.BORDER_BOTTOM_NORMAL = new QxBorder(1, QxConst.BORDER_STYLE_SOLID, QxTabViewPane.BORDER_COLOR);
! QxTabViewButton.BORDER_BOTTOM_NORMAL.setTopWidth(0);
!
! QxTabViewButton.BORDER_BOTTOM_CHECKED = new QxBorder(1, QxConst.BORDER_STYLE_SOLID, QxTabViewPane.BORDER_COLOR);
! QxTabViewButton.BORDER_BOTTOM_CHECKED.setTopWidth(0);
! QxTabViewButton.BORDER_BOTTOM_CHECKED.setBottom(3, QxConst.BORDER_STYLE_SOLID, "#FEC83C");
!
! proto._applyStateStyleDesign = function(vStates)
! {
! var vFrame = this.getView();
! var vAlignLeft = vFrame.getAlignTabsToLeft();
! var vBarTop = vFrame.getPlaceBarOnTop();
!
! if (vStates.checked)
! {
! this.setBackgroundColor(QxTabViewButton.BGCOLOR_CHECKED);
! this.setZIndex(1);
! this.setPadding(3, 8);
! this.setBorder(vBarTop ? QxTabViewButton.BORDER_TOP_CHECKED : QxTabViewButton.BORDER_BOTTOM_CHECKED);
! this.setMarginTop(0);
! this.setMarginBottom(0);
!
! if (vAlignLeft)
! {
! this.setMarginLeft(this.getParent().getFirstVisibleChild() == this ? 0 : -3);
! this.setMarginRight(-3);
! }
! else
! {
! this.setMarginLeft(-3);
! this.setMarginRight(this.getParent().getLastVisibleChild() == this ? 0 : -3);
! };
! }
! else
! {
! this.setBackgroundColor(vStates.over ? QxTabViewButton.BGCOLOR_CHECKED : QxTabViewButton.BGCOLOR_NORMAL);
! this.setZIndex(0);
! this.setPadding(2, 6);
!
! if (vAlignLeft)
! {
! this.setMarginRight(1);
! this.setMarginLeft(0);
! }
! else
! {
! this.setMarginRight(0);
! this.setMarginLeft(1);
! };
!
! if (vBarTop)
! {
! this.setBorder(QxTabViewButton.BORDER_TOP_NORMAL);
! this.setMarginTop(3);
! this.setMarginBottom(1);
! }
! else
! {
! this.setBorder(QxTabViewButton.BORDER_BOTTOM_NORMAL);
! this.setMarginTop(1);
! this.setMarginBottom(3);
! };
! };
! };
!
! proto._applyInitialHtml = function() {
! this.setTabIndex(1);
! };
!
--- 36,40 ----
QxTabViewButton.extend(QxCommonViewButton, "QxTabViewButton");
! QxTabViewButton.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "tab-view-button" });
Index: QxMenuLayout.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxMenuLayout.js,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** QxMenuLayout.js 28 Oct 2005 20:39:38 -0000 1.1.2.3
--- QxMenuLayout.js 13 Jan 2006 10:50:26 -0000 1.1.2.4
***************
*** 33,38 ****
A small helper class to create a special layout handler for QxMenus
*/
! function QxMenuLayout() {
QxVerticalBoxLayout.call(this);
};
--- 33,41 ----
A small helper class to create a special layout handler for QxMenus
*/
! function QxMenuLayout()
! {
QxVerticalBoxLayout.call(this);
+
+ this.setAnonymous(true);
};
***************
*** 40,43 ****
--- 43,51 ----
+ /*!
+ Appearance of the widget
+ */
+ QxMenuLayout.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "menu-layout" });
+
Index: QxToolBarPart.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolBarPart.js,v
retrieving revision 1.2.2.19
retrieving revision 1.2.2.20
diff -C2 -d -r1.2.2.19 -r1.2.2.20
*** QxToolBarPart.js 19 Dec 2005 12:34:59 -0000 1.2.2.19
--- QxToolBarPart.js 13 Jan 2006 10:50:26 -0000 1.2.2.20
***************
*** 40,58 ****
QxToolBarPart.extend(QxHorizontalBoxLayout, "QxToolBarPart");
!
!
!
!
!
! /*
! ------------------------------------------------------------------------------------
! STYLES & BEHAVIOR
! ------------------------------------------------------------------------------------
! */
!
! proto._applyInitialStyle = function() {
! this.setWidth(QxConst.CORE_AUTO);
! };
!
--- 40,44 ----
QxToolBarPart.extend(QxHorizontalBoxLayout, "QxToolBarPart");
! QxToolBarPart.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "toolbar-part" });
***************
*** 82,85 ****
--- 68,72 ----
+
/*
------------------------------------------------------------------------------------
***************
*** 94,99 ****
};
- QxHorizontalBoxLayout.prototype.dispose.call(this);
-
if (this._handle)
{
--- 81,84 ----
***************
*** 102,105 ****
};
! return true;
};
--- 87,90 ----
};
! return QxHorizontalBoxLayout.prototype.dispose.call(this);
};
Index: QxTextArea.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxTextArea.js,v
retrieving revision 1.1.2.15
retrieving revision 1.1.2.16
diff -C2 -d -r1.1.2.15 -r1.1.2.16
*** QxTextArea.js 19 Dec 2005 15:23:07 -0000 1.1.2.15
--- QxTextArea.js 13 Jan 2006 10:50:26 -0000 1.1.2.16
***************
*** 34,48 ****
QxTextField.call(this, sText);
- this.setOverflow(QxConst.CORE_AUTO);
-
- this.removeHtmlProperty("type");
-
- this.setHeight(50);
this.setTagName("textarea");
! this.setSelectable(true);
};
QxTextArea.extend(QxTextField, "QxTextArea");
QxTextArea.addProperty({ name : "wrap", type : QxConst.TYPEOF_BOOLEAN });
--- 34,45 ----
QxTextField.call(this, sText);
this.setTagName("textarea");
! this.removeHtmlProperty("type");
};
QxTextArea.extend(QxTextField, "QxTextArea");
+ QxTextArea.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "text-area" });
+
QxTextArea.addProperty({ name : "wrap", type : QxConst.TYPEOF_BOOLEAN });
Index: QxToolBarSeparator.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolBarSeparator.js,v
retrieving revision 1.1.2.16
retrieving revision 1.1.2.17
diff -C2 -d -r1.1.2.16 -r1.1.2.17
*** QxToolBarSeparator.js 29 Oct 2005 21:33:00 -0000 1.1.2.16
--- QxToolBarSeparator.js 13 Jan 2006 10:50:26 -0000 1.1.2.17
***************
*** 32,73 ****
function QxToolBarSeparator()
{
- this._line = new QxTerminator;
-
QxCanvasLayout.call(this);
! this.add(this._line);
};
QxToolBarSeparator.extend(QxCanvasLayout, "QxToolBarSeparator");
! QxToolBarSeparator.init = function()
! {
! var b = QxToolBarSeparator.BORDER = new QxBorder;
!
! b.setLeftColor("ThreeDShadow");
! b.setRightColor("ThreeDHighlight");
!
! b.setLeftStyle(QxConst.BORDER_STYLE_SOLID);
! b.setRightStyle(QxConst.BORDER_STYLE_SOLID);
!
! b.setLeftWidth(1);
! b.setRightWidth(1);
! b.setTopWidth(0);
! b.setBottomWidth(0);
! };
!
! QxToolB...
[truncated message content] |