Skip to content

Commit

Permalink
Merge pull request #24 from MIERUNE/feature/select-output
Browse files Browse the repository at this point in the history
設定画面を常に前面に表示
  • Loading branch information
Kanahiro authored Jun 11, 2024
2 parents 16c5cb1 + 829909f commit fc27a8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dem_to_csmap.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os

from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QDialog
from qgis.core import Qgis
from qgis.gui import QgsFileWidget
Expand All @@ -19,6 +20,9 @@ def __init__(self):
# ウィンドウタイトル
self.setWindowTitle("CSMap Plugin")

# ウィンドウを常に全面に表示する
self.setWindowFlags(Qt.WindowStaysOnTopHint)

# 入力データの制限
self.ui.mQgsFileWidget_input.setFilter("*")

Expand All @@ -37,8 +41,6 @@ def convert_dem_to_csmap(self):
input_path = self.ui.mQgsFileWidget_input.filePath()
output_path = self.ui.mQgsFileWidget_output.filePath()

# comment

try:
process.process(
input_path,
Expand Down

0 comments on commit fc27a8e

Please sign in to comment.