Token Developer Portal
Token AI Support
OKC Platform - Linux
OKC Platform - Linux
  • OKC Linux Platform
  • Bank App Protocol
  • Devices
    • 220TR/L
      • Template Banking App
      • Tools
      • DOCS
      • Platform
    • 300TR
      • Template Banking App
      • Ui Template
      • Card Redirection
      • Tools
      • DOCS
      • Platform
    • Pinpad
Powered by GitBook
On this page
  • Revision History
  • 1. Description
  • 2. Settings Qt Creater
  • 2. Menu Structor
  • 2.1 List Menu
  • 2.2 Pop-up Menu
  • 2.3 Status Notification Menu
  • 2.4 Edit Menu
  1. Devices
  2. 300TR

Ui Template

PreviousTemplate Banking AppNextCard Redirection

Last updated 1 month ago

Revision History

VERSION

AUTHOR

CHANGE

DATE

1.0

Burçin Büyükçakıroğlu

Ui

06.11.2014

1. Description

The document explains the usage of our interface functions with examples for developers creating a banking application.

2. Settings Qt Creater

The settings in the 'Build Settings' tab should be as follows. The step order specified in 'Build steps' must be in the same sequence.

2. Menu Structor

The menu consists of three sections:

• Header • Body • Footer

The body section of the menu can be used for three different purposes:

• List • Edit • Pop-up • Status

2.1 List Menu

The list menu allows the listing of submenus. Additionally, three buttons can be defined at the bottom.

To create a list menu, the following steps must be defined:

menu->bodyItemEnable(menu->ListMenu);  

menu->headerSetText("Title");  
menu->bodyMenuAddItemToList("1st Item", "", 1);  
menu->bodyMenuAddItemToList("2nd Item", "", 2);  
…..  
…..  
menu->bodyMenuCreateItemList(); 

2.2 Pop-up Menu

The Pop-up menu is a type of menu that appears over the active menu and is used for purposes such as warnings, errors, information, and asking questions.

menu->bodyPopUpSetHeader(CBody_PopUp::Confirmation, "POPUP Header");
menu->bodyPopUpSetButtons(CBody_PopUp::Ok_Cancel, "   OKEY", "   CANCEL");
menu->bodyPopUpSetText("Warning Message", 2);
menu->bodyPopUpShow();
int ret = 0;
menu->bodyPopUpGetRet(&ret);
if(ret == 0)
{
	// press Okey
}
else
{
	// press Cancel
}

2.3 Status Notification Menu

This menu type is used to provide status notifications related to performed operations.

menu->bodyItemEnable(menu->TextLine);
menu->footerClearButtonContents();
menu->bodyTextWrite("State Message", 2 /*Line No*/);

2.4 Edit Menu

The Edit Menu allows data entry using the keypad.

menu->bodyItemEnable(menu->EditLine);
menu->bodyEditLineSetFormat(CBody_EditLine::Amount, 10);
menu->headerSet("Header");
menu->bodyEditLineSetTitle("EditBox Message");