// ============================================================
// omniflo_weichen.dcl - Weichen-Auswahl Dialog fuer Omniflo
// Zeigt gefilterte Weichen mit Details und Filteroptionen an.
// ============================================================

omniflo_weichen : dialog {
  label = "Omniflo Weichen Auswahl";

  : row {
    : popup_list {
      key = "profiltyp";
      label = "Profiltyp-Auswahl:";
      width = 50;
    }
  }

  : row {
    : boxed_radio_column {
      key = "schaltung";
      label = "Schaltungstyp";
      : radio_button { key = "sch_alle"; label = "Alle"; value = "1"; }
      : radio_button { key = "sch_m";   label = "Mechanisch (M)"; }
      : radio_button { key = "sch_p";   label = "Pneumatisch (P)"; }
    }
    : boxed_radio_column {
      key = "richtung";
      label = "Richtung";
      : radio_button { key = "ri_alle";   label = "Alle"; value = "1"; }
      : radio_button { key = "ri_links";  label = "Links"; }
      : radio_button { key = "ri_rechts"; label = "Rechts"; }
    }
  }

  : row {
    : edit_box {
      key = "val_sivasnr";
      label = "SivasNr:";
      width = 22;
      is_enabled = false;
    }
    : edit_box {
      key = "val_winkel";
      label = "Winkel:";
      width = 12;
      is_enabled = false;
    }
  }

  : row {
    : edit_box {
      key = "val_breite";
      label = "Breite:";
      width = 12;
      is_enabled = false;
    }
    : edit_box {
      key = "val_laenge";
      label = "Laenge:";
      width = 12;
      is_enabled = false;
    }
  }

  ok_cancel;
}
