1# -*- coding: utf-8 -*-

2"""

3/***************************************************************************

4 FlatDialog

5 A QGIS plugin

6 Flat

7 -------------------

8 begin : 2017-04-26

9 git sha : $Format:%H$

10 copyright : (C) 2017 by Hermesys

11 email : shpark@hermesys.co.kr

12 ***************************************************************************/

13

14/***************************************************************************

15 * *

16 * This program is free software; you can redistribute it and/or modify *

17 * it under the terms of the GNU General Public License as published by *

18 * the Free Software Foundation; either version 2 of the License, or *

19 * (at your option) any later version. *

20 * *

21 ***************************************************************************/

22"""

23

24 import os

25

26 from qgis.PyQt import QtWidgets, uic

27

28 FORM_CLASS, _ = uic.loadUiType(

29 os.path.join(os.path.dirname(__file__), "FileFormat_dialog_base.ui")

30)

31

32

33 class FileFormat(QtWidgets.QDialog, FORM_CLASS):

34 def __init__(self, parent=None):

35 """Constructor."""

36 super(FileFormat, self).__init__(parent)

37

38 self.setupUi(self)

39 self.txtFileFormat.setEnabled(False)

40 text = "data1\ndata2\ndata3\ndata4\ndata5\n.\n.\n.\n.\nNo characters are inclued.\nOnly numberic data vlue is listed for one column"

41 self.txtFileFormat.setText(text)