Skip to content
Snippets Groups Projects
Commit bc590d5e authored by Alexandros Asonitis's avatar Alexandros Asonitis
Browse files

started with the ADU Interface

parent 58300044
No related branches found
No related tags found
No related merge requests found
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}
import ipywidgets as widgets
from ipywidgets import GridspecLayout,Layout
# Create the grids
def interface():
#some layout and sampling configurations
style = {'description_width': 'initial'}
sample_information=widgets.Label("Sample Information",layout=Layout(height='auto', width='auto'))
information_grid=GridspecLayout(2,4)
#first and third column
#first column
information_grid[0,0]=widgets.Label("Processing-Nr.",layout=Layout(height='auto', width='auto'))
information_grid[1,0]=widgets.Label("Sample-Nr.",layout=Layout(height='auto', width='auto'))
#information_grid[2,0]=widgets.Label("Piece",layout=Layout(height='auto', width='auto'))
#last column
information_grid[0,3]=widgets.Label("Field(XYY)",layout=Layout(height='auto', width='auto'))
information_grid[1,3]=widgets.Label("Transistor",layout=Layout(height='auto', width='auto'))
#information_grid[2,3]=widgets.Label("Testlevel",layout=Layout(height='auto', width='auto'))
#coluns 2 and 3
for i in range(2):
for j in range(1,3):
information_grid[i,j]=widgets.Text(layout=Layout(height='auto', width='auto'))
display(sample_information)
display(information_grid)
print()
test_contacts=widgets.Checkbox(description = "Test of the Contacts",value = True,indent = False)
display(test_contacts)
print()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment