<?xml version="1.0" encoding="utf-8"?>

<!--
/***************************************************************************
 copyright   : (C) 2025 by Martin Preuss
 email       : martin@aqbanking.de

 ***************************************************************************
 * This file is part of the project "AqBanking".                           *
 * Please see toplevel file COPYING of that project for license details.   *
 ***************************************************************************/
-->

<dialog type="dialog" name="ah_edit_user_pintan" i18n="aqbanking"
        flags="decorShrinkable decorStretchable decorMaximize decorMinimize decorClose decorMenu" >
  <widget type="vlayout" flags="fillX fillY" >

    <widget           type="groupBox" text="General Settings"                 flags="fillX" >
      <widget         type="vlayout"                                          flags="fillX fillY" >
        <widget       type="hlayout"                                          flags="fillX" >

          <widget     type="gridLayout" columns="2"                           flags="fillX" >

            <widget   type="label"      text="User Name" />
            <widget   type="lineEdit"   name="userNameEdit" columns="20"      flags="fillX" />

            <widget   type="label"      text="Bank Code" />
            <widget   type="hlayout"                                          flags="fillX" >
              <widget type="lineEdit"   name="bankCodeEdit"                   flags="fillX" />
              <widget type="pushButton" name="bankCodeButton" text="Select" />
            </widget>

            <widget   type="label"      text="User Id" />
            <widget   type="lineEdit"   name="userIdEdit" columns="20"        flags="fillX" />

            <widget   type="label"      text="Customer Id" />
            <widget   type="lineEdit"   name="customerIdEdit" columns="20"    flags="fillX" />

          </widget>

        </widget> <!-- hlayout -->
      </widget>   <!-- vlayout -->
    </widget>     <!-- groupBox -->


    <widget           type="groupBox"   text="HBCI Settings"                  flags="fillX" >
      <widget         type="vlayout"                                          flags="fillX fillY" >

        <widget       type="gridLayout" columns="2"                           flags="fillX" >

          <widget     type="label"      text="Server URL" />
          <widget     type="lineEdit"   name="urlEdit" columns="40"           flags="fillX" />

          <widget     type="label"      text="HBCI Version" />
          <widget     type="comboBox"   name="hbciVersionCombo" columns="20"  flags="fillX" />

          <widget     type="label"      text="HTTP Version" />
          <widget     type="comboBox"   name="httpVersionCombo"  columns="20" flags="fillX" />

          <widget     type="label"      text="Selected TAN Method" />
          <widget     type="comboBox"   name="tanMethodCombo"  columns="20"   flags="fillX" />

          <widget     type="label" text="Override TAN Input Mechanism" />
          <widget     type="comboBox"   name="tanMechanismCombo" columns="20" flags="fillX" />

          <widget     type="label"      text="TAN Medium ID" />
          <widget     type="lineEdit"   name="tanMediumIdEdit"   columns="32" flags="fillX" />

        </widget>

        <widget       type="hlayout"    name="hlayout3"                       flags="fillX" >
          <widget     type="checkBox"   name="noBase64Check" text="Disable Base64 Encoding" />
          <widget     type="hspacer"    name="hspacer3"                       flags="fillX" />
        </widget>
        <widget       type="hlayout"    name="hlayout4"                       flags="fillX" >
          <widget     type="checkBox"   name="omitSmsAccountCheck" text="Omit SMS Account" />
          <widget     type="hspacer"    name="hspacer4"                       flags="fillX" />
        </widget>

      </widget>   <!-- vlayout -->
    </widget>     <!-- groupBox -->


    <widget           type="groupBox"   text="Special Actions"                flags="fillX" >
      <widget         type="gridLayout" columns="3"                           flags="fillX equalWidth" >
        <widget       type="pushButton" text="Get Certificate" name="getCertButton" />
        <widget       type="pushButton" text="Get Bank Info"   name="getBankInfoButton" />
        <widget       type="pushButton" text="Get System Id"   name="getSysIdButton" />
        <widget       type="pushButton" text="Get iTAN Modes"  name="getItanModesButton" />
        <widget       type="pushButton" text="Get Accounts"    name="getAccountsButton" />
        <widget       type="pushButton" text="Get SEPA Info"   name="getSepaButton" />
      </widget>
    </widget>     <!-- groupBox -->


    <!-- wizard controls -->
    <widget           type="vspacer"                                          flags="fillY" />
    <widget           type="hLine"                                            flags="fillX" />
    <widget           type="hlayout"                                          flags="fillX equalWidth" >
      <widget         type="pushButton" text="Help"   name="helpButton" />
      <widget         type="hspacer"                                          flags="fillX" />
      <widget         type="pushButton" text="Ok"     name="okButton"         flags="default" />
      <widget         type="pushButton" text="Apply"  name="applyButton" />
      <widget         type="pushButton" text="Abort"  name="abortButton" />
    </widget>

  </widget>

</dialog>
