anchor.diff:  Remove will remove the currently selected entry from the table-model.
   When nothing is selected, the last entry will be removed.
   Note:
  ----
  +----
   Currently, only removing the last entry is supported.
  ----
  +----
   
   === Code: btn_remove / btn_remove_last
  -[btn_remove_last_clicked, python]
  ----
  +[source, python, numbered]
  +----
   self.ctl.remove_last(self.model_data)
  ----
  +----
   
  -[remove_last, python]
  ----
  -table_model.removeRows(table_model.rowCount(None) - 1, 1) #<1>
  ----
  +[source, python, numbered]
  +----
  +table_model.removeRows(table_model.rowCount(None) - 1, 1) # <1>
  +----
  +
   <1> This removes the last entry, based on the rowCount method of the model.
   
   We can see that the table-model contains most of the functionality to
  
positive.code: make corrections when needed, before actually sending them to the database.
  
  === Code
  [first part, python]
  ---
  if None:  
    init_tbl_data() #<1>
  else:  
    get_input_line #<2>
  ---
  <1>`->` makes sure we have a model connected to our table.
  <2> `->` gets data from the input fields, this is a first area of manipulation. Get_input_line his returns a dictionary of input values, adressable via keys.
  
  For the model to be created, the input line is retrieved. It is necessary to determine what values go into the table model.
  
  [next step, python]
  ---
    self.ctl.add_tbl_data(self.model_data, [input_line])
  ---
  Adds the inputline directly to the model via insertRows.
  
  
  
negative.code: - process trade: get statements, print them and write them to the db
  
  ==== Code: get_input_fields
  [source, python, numbered]
  ----
  None 
  ----
  