国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Aras入門教程3_可配置用戶界面(Configurable User Interface)

這篇具有很好參考價(jià)值的文章主要介紹了Aras入門教程3_可配置用戶界面(Configurable User Interface)。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

Configurable User Interface

CUI模型

可配置用戶界面 (CUI) 是 Aras 中的一種建模機(jī)制,它允許管理員定義客戶端應(yīng)用程序的布局(layout)和行為(behavior)。CUI 在 Aras11 的早期服務(wù)包中引入,最初旨在用于建模工具欄(toolbars)、菜單(menus)和鍵盤快捷鍵(keyboard shortcuts)。

到 Aras12,隨著客戶端的 UX/UI 功能的增強(qiáng),CUI 已經(jīng)擴(kuò)展到實(shí)現(xiàn)標(biāo)準(zhǔn) Web 客戶端的許多領(lǐng)域,如目錄 (Table of Contents)、側(cè)邊欄(sidebars)、工具欄(toolbars)、上下文菜單(context menus)和手風(fēng)琴(accordion),現(xiàn)在都使用 CUI 建??刂?。

aras,ui

aras,ui

Aras 中各種命令欄、視圖名稱查閱以下文章:

An Overview of CUI Locations - English Blog - Aras Community - Aras Community

Presentation Configurations

Presentation Configurations serve as containers for CUI configurations, defining the scope of the related CUI items as either global or ItemType-specific.

aras,ui

aras,ui

Window Sections

窗口部分用于定義 Aras 客戶端應(yīng)用程序屏幕的布局。 因?yàn)樗鼈兣c Presentation Configuration Items 相關(guān),所以 Window Sections 可以全局或?yàn)樘囟?ItemTypes創(chuàng)建不同的布局。

Window Sections are used to define the layout of a client application screen. Because they’re related to Presentation Configuration items, Window Sections can be inherited globally or defined for an ItemTypespecific scope to create different layouts.
?

Controls (defined the layout of the client UI )

控件定義了窗口中客戶端 UI 的布局。 使用 cui_WindowSectionControl 上的 Action 屬性,管理員可以通過指定“操作”來添加、刪除、替換和清除每個(gè)控件。

Controls define the layout of the client UI within a parent Window Section. Using the Action property on the cui_WindowSectionControl, admins can add, remove, replace, or clear all Controls from a Window Section.

aras,ui

Window Sections & Controls :defined the layout of the client UI


控件類型:

aras,ui

aras,ui

Command Bar Sections(defined the content of the UI )

Window Sections and Command Bar Sections appear very similar – they’re both related to Presentation Configurations, they can be defined either declaratively or dynamically, and they have many of the same properties. However, the two types serve different functions. While Window Sections and Controls define the layout of the client application screens, Command Bar Sections define the content

A Command Bar Section represents a specific portion of the UI such as the toolbar of the main search grid

aras,ui

Command Bar Items(defined the behavior of the UI )

A Command Bar Item represents an individual UI component like a button or a keyboard shortcut

aras,ui

aras,ui

CUI 樣例

TOC

更改TOC類別標(biāo)簽:把 Document TOC 的類別改成 Document Center

aras,ui

aras,ui

實(shí)現(xiàn)效果:

Category這里同步被修改:

aras,ui

Toolbars

給Item工具欄添加按鈕

給Part工具欄為所有用戶添加一個(gè)按鈕:

aras,ui

aras,ui

aras,ui

呈現(xiàn)效果:

給Item工具欄添加分隔符

“I want to add a separator before the Refresh button in the toolbar for all ItemTypes and users.”

aras,ui

aras,ui

實(shí)現(xiàn)效果:

aras,ui

為關(guān)系工具欄移除按鈕

“I want to hide the Share button on the Part BOM relationship toolbar for members of All Suppliers.”

aras,ui

實(shí)現(xiàn)效果:

aras,ui

為工具欄替換按鈕

“I want to replace the default “New” button with a custom button on the Part search toolbar for all users.”

aras,ui

aras,ui

aras,ui

新建新按鈕:

aras,ui

呈現(xiàn)效果:

aras,ui

Menus

為菜單添加按鈕

“I want to add an action to the global user menu for all administrators.”

aras,ui

aras,ui

aras,ui

aras,ui

禁用按鈕

“I want to disable the Share menu button for items that are not yet released.”

aras,ui

修改 init_Method 為 cus_disable_menu_by_state(原先為hideButtonIfItemIsNew):

aras,ui

aras,ui

當(dāng)狀態(tài)不是released時(shí),“分享”按鈕被禁用:
?

aras,ui

添加子菜單

“I want to move‘Structure Browser’and‘Where Used’to a submenu of the main grid context menu.”

aras,ui

新建“更多…”按鈕:

aras,ui

選擇它的父類“導(dǎo)航”按鈕

aras,ui

將Structure Browser (com.aras.innovator.cui_default.pmig_Structure Browser )和Where Used (com.aras.innovator.cui_default.pmig_Where Used )兩個(gè)按鈕添加到“更多…”下,通過修改其父類即可:

aras,ui


更改前:

aras,ui

更改后:

aras,ui

Shortcuts

通過鍵盤快捷鍵新建Item

“I want a shortcut to allow users to create a new item from an item form.”

aras,ui

aras,ui

aras,ui

Item Views

在一級(jí)“手風(fēng)琴”添加頁簽

“I want to display the Part BOM tab in the top accordion for all users. ”

aras,ui

效果:

aras,ui

從二級(jí)“手風(fēng)琴”隱藏頁簽

“I want to display the Part BOM tab in the top accordion instead of the relationship accordion.”

aras,ui

效果:

aras,ui

添加第三級(jí)“手風(fēng)琴”

“I want to show the Documents and CAD Documents tabs in a third accordion.”

aras,ui

aras,ui

aras,ui

aras,ui

效果:

aras,ui

注意,relTypeID可以自定義,但不能重復(fù),否則:

aras,ui

relTypeID如果不填:

Item View Sidebar

從Item視圖側(cè)邊欄顯示圖表視圖按鈕

“I want to add a button to the sidebar of all items that will show an ad hoc Graph View in the item view.”
?

aras,ui

aras,ui

aras,ui

顯示效果:

aras,ui

從Item視圖側(cè)邊欄按鈕顯示基于查詢的圖表視圖

“I want to display the Part BOM Graph View when the user clicks a sidebar button on a Part global.”

aras,ui

aras,ui

aras,ui

效果:

aras,ui

參考資料:

Aras Innovator 120 Configurable User Interface Administrator Guide.pdf


?

Form

概述

表單是一個(gè)動(dòng)態(tài)生成的頁面,它包含了ItemType的屬性信息,也是用戶進(jìn)行數(shù)據(jù)輸入、查看、共享信息的區(qū)域。表單是用于呈現(xiàn)相關(guān)信息的,由管理員按照基于預(yù)定義的信息進(jìn)行設(shè)計(jì),通過控件操作(復(fù)選框,按鈕,菜單等)和標(biāo)簽與最終用戶進(jìn)行交互。

aras,ui

增加元素:

用戶通過命名為字段的元素和表單進(jìn)行交互,字段通過對(duì)象類的表單引用與屬性值綁定。

字段通過在表單版面上定義位置、控件方式(例如列表、組合框、文本區(qū)域等)、標(biāo)簽、字體等組合在一起。控件的初始值由綁定屬性的默認(rèn)值決定??丶漠?dāng)前值可通過用戶交互和方法修改。

打開選擇的表單后,Aras工作空間將顯示表單編輯工具。水平頁簽允許訪問和修改表單屬性,它下面的框架顯示表單布局。

新的表單模板在新建對(duì)象類第一次保存時(shí)自動(dòng)創(chuàng)建。默認(rèn)情況下,對(duì)象類屬性顯示在表單布局區(qū)。當(dāng)額外的屬性添加到對(duì)象類時(shí),關(guān)聯(lián)字段必須手動(dòng)添加到對(duì)象類表單。

添加字段到表單:

  • 點(diǎn)擊工具欄中的“未使用的屬性字段”(Unused Properties)
  • 選擇屬性添加到表單
  • 拖動(dòng)屬性放置到希望的位置上
  • 根據(jù)需要編輯字段屬性
  • 表單標(biāo)簽

aras,ui

域?qū)傩?/strong>

表單頁屬性

域類型(Field Type)

表單屬性

域標(biāo)簽(Field Label)

表單主體

域物理屬性(Field Physical)

表單事件

域邊框(Field Border)

表單邊框

域事件(Field Event)

表單事件

字段標(biāo)簽屬性(Field Label)

aras,ui

屬性

標(biāo)簽(Label)

這是用戶在表單上看到的字段名,支持多語言

字體(Font Family)

顯示的字體

標(biāo)簽位置(Label Position)

字段名稱出現(xiàn)的位置

字體加粗(Font Weight)

加粗或普通

對(duì)齊(Text Alignment)

左,右或居中

字體大?。‵ont Size)

輸入

字體顏色(Font Color)

在顏色板上選取

字段物理屬性(Field Physical)

aras,ui

屬性

描述

定位(Positioning)

在表單的絕對(duì)位置或相對(duì)于表單的左上角的相對(duì)位置。推薦使用絕對(duì)位置

X

水平位置,以像素為單位

Y

垂直位置,以像素為單位

Z-Index

Fields with higher Z-Index(字段的頂層層級(jí)) are drawn on top of

Fields with lower Z-Index(字段的底層層級(jí))

可見(Visible)

控制字段是否可見

不可用(Disabled)

控制字段是否可用

Users shouldn’t be allowed to enter or edit the value of the Field,but we may still want to see that information

Field Order

When the Field is in a group box, specifies the order of the Field

Tab Index

控制通過TAB鍵切換域時(shí)的前后次序,前提是“TAB停留”選項(xiàng)選中了

Tab Stop

控制是否可以用TAB鍵來切換(勾選上可以)

字段邊框?qū)傩裕‵ield Border)

aras,ui

屬性

字段說明

字段的標(biāo)簽解釋

邊框?qū)挾?/p>

邊框線寬度

Container Name

容器名稱

表單屬性(Form Properties)

aras,ui

屬性名

描述

名稱

表單名稱

描述

表單描述

Identity

Who has access to the Form, this is defined in the ItemType’s View tab

Function

Specifies what function (Edit, View, Print, etc.) uses the Form; default is both editing and viewing

Classification

ItemType classification associated with this Form

寬度

表單的顯示寬度

高度

表單的顯示高度

樣式表

表單的顯示樣式

Category Form

Displays the Form in the Workspace Pane when the user clicks on the TOC Category, the Form name must match the Category value

表單主體屬性(Form Body)

aras,ui

屬性

顏色

表單的背景顏色

圖像

表單的背景圖像

重復(fù)

當(dāng)圖片尺寸不足以覆蓋表單時(shí),確認(rèn)重復(fù)方式

附件

Whether scrolling moves the Form or if the Form is fixed

是否滾動(dòng)移動(dòng)表單或表單固定(Scroll/Fixed)

表單事件(Form Event)&字段事件(Field Event)

屬性

新建對(duì)象

點(diǎn)擊“新建對(duì)象”圖標(biāo)

關(guān)聯(lián)對(duì)象

點(diǎn)擊“關(guān)聯(lián)對(duì)象”圖標(biāo)

字段事件和表單事件可以根據(jù)用戶的操作在運(yùn)行對(duì)應(yīng)的客戶端或服務(wù)段方法。事件可以通過用戶操作觸發(fā),如鼠標(biāo)事件(點(diǎn)擊、移動(dòng)等)或者頁面操作(例如上傳、打印等),方法類別決定它是在服務(wù)端或在客戶端運(yùn)行。

表單觸發(fā)事件:

字段觸發(fā)

表單觸發(fā)

失去焦點(diǎn)事件

OnBlur

OnAfterPrint

屬性值改變事件

OnChange

OnBeforePrint

鼠標(biāo)點(diǎn)擊事件

OnClick

OnBeforeUnload

鼠標(biāo)雙擊事件

OnDbClik

OnContextMenu

獲取焦點(diǎn)事件

OnFocus

OnKeyDown

選擇事件

OnSelect

OnKeyUp

OnLoad

OnUnload

OnMouseDown

OnMouseOver

OnMouseMove

OnMouseUp

OnResize

onFormPopulated

字段樣式(Field CSS)

aras,ui

版面設(shè)計(jì)工具欄

圖標(biāo)

描述

刪除

aras,ui

刪除表單上的元素

文本字段

aras,ui

插入文本元素

密碼字段

aras,ui

插入密碼域元素

文本區(qū)域

aras,ui

插入大文本元素

下拉列表

aras,ui

插入下拉列表元素

列表框

aras,ui

插入列表元素

多選列表框

aras,ui

插入多選列表元素

復(fù)選框

aras,ui

插入復(fù)選框元素

單選按鈕

aras,ui

插入選項(xiàng)按鈕元素

按鈕

aras,ui

插入命令按鈕元素

日歷

aras,ui

插入日歷元素

顏色

aras,ui

插入顏色元素

圖像

aras,ui

插入圖像元素

New xClass

aras,ui

A series of controls that can be added to a Form and can then be associated with a Property. This is also where the xClass Tree Hierarchy for Extended Classification can be added, using the Add New xClass button

Snap

aras,ui

Choosing a snap value of 5 or 10 will automatically place moved elements on the nearest fifth or tenth pixel in the Form Layout area, respectively.

選擇 5 或 10 的捕捉值,將自動(dòng)把移動(dòng)的元素分別放置在表單布局區(qū)域中最近的第5或第10像素上。文章來源地址http://www.zghlxwxcb.cn/news/detail-796478.html

到了這里,關(guān)于Aras入門教程3_可配置用戶界面(Configurable User Interface)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • Python GUI初學(xué)者教程,輕松構(gòu)建用戶界面

    Python GUI初學(xué)者教程,輕松構(gòu)建用戶界面

    Python GUI入門教程:輕松構(gòu)建用戶界面。 微信搜索關(guān)注《Python學(xué)研大本營(yíng)》,加入讀者群,分享更多精彩 Python以其簡(jiǎn)單性和多功能性成為最受歡迎的編程語言之一。從網(wǎng)絡(luò)開發(fā)到數(shù)據(jù)科學(xué),Python被廣泛應(yīng)用于各個(gè)領(lǐng)域。 本文將探索Python內(nèi)置的用于創(chuàng)建圖形用戶界面(GUI)的庫

    2024年01月15日
    瀏覽(26)
  • C# GUI編程入門指南:學(xué)習(xí)如何使用C#創(chuàng)建圖形用戶界面

    C# GUI編程入門指南:學(xué)習(xí)如何使用C#創(chuàng)建圖形用戶界面 在本文中,我們將介紹如何使用C#編寫GUI程序。GUI(Graphical User Interface)是一種以圖形方式呈現(xiàn)信息和操作功能的界面,它使得用戶與計(jì)算機(jī)更加直觀和友好。C#是一種強(qiáng)大的編程語言,它提供了豐富的庫和工具來幫助我們

    2024年01月21日
    瀏覽(35)
  • Python tkinter(GUI編程)模塊教程:打造出精美圖形用戶界面

    隨著程序越來越復(fù)雜,命令行已經(jīng)無法滿足我們的需求,圖形化界面已成為當(dāng)前主流的界面設(shè)計(jì)。在Python中,tkinter是一種簡(jiǎn)單易用的GUI編程工具,可以幫助我們快速地創(chuàng)建圖形用戶界面。本文將通過實(shí)例詳細(xì)介紹如何使用Python tkinter模塊來打造出精美的圖形用戶界面。 安裝

    2024年02月13日
    瀏覽(33)
  • Python圖形用戶界面設(shè)計(jì)-Delphi For Python高級(jí)開發(fā)教程

    Python圖形用戶界面設(shè)計(jì)-Delphi For Python高級(jí)開發(fā)教程

    目錄 簡(jiǎn)介........................................................................ 5 誰應(yīng)該閱讀這本教程........................................................ 5 第1章 Python與Delphi...................................................... 6 什么是Delphi4Python....................................................... 6 1.1 Python語言介紹....

    2024年02月07日
    瀏覽(62)
  • 【PyQt5】構(gòu)建強(qiáng)大的Python圖形用戶界面應(yīng)用程序 -- 入門指南

    【PyQt5】構(gòu)建強(qiáng)大的Python圖形用戶界面應(yīng)用程序 -- 入門指南

    ? 作者主頁: 愛笑的男孩。的博客_CSDN博客-深度學(xué)習(xí),活動(dòng),python領(lǐng)域博主 愛笑的男孩。擅長(zhǎng)深度學(xué)習(xí),活動(dòng),python,等方面的知識(shí),愛笑的男孩。關(guān)注算法,python,計(jì)算機(jī)視覺,圖像處理,深度學(xué)習(xí),pytorch,神經(jīng)網(wǎng)絡(luò),opencv領(lǐng)域. https://blog.csdn.net/Code_and516?type=blog 個(gè)人簡(jiǎn)介:打工人。 持續(xù)分

    2024年02月15日
    瀏覽(27)
  • [QT編程系列-39]:用戶界面UI - 樣式表QSS與樣式文件快速入門

    目錄 1. 概述 2. CSS 3. QSS示例 4. QT樣式表文件使用方法與步驟 5. QT內(nèi)置樣式 6. QT常見基本樣式 Qt提供了一種稱為Qt樣式表(Qt Style Sheets)的機(jī)制,可以用于 自定義和美化Qt應(yīng)用程序的用戶界面(UI) 。 使用Qt樣式表,你可以通過類似 CSS 的語法來定義UI元素的外觀和布局,包括顏

    2024年02月04日
    瀏覽(29)
  • 很合適新手入門使用的Python游戲開發(fā)包pygame實(shí)例教程-01[開發(fā)環(huán)境配置與第一個(gè)界面]

    很合適新手入門使用的Python游戲開發(fā)包pygame實(shí)例教程-01[開發(fā)環(huán)境配置與第一個(gè)界面]

    我們假定你已經(jīng)安裝好了我們開發(fā)python程序的sublime text,如果不知道怎么安裝的可以參照我前面的博文。這里只需要解決的是配置好Pygame的問題。本篇博文主要解決開發(fā)環(huán)境配置以及第一個(gè)游戲界面的顯示問題。 文章原出處: https://blog.csdn.net/haigear/article/details/130173836 沒有

    2024年01月25日
    瀏覽(35)
  • [QT編程系列-3]:C++圖形用戶界面編程,QT框架快速入門培訓(xùn) - 2- QT程序的運(yùn)行框架:HelloWorld、常見控件、對(duì)象樹原理

    [QT編程系列-3]:C++圖形用戶界面編程,QT框架快速入門培訓(xùn) - 2- QT程序的運(yùn)行框架:HelloWorld、常見控件、對(duì)象樹原理

    目錄 2.?QT程序的運(yùn)行框架 2.1 Hello World程序框架 2.2 QT Designer初識(shí) 2.3 用QT Designer設(shè)計(jì)用戶登錄界 上述示例代碼中,首先根據(jù)應(yīng)用程序的需求使用 QCoreApplication 或 QApplication 定義 app 對(duì)象。如果你的應(yīng)用程序需要圖形界面,則使用 QApplication,否則使用 QCoreApplication。然后,你可以

    2024年02月15日
    瀏覽(23)
  • [QT編程系列-7]:C++圖形用戶界面編程,QT框架快速入門培訓(xùn) - 3- QT窗體設(shè)計(jì) - 自定義工具欄、狀態(tài)欄、快捷鍵、圖標(biāo)

    [QT編程系列-7]:C++圖形用戶界面編程,QT框架快速入門培訓(xùn) - 3- QT窗體設(shè)計(jì) - 自定義工具欄、狀態(tài)欄、快捷鍵、圖標(biāo)

    目錄 3.?QT窗體設(shè)計(jì) 3.2?自定義工具欄 3.2.1 目標(biāo) 3.2.2 實(shí)現(xiàn)過程 3.2?自定義狀態(tài)欄 3.2.1??目標(biāo) 3.2.2? 過程 3.3?自定義動(dòng)作快捷鍵 3.4?自定義圖標(biāo) 在Qt中,ToolBar(工具欄)是一種常見的GUI元素,用于提供應(yīng)用程序的常用工具按鈕和操作。工具欄通常包含一系列圖標(biāo)按鈕,用于執(zhí)

    2024年02月15日
    瀏覽(30)
  • 用戶界面設(shè)計(jì)和評(píng)估:如何設(shè)計(jì)具有吸引力、易用性和可靠性的用戶界面?

    作者:禪與計(jì)算機(jī)程序設(shè)計(jì)藝術(shù) 用戶界面(User Interface)是一個(gè)給用戶提供服務(wù)或者產(chǎn)品的系統(tǒng)界面,通過人機(jī)交互、信息呈現(xiàn)、文字表達(dá)、圖形符號(hào)等表現(xiàn)形式進(jìn)行溝通,幫助用戶更好的使用產(chǎn)品或服務(wù)。它對(duì)于提升企業(yè)的品牌影響力、增加客戶黏性、改善用戶體驗(yàn)、降低

    2024年02月13日
    瀏覽(27)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包