<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>TerrainProfileDialog</class>
 <widget class="QDialog" name="TerrainProfileDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>700</width>
    <height>600</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>지형 단면 프로파일러 (Terrain Profiler) - ArchToolkit</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QLabel" name="label_Header">
     <property name="text">
      <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt;지형 단면 분석&lt;/span&gt;&lt;/p&gt;&lt;p&gt;지도상의 가상 절단선을 따라 고도 변화를 그래프로 시각화합니다.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
     </property>
     <property name="styleSheet">
      <string>background-color: #fff3e0; padding: 10px; border-radius: 4px; border: 1px solid #ffe0b2;</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupDem">
     <property name="title">
      <string>1. 대상 DEM 선택</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <widget class="QgsMapLayerComboBox" name="cmbDemLayer"/>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupSettings">
     <property name="title">
      <string>2. 단면 추출 도구</string>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
       <widget class="QLabel" name="lblSamples">
        <property name="text">
         <string>샘플링 정밀도 (점 개수):</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="spinSamples">
        <property name="maximum">
         <number>5000</number>
        </property>
        <property name="value">
         <number>200</number>
        </property>
        <property name="singleStep">
         <number>50</number>
        </property>
        <property name="toolTip">
         <string>단면선 상에서 고도를 추출할 지점의 개수입니다. 높을수록 정밀합니다.</string>
        </property>
       </widget>
      </item>
      <item>
       <spacer name="horizontalSpacer_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
       </spacer>
      </item>
      <item>
       <widget class="QPushButton" name="btnDrawLine">
        <property name="text">
         <string>✏️ 지도에 단면선 그리기</string>
        </property>
        <property name="styleSheet">
         <string>font-weight: bold; background-color: #ff9800; color: white; padding: 5px 10px;</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="btnClear">
        <property name="text">
         <string>초기화</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupProfile">
     <property name="title">
      <string>3. 단면 결과 그래프</string>
     </property>
     <layout class="QVBoxLayout" name="chartLayout">
      <property name="topMargin">
       <number>10</number>
      </property>
      <property name="bottomMargin">
       <number>10</number>
      </property>
      <item>
       <widget class="QLabel" name="lblStats">
        <property name="text">
         <string>지도에 선을 그리면 여기에 단면 그래프와 통계가 표시됩니다.</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignCenter</set>
        </property>
        <property name="styleSheet">
         <string>color: #999; font-style: italic;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <item>
      <widget class="QPushButton" name="btnExportCsv">
       <property name="text">
        <string>💾 CSV 데이터 저장</string>
       </property>
       <property name="enabled">
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="btnExportImage">
       <property name="text">
        <string>🖼️ 이미지 저장</string>
       </property>
       <property name="enabled">
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="btnClose">
       <property name="text">
        <string>닫기</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>QgsMapLayerComboBox</class>
   <extends>QComboBox</extends>
   <header>qgis.gui</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>
