/usr/share/cyclograph/qt/ui_qt.py is in cyclograph-qt4 1.7.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 | ## imports are included from imports.py ##
from PyQt4 import QtCore, QtGui, QtWebKit
import cyclograph_rc
## end of imports ##
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'create_kml.ui'
#
# Created: Thu Aug 21 21:28:53 2014
# by: PyQt4 UI code generator 4.11.1
#
# WARNING! All changes made in this file will be lost!
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return _(text)
except AttributeError:
def _translate(context, text, disambig):
return _(text)
class Ui_Create_KML_Dialog(object):
def setupUi(self, Create_KML_Dialog):
Create_KML_Dialog.setObjectName(_fromUtf8("Create_KML_Dialog"))
Create_KML_Dialog.resize(800, 550)
Create_KML_Dialog.setMinimumSize(QtCore.QSize(484, 0))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/cyclograph.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Create_KML_Dialog.setWindowIcon(icon)
self.verticalLayout = QtGui.QVBoxLayout(Create_KML_Dialog)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.splitter = QtGui.QSplitter(Create_KML_Dialog)
self.splitter.setOrientation(QtCore.Qt.Horizontal)
self.splitter.setChildrenCollapsible(False)
self.splitter.setObjectName(_fromUtf8("splitter"))
self.groupBox = QtGui.QGroupBox(self.splitter)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
self.groupBox.setSizePolicy(sizePolicy)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.listWidget = QtGui.QListWidget(self.groupBox)
self.listWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
self.listWidget.setViewMode(QtGui.QListView.ListMode)
self.listWidget.setUniformItemSizes(False)
self.listWidget.setWordWrap(True)
self.listWidget.setObjectName(_fromUtf8("listWidget"))
item = QtGui.QListWidgetItem()
self.listWidget.addItem(item)
item = QtGui.QListWidgetItem()
self.listWidget.addItem(item)
item = QtGui.QListWidgetItem()
self.listWidget.addItem(item)
item = QtGui.QListWidgetItem()
self.listWidget.addItem(item)
self.verticalLayout_2.addWidget(self.listWidget)
self.webView = QtWebKit.QWebView(self.splitter)
self.webView.setMinimumSize(QtCore.QSize(0, 0))
self.webView.setUrl(QtCore.QUrl(_fromUtf8("about:blank")))
self.webView.setObjectName(_fromUtf8("webView"))
self.verticalLayout.addWidget(self.splitter)
self.buttonBox = QtGui.QDialogButtonBox(Create_KML_Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok|QtGui.QDialogButtonBox.Save)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(Create_KML_Dialog)
self.listWidget.setCurrentRow(0)
QtCore.QMetaObject.connectSlotsByName(Create_KML_Dialog)
def retranslateUi(self, Create_KML_Dialog):
Create_KML_Dialog.setWindowTitle(_translate("Create_KML_Dialog", "Create Kml", None))
self.groupBox.setTitle(_translate("Create_KML_Dialog", "Mode", None))
__sortingEnabled = self.listWidget.isSortingEnabled()
self.listWidget.setSortingEnabled(False)
item = self.listWidget.item(0)
item.setText(_translate("Create_KML_Dialog", "Open Route Service", None))
item = self.listWidget.item(1)
item.setText(_translate("Create_KML_Dialog", "OSRM", None))
item = self.listWidget.item(2)
item.setText(_translate("Create_KML_Dialog", "yournavigation", None))
item = self.listWidget.item(3)
item.setText(_translate("Create_KML_Dialog", "Draw on the map", None))
self.listWidget.setSortingEnabled(__sortingEnabled)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(580, 436)
MainWindow.setWindowTitle(_fromUtf8("Cyclograph"))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/cyclograph.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
MainWindow.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.horizontalLayout = QtGui.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.notebook = QtGui.QTabWidget(self.centralwidget)
self.notebook.setTabShape(QtGui.QTabWidget.Rounded)
self.notebook.setDocumentMode(True)
self.notebook.setObjectName(_fromUtf8("notebook"))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.notebook.addTab(self.tab, _fromUtf8("Tab 1"))
self.horizontalLayout.addWidget(self.notebook)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 580, 27))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.filemenu = QtGui.QMenu(self.menubar)
self.filemenu.setObjectName(_fromUtf8("filemenu"))
self.menu = QtGui.QMenu(self.menubar)
self.menu.setTitle(_fromUtf8("?"))
self.menu.setObjectName(_fromUtf8("menu"))
self.menuOptions = QtGui.QMenu(self.menubar)
self.menuOptions.setObjectName(_fromUtf8("menuOptions"))
self.menu_Kml_server = QtGui.QMenu(self.menuOptions)
self.menu_Kml_server.setObjectName(_fromUtf8("menu_Kml_server"))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtGui.QToolBar(MainWindow)
self.toolBar.setWindowTitle(_fromUtf8("toolbar"))
self.toolBar.setMovable(True)
self.toolBar.setIconSize(QtCore.QSize(32, 32))
self.toolBar.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolBar.setObjectName(_fromUtf8("toolBar"))
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.menu_item_open = QtGui.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/qt-icons/pixmaps/open.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menu_item_open.setIcon(icon1)
self.menu_item_open.setShortcut(_fromUtf8("Ctrl+O"))
self.menu_item_open.setObjectName(_fromUtf8("menu_item_open"))
self.menu_item_save = QtGui.QAction(MainWindow)
self.menu_item_save.setEnabled(False)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/qt-icons/pixmaps/save.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menu_item_save.setIcon(icon2)
self.menu_item_save.setShortcut(_fromUtf8("Ctrl+S"))
self.menu_item_save.setObjectName(_fromUtf8("menu_item_save"))
self.menu_item_exit = QtGui.QAction(MainWindow)
self.menu_item_exit.setShortcut(_fromUtf8("Ctrl+Q"))
self.menu_item_exit.setObjectName(_fromUtf8("menu_item_exit"))
self.menu_item_about = QtGui.QAction(MainWindow)
self.menu_item_about.setObjectName(_fromUtf8("menu_item_about"))
self.menu_item_s1 = QtGui.QAction(MainWindow)
self.menu_item_s1.setCheckable(True)
self.menu_item_s1.setChecked(True)
self.menu_item_s1.setText(_fromUtf8("geonames.org"))
self.menu_item_s1.setObjectName(_fromUtf8("menu_item_s1"))
self.menu_item_s2 = QtGui.QAction(MainWindow)
self.menu_item_s2.setCheckable(True)
self.menu_item_s2.setText(_fromUtf8("earthtools.org"))
self.menu_item_s2.setObjectName(_fromUtf8("menu_item_s2"))
self.menu_item_s3 = QtGui.QAction(MainWindow)
self.menu_item_s3.setCheckable(True)
self.menu_item_s3.setText(_fromUtf8("usgs.net"))
self.menu_item_s3.setObjectName(_fromUtf8("menu_item_s3"))
self.menu_item_new = QtGui.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/qt-icons/pixmaps/new.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menu_item_new.setIcon(icon3)
self.menu_item_new.setShortcut(_fromUtf8("Ctrl+N"))
self.menu_item_new.setObjectName(_fromUtf8("menu_item_new"))
self.action_add = QtGui.QAction(MainWindow)
self.action_add.setEnabled(False)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/icon_add.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_add.setIcon(icon4)
self.action_add.setShortcut(_fromUtf8("+"))
self.action_add.setObjectName(_fromUtf8("action_add"))
self.action_edit = QtGui.QAction(MainWindow)
self.action_edit.setEnabled(False)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/icon_modify.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_edit.setIcon(icon5)
self.action_edit.setObjectName(_fromUtf8("action_edit"))
self.action_delete = QtGui.QAction(MainWindow)
self.action_delete.setEnabled(False)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/icon_delete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_delete.setIcon(icon6)
self.action_delete.setShortcut(_fromUtf8("-"))
self.action_delete.setObjectName(_fromUtf8("action_delete"))
self.action_plot = QtGui.QAction(MainWindow)
self.action_plot.setEnabled(False)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/icon_plot.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_plot.setIcon(icon7)
self.action_plot.setObjectName(_fromUtf8("action_plot"))
self.action_properties = QtGui.QAction(MainWindow)
self.action_properties.setEnabled(False)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/icon_info.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_properties.setIcon(icon8)
self.action_properties.setObjectName(_fromUtf8("action_properties"))
self.menu_item_bug = QtGui.QAction(MainWindow)
self.menu_item_bug.setObjectName(_fromUtf8("menu_item_bug"))
self.menu_item_createkml = QtGui.QAction(MainWindow)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/icon_ckml.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menu_item_createkml.setIcon(icon9)
self.menu_item_createkml.setShortcut(_fromUtf8(""))
self.menu_item_createkml.setObjectName(_fromUtf8("menu_item_createkml"))
self.menu_item_save_as = QtGui.QAction(MainWindow)
self.menu_item_save_as.setEnabled(False)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/qt-icons/pixmaps/save_as.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menu_item_save_as.setIcon(icon10)
self.menu_item_save_as.setShortcut(_fromUtf8("Ctrl+Alt+S"))
self.menu_item_save_as.setObjectName(_fromUtf8("menu_item_save_as"))
self.preferences = QtGui.QAction(MainWindow)
self.preferences.setObjectName(_fromUtf8("preferences"))
self.action_map = QtGui.QAction(MainWindow)
self.action_map.setEnabled(False)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/icon_map.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.action_map.setIcon(icon11)
self.action_map.setObjectName(_fromUtf8("action_map"))
self.filemenu.addAction(self.menu_item_new)
self.filemenu.addAction(self.menu_item_open)
self.filemenu.addAction(self.menu_item_createkml)
self.filemenu.addAction(self.menu_item_save)
self.filemenu.addAction(self.menu_item_save_as)
self.filemenu.addSeparator()
self.filemenu.addAction(self.menu_item_exit)
self.menu.addAction(self.menu_item_about)
self.menu.addAction(self.menu_item_bug)
self.menu_Kml_server.addAction(self.menu_item_s1)
self.menu_Kml_server.addAction(self.menu_item_s2)
self.menu_Kml_server.addAction(self.menu_item_s3)
self.menuOptions.addAction(self.menu_Kml_server.menuAction())
self.menuOptions.addSeparator()
self.menuOptions.addAction(self.preferences)
self.menubar.addAction(self.filemenu.menuAction())
self.menubar.addAction(self.menuOptions.menuAction())
self.menubar.addAction(self.menu.menuAction())
self.toolBar.addAction(self.menu_item_new)
self.toolBar.addAction(self.menu_item_open)
self.toolBar.addAction(self.menu_item_createkml)
self.toolBar.addAction(self.menu_item_save)
self.toolBar.addSeparator()
self.toolBar.addAction(self.action_add)
self.toolBar.addAction(self.action_edit)
self.toolBar.addAction(self.action_delete)
self.toolBar.addSeparator()
self.toolBar.addAction(self.action_plot)
self.toolBar.addAction(self.action_map)
self.toolBar.addAction(self.action_properties)
self.retranslateUi(MainWindow)
self.notebook.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
self.filemenu.setTitle(_translate("MainWindow", "File", None))
self.menuOptions.setTitle(_translate("MainWindow", "Options", None))
self.menu_Kml_server.setTitle(_translate("MainWindow", "&Kml server", None))
self.menu_item_open.setText(_translate("MainWindow", "&Open", None))
self.menu_item_save.setText(_translate("MainWindow", "&Save", None))
self.menu_item_exit.setText(_translate("MainWindow", "&Quit", None))
self.menu_item_about.setText(_translate("MainWindow", "About", None))
self.menu_item_new.setText(_translate("MainWindow", "&New", None))
self.action_add.setText(_translate("MainWindow", "Add", None))
self.action_add.setToolTip(_translate("MainWindow", "Press + on the keyboard to add a check-point", None))
self.action_edit.setText(_translate("MainWindow", "Edit", None))
self.action_edit.setToolTip(_translate("MainWindow", "Edit a check-point", None))
self.action_delete.setText(_translate("MainWindow", "Delete", None))
self.action_delete.setToolTip(_translate("MainWindow", "Press - on the keyboard to remove the selected check-point", None))
self.action_plot.setText(_translate("MainWindow", "Plot", None))
self.action_plot.setToolTip(_translate("MainWindow", "Plot your slope", None))
self.action_properties.setText(_translate("MainWindow", "Info", None))
self.action_properties.setToolTip(_translate("MainWindow", "Informations about the slope", None))
self.menu_item_bug.setText(_translate("MainWindow", "Signal a bug", None))
self.menu_item_createkml.setText(_translate("MainWindow", "&Create Kml", None))
self.menu_item_createkml.setIconText(_translate("MainWindow", "Create", None))
self.menu_item_createkml.setToolTip(_translate("MainWindow", " Create Kml", None))
self.menu_item_save_as.setText(_translate("MainWindow", "Save &As", None))
self.menu_item_save_as.setIconText(_translate("MainWindow", "Save as", None))
self.preferences.setText(_translate("MainWindow", "&Preferences", None))
self.action_map.setText(_translate("MainWindow", "Map", None))
self.action_map.setIconText(_translate("MainWindow", "Map", None))
self.action_map.setToolTip(_translate("MainWindow", "Show the map of your slope", None))
class Ui_Slope_Dialog(object):
def setupUi(self, Slope_Dialog):
Slope_Dialog.setObjectName(_fromUtf8("Slope_Dialog"))
Slope_Dialog.resize(313, 336)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/cyclograph.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Slope_Dialog.setWindowIcon(icon)
self.formLayout = QtGui.QFormLayout(Slope_Dialog)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label = QtGui.QLabel(Slope_Dialog)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
self.s_name = QtGui.QLineEdit(Slope_Dialog)
self.s_name.setObjectName(_fromUtf8("s_name"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.s_name)
self.label_2 = QtGui.QLabel(Slope_Dialog)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
self.s_state = QtGui.QLineEdit(Slope_Dialog)
self.s_state.setObjectName(_fromUtf8("s_state"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.s_state)
self.label_3 = QtGui.QLabel(Slope_Dialog)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_3)
self.s_comment = QtGui.QTextEdit(Slope_Dialog)
self.s_comment.setObjectName(_fromUtf8("s_comment"))
self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.s_comment)
self.buttonBox = QtGui.QDialogButtonBox(Slope_Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.buttonBox)
self.label_4 = QtGui.QLabel(Slope_Dialog)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_4)
self.s_author = QtGui.QLineEdit(Slope_Dialog)
self.s_author.setObjectName(_fromUtf8("s_author"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.s_author)
self.label_5 = QtGui.QLabel(Slope_Dialog)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_5)
self.s_email = QtGui.QLineEdit(Slope_Dialog)
self.s_email.setObjectName(_fromUtf8("s_email"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.s_email)
self.label_6 = QtGui.QLabel(Slope_Dialog)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_6)
self.label_7 = QtGui.QLabel(Slope_Dialog)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_7)
self.average_grad = QtGui.QLabel(Slope_Dialog)
self.average_grad.setText(_fromUtf8(""))
self.average_grad.setObjectName(_fromUtf8("average_grad"))
self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.average_grad)
self.max_grad = QtGui.QLabel(Slope_Dialog)
self.max_grad.setText(_fromUtf8(""))
self.max_grad.setObjectName(_fromUtf8("max_grad"))
self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.max_grad)
self.label_8 = QtGui.QLabel(Slope_Dialog)
self.label_8.setObjectName(_fromUtf8("label_8"))
self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_8)
self.height_difference = QtGui.QLabel(Slope_Dialog)
self.height_difference.setText(_fromUtf8(""))
self.height_difference.setObjectName(_fromUtf8("height_difference"))
self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.height_difference)
self.label_9 = QtGui.QLabel(Slope_Dialog)
self.label_9.setObjectName(_fromUtf8("label_9"))
self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_9)
self.height_gain = QtGui.QLabel(Slope_Dialog)
self.height_gain.setText(_fromUtf8(""))
self.height_gain.setObjectName(_fromUtf8("height_gain"))
self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.height_gain)
self.label.setBuddy(self.s_name)
self.label_2.setBuddy(self.s_state)
self.label_3.setBuddy(self.s_comment)
self.retranslateUi(Slope_Dialog)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Slope_Dialog.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Slope_Dialog.reject)
QtCore.QMetaObject.connectSlotsByName(Slope_Dialog)
def retranslateUi(self, Slope_Dialog):
Slope_Dialog.setWindowTitle(_translate("Slope_Dialog", "Slope Info", None))
self.label.setText(_translate("Slope_Dialog", "Name:", None))
self.label_2.setText(_translate("Slope_Dialog", "State:", None))
self.label_3.setText(_translate("Slope_Dialog", "Note:", None))
self.label_4.setText(_translate("Slope_Dialog", "Author:", None))
self.label_5.setText(_translate("Slope_Dialog", "E-mail:", None))
self.label_6.setText(_translate("Slope_Dialog", "Average gradient:", None))
self.label_7.setText(_translate("Slope_Dialog", "Max gradient:", None))
self.label_8.setText(_translate("Slope_Dialog", "Height difference:", None))
self.label_9.setText(_translate("Slope_Dialog", "Height gain:", None))
class Ui_manag_dlg(object):
def setupUi(self, manag_dlg):
manag_dlg.setObjectName(_fromUtf8("manag_dlg"))
manag_dlg.resize(317, 159)
manag_dlg.setWindowTitle(_fromUtf8(""))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/cyclograph.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
manag_dlg.setWindowIcon(icon)
self.formLayout = QtGui.QFormLayout(manag_dlg)
self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label_2 = QtGui.QLabel(manag_dlg)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
self.distance = QtGui.QLineEdit(manag_dlg)
self.distance.setObjectName(_fromUtf8("distance"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.distance)
self.buttonBox = QtGui.QDialogButtonBox(manag_dlg)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.buttonBox)
self.label = QtGui.QLabel(manag_dlg)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label)
self.name = QtGui.QLineEdit(manag_dlg)
self.name.setObjectName(_fromUtf8("name"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.name)
self.label_3 = QtGui.QLabel(manag_dlg)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
self.altitude = QtGui.QLineEdit(manag_dlg)
self.altitude.setObjectName(_fromUtf8("altitude"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.altitude)
self.label_2.setBuddy(self.distance)
self.label.setBuddy(self.name)
self.label_3.setBuddy(self.altitude)
self.retranslateUi(manag_dlg)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), manag_dlg.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), manag_dlg.reject)
QtCore.QObject.connect(self.name, QtCore.SIGNAL(_fromUtf8("returnPressed()")), manag_dlg.accept)
QtCore.QObject.connect(self.distance, QtCore.SIGNAL(_fromUtf8("returnPressed()")), self.altitude.selectAll)
QtCore.QObject.connect(self.altitude, QtCore.SIGNAL(_fromUtf8("returnPressed()")), self.name.selectAll)
QtCore.QMetaObject.connectSlotsByName(manag_dlg)
manag_dlg.setTabOrder(self.distance, self.altitude)
manag_dlg.setTabOrder(self.altitude, self.name)
manag_dlg.setTabOrder(self.name, self.buttonBox)
def retranslateUi(self, manag_dlg):
self.label_2.setText(_translate("manag_dlg", "Distance:", None))
self.label.setText(_translate("manag_dlg", "Name:", None))
self.label_3.setText(_translate("manag_dlg", "Altitude:", None))
class Ui_map(object):
def setupUi(self, map):
map.setObjectName(_fromUtf8("map"))
map.resize(800, 550)
map.setMinimumSize(QtCore.QSize(484, 0))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/cyclograph.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
map.setWindowIcon(icon)
self.verticalLayout = QtGui.QVBoxLayout(map)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.splitter = QtGui.QSplitter(map)
self.splitter.setOrientation(QtCore.Qt.Horizontal)
self.splitter.setChildrenCollapsible(False)
self.splitter.setObjectName(_fromUtf8("splitter"))
self.webView = QtWebKit.QWebView(self.splitter)
self.webView.setMinimumSize(QtCore.QSize(0, 0))
self.webView.setUrl(QtCore.QUrl(_fromUtf8("about:blank")))
self.webView.setObjectName(_fromUtf8("webView"))
self.verticalLayout.addWidget(self.splitter)
self.buttonBox = QtGui.QDialogButtonBox(map)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Save)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(map)
QtCore.QMetaObject.connectSlotsByName(map)
def retranslateUi(self, map):
map.setWindowTitle(_translate("map", "map", None))
class Ui_numcps_dlg(object):
def setupUi(self, numcps_dlg):
numcps_dlg.setObjectName(_fromUtf8("numcps_dlg"))
numcps_dlg.resize(354, 265)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/cyclograph.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
numcps_dlg.setWindowIcon(icon)
self.verticalLayout_2 = QtGui.QVBoxLayout(numcps_dlg)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.stackedWidget = QtGui.QStackedWidget(numcps_dlg)
self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
self.menu = QtGui.QWidget()
self.menu.setObjectName(_fromUtf8("menu"))
self.verticalLayout_4 = QtGui.QVBoxLayout(self.menu)
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
self.label_3 = QtGui.QLabel(self.menu)
self.label_3.setText(_fromUtf8("TextLabel"))
self.label_3.setObjectName(_fromUtf8("label_3"))
self.verticalLayout_4.addWidget(self.label_3)
self.automatic = QtGui.QRadioButton(self.menu)
self.automatic.setChecked(True)
self.automatic.setObjectName(_fromUtf8("automatic"))
self.buttonGroup = QtGui.QButtonGroup(numcps_dlg)
self.buttonGroup.setObjectName(_fromUtf8("buttonGroup"))
self.buttonGroup.addButton(self.automatic)
self.verticalLayout_4.addWidget(self.automatic)
self.distance_2 = QtGui.QRadioButton(self.menu)
self.distance_2.setObjectName(_fromUtf8("distance_2"))
self.buttonGroup.addButton(self.distance_2)
self.verticalLayout_4.addWidget(self.distance_2)
self.number = QtGui.QRadioButton(self.menu)
self.number.setObjectName(_fromUtf8("number"))
self.buttonGroup.addButton(self.number)
self.verticalLayout_4.addWidget(self.number)
self.all_ = QtGui.QRadioButton(self.menu)
self.all_.setObjectName(_fromUtf8("all_"))
self.buttonGroup.addButton(self.all_)
self.verticalLayout_4.addWidget(self.all_)
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
self.label_4 = QtGui.QLabel(self.menu)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.horizontalLayout_4.addWidget(self.label_4)
self.start = QtGui.QDoubleSpinBox(self.menu)
self.start.setDecimals(3)
self.start.setSingleStep(0.1)
self.start.setObjectName(_fromUtf8("start"))
self.horizontalLayout_4.addWidget(self.start)
self.label_5 = QtGui.QLabel(self.menu)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.horizontalLayout_4.addWidget(self.label_5)
self.end = QtGui.QDoubleSpinBox(self.menu)
self.end.setDecimals(3)
self.end.setSingleStep(0.1)
self.end.setObjectName(_fromUtf8("end"))
self.horizontalLayout_4.addWidget(self.end)
self.verticalLayout_4.addLayout(self.horizontalLayout_4)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem)
self.pushButton = QtGui.QPushButton(self.menu)
self.pushButton.setObjectName(_fromUtf8("pushButton"))
self.horizontalLayout_3.addWidget(self.pushButton)
self.proceedButton = QtGui.QPushButton(self.menu)
self.proceedButton.setObjectName(_fromUtf8("proceedButton"))
self.horizontalLayout_3.addWidget(self.proceedButton)
self.verticalLayout_4.addLayout(self.horizontalLayout_3)
self.stackedWidget.addWidget(self.menu)
self.points = QtGui.QWidget()
self.points.setObjectName(_fromUtf8("points"))
self.verticalLayout = QtGui.QVBoxLayout(self.points)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.label = QtGui.QLabel(self.points)
self.label.setText(_fromUtf8("message"))
self.label.setObjectName(_fromUtf8("label"))
self.verticalLayout.addWidget(self.label)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.spinBox = QtGui.QSpinBox(self.points)
self.spinBox.setObjectName(_fromUtf8("spinBox"))
self.horizontalLayout.addWidget(self.spinBox)
self.slider = QtGui.QSlider(self.points)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.slider.sizePolicy().hasHeightForWidth())
self.slider.setSizePolicy(sizePolicy)
self.slider.setMinimumSize(QtCore.QSize(0, 0))
self.slider.setTracking(True)
self.slider.setOrientation(QtCore.Qt.Horizontal)
self.slider.setTickPosition(QtGui.QSlider.TicksAbove)
self.slider.setTickInterval(10)
self.slider.setObjectName(_fromUtf8("slider"))
self.horizontalLayout.addWidget(self.slider)
self.verticalLayout.addLayout(self.horizontalLayout)
self.buttonBox = QtGui.QDialogButtonBox(self.points)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
self.stackedWidget.addWidget(self.points)
self.distance = QtGui.QWidget()
self.distance.setObjectName(_fromUtf8("distance"))
self.verticalLayout_3 = QtGui.QVBoxLayout(self.distance)
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.label_2 = QtGui.QLabel(self.distance)
self.label_2.setText(_fromUtf8("TextLabel"))
self.label_2.setObjectName(_fromUtf8("label_2"))
self.verticalLayout_3.addWidget(self.label_2)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(self.distance)
self.doubleSpinBox_2.setInputMethodHints(QtCore.Qt.ImhFormattedNumbersOnly)
self.doubleSpinBox_2.setDecimals(3)
self.doubleSpinBox_2.setMaximum(99.0)
self.doubleSpinBox_2.setSingleStep(0.1)
self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
self.horizontalLayout_2.addWidget(self.doubleSpinBox_2)
self.slider_2 = QtGui.QSlider(self.distance)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.slider_2.sizePolicy().hasHeightForWidth())
self.slider_2.setSizePolicy(sizePolicy)
self.slider_2.setMinimumSize(QtCore.QSize(0, 0))
self.slider_2.setTracking(True)
self.slider_2.setOrientation(QtCore.Qt.Horizontal)
self.slider_2.setTickInterval(10)
self.slider_2.setObjectName(_fromUtf8("slider_2"))
self.horizontalLayout_2.addWidget(self.slider_2)
self.verticalLayout_3.addLayout(self.horizontalLayout_2)
self.buttonBox_2 = QtGui.QDialogButtonBox(self.distance)
self.buttonBox_2.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox_2.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox_2.setObjectName(_fromUtf8("buttonBox_2"))
self.verticalLayout_3.addWidget(self.buttonBox_2)
self.stackedWidget.addWidget(self.distance)
self.verticalLayout_2.addWidget(self.stackedWidget)
self.retranslateUi(numcps_dlg)
self.stackedWidget.setCurrentIndex(0)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), numcps_dlg.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), numcps_dlg.reject)
QtCore.QObject.connect(self.slider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.spinBox.setValue)
QtCore.QObject.connect(self.spinBox, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.slider.setValue)
QtCore.QObject.connect(self.buttonBox_2, QtCore.SIGNAL(_fromUtf8("accepted()")), numcps_dlg.accept)
QtCore.QObject.connect(self.buttonBox_2, QtCore.SIGNAL(_fromUtf8("rejected()")), numcps_dlg.reject)
QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), numcps_dlg.reject)
QtCore.QMetaObject.connectSlotsByName(numcps_dlg)
def retranslateUi(self, numcps_dlg):
numcps_dlg.setWindowTitle(_translate("numcps_dlg", "number of checkpoints", None))
self.automatic.setText(_translate("numcps_dlg", "Automatic", None))
self.distance_2.setText(_translate("numcps_dlg", "Select the distance rate", None))
self.number.setText(_translate("numcps_dlg", "Select the number of checkpoints", None))
self.all_.setText(_translate("numcps_dlg", "Use every point (discouraged)", None))
self.label_4.setText(_translate("numcps_dlg", "Start", None))
self.start.setSuffix(_translate("numcps_dlg", " km", None))
self.label_5.setText(_translate("numcps_dlg", "End", None))
self.end.setSuffix(_translate("numcps_dlg", " km", None))
self.pushButton.setText(_translate("numcps_dlg", "Cancel", None))
self.proceedButton.setText(_translate("numcps_dlg", "Next", None))
self.doubleSpinBox_2.setSuffix(_translate("numcps_dlg", " km", None))
class Ui_Frame_Page(object):
def setupUi(self, Frame_Page):
Frame_Page.setObjectName(_fromUtf8("Frame_Page"))
Frame_Page.resize(558, 399)
Frame_Page.setWindowTitle(_fromUtf8("Frame"))
Frame_Page.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
Frame_Page.setFrameShape(QtGui.QFrame.StyledPanel)
Frame_Page.setFrameShadow(QtGui.QFrame.Raised)
self.verticalLayout = QtGui.QVBoxLayout(Frame_Page)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.button_close = QtGui.QToolButton(Frame_Page)
self.button_close.setObjectName(_fromUtf8("button_close"))
self.verticalLayout.addWidget(self.button_close)
self.tableWidget = QtGui.QTableWidget(Frame_Page)
self.tableWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
self.tableWidget.setAlternatingRowColors(True)
self.tableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
self.tableWidget.setColumnCount(3)
self.tableWidget.setRowCount(0)
item = QtGui.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(0, item)
item = QtGui.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(1, item)
item = QtGui.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(2, item)
self.verticalLayout.addWidget(self.tableWidget)
self.retranslateUi(Frame_Page)
QtCore.QMetaObject.connectSlotsByName(Frame_Page)
def retranslateUi(self, Frame_Page):
self.button_close.setText(_translate("Frame_Page", "Close", None))
item = self.tableWidget.horizontalHeaderItem(0)
item.setText(_translate("Frame_Page", "Distance [km]", None))
item = self.tableWidget.horizontalHeaderItem(1)
item.setText(_translate("Frame_Page", "Altitude [m]", None))
item = self.tableWidget.horizontalHeaderItem(2)
item.setText(_translate("Frame_Page", "Name", None))
class Ui_Pref_Dialog(object):
def setupUi(self, Pref_Dialog):
Pref_Dialog.setObjectName(_fromUtf8("Pref_Dialog"))
Pref_Dialog.resize(409, 372)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icon/pixmaps/cyclograph.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Pref_Dialog.setWindowIcon(icon)
Pref_Dialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.gridLayout = QtGui.QGridLayout(Pref_Dialog)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.buttonBox = QtGui.QDialogButtonBox(Pref_Dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok|QtGui.QDialogButtonBox.RestoreDefaults)
self.buttonBox.setCenterButtons(False)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
self.tabWidget = QtGui.QTabWidget(Pref_Dialog)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.General = QtGui.QWidget()
self.General.setEnabled(True)
self.General.setObjectName(_fromUtf8("General"))
self.formLayout_3 = QtGui.QFormLayout(self.General)
self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
self.formLayout_3.setContentsMargins(40, -1, 40, -1)
self.formLayout_3.setHorizontalSpacing(40)
self.formLayout_3.setVerticalSpacing(5)
self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
self.label_11 = QtGui.QLabel(self.General)
self.label_11.setObjectName(_fromUtf8("label_11"))
self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_11)
self.olines = QtGui.QCheckBox(self.General)
self.olines.setChecked(True)
self.olines.setObjectName(_fromUtf8("olines"))
self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.olines)
self.effect3d = QtGui.QCheckBox(self.General)
self.effect3d.setChecked(True)
self.effect3d.setObjectName(_fromUtf8("effect3d"))
self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.effect3d)
self.Resolutionl = QtGui.QLabel(self.General)
self.Resolutionl.setObjectName(_fromUtf8("Resolutionl"))
self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.Resolutionl)
self.res = QtGui.QComboBox(self.General)
self.res.setObjectName(_fromUtf8("res"))
self.res.addItem(_fromUtf8(""))
self.res.setItemText(0, _fromUtf8("800 x 600"))
self.res.addItem(_fromUtf8(""))
self.res.setItemText(1, _fromUtf8("1024 x 768"))
self.res.addItem(_fromUtf8(""))
self.res.setItemText(2, _fromUtf8("1280 x 800"))
self.res.addItem(_fromUtf8(""))
self.res.setItemText(3, _fromUtf8("1600 x 1200"))
self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.res)
self.Themel = QtGui.QLabel(self.General)
self.Themel.setObjectName(_fromUtf8("Themel"))
self.formLayout_3.setWidget(5, QtGui.QFormLayout.LabelRole, self.Themel)
self.theme = QtGui.QComboBox(self.General)
self.theme.setObjectName(_fromUtf8("theme"))
self.formLayout_3.setWidget(5, QtGui.QFormLayout.FieldRole, self.theme)
self.kmlserverl = QtGui.QLabel(self.General)
self.kmlserverl.setObjectName(_fromUtf8("kmlserverl"))
self.formLayout_3.setWidget(6, QtGui.QFormLayout.LabelRole, self.kmlserverl)
self.serv = QtGui.QComboBox(self.General)
self.serv.setObjectName(_fromUtf8("serv"))
self.serv.addItem(_fromUtf8(""))
self.serv.setItemText(0, _fromUtf8("geonames.org"))
self.serv.addItem(_fromUtf8(""))
self.serv.setItemText(1, _fromUtf8("earthtools.org"))
self.serv.addItem(_fromUtf8(""))
self.serv.setItemText(2, _fromUtf8("usgs.net"))
self.formLayout_3.setWidget(6, QtGui.QFormLayout.FieldRole, self.serv)
self.showinfo = QtGui.QCheckBox(self.General)
self.showinfo.setChecked(True)
self.showinfo.setObjectName(_fromUtf8("showinfo"))
self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.showinfo)
self.label = QtGui.QLabel(self.General)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout_3.setWidget(7, QtGui.QFormLayout.LabelRole, self.label)
self.vcheck = QtGui.QCheckBox(self.General)
self.vcheck.setObjectName(_fromUtf8("vcheck"))
self.formLayout_3.setWidget(7, QtGui.QFormLayout.FieldRole, self.vcheck)
self.tabWidget.addTab(self.General, _fromUtf8(""))
self.Fonts = QtGui.QWidget()
self.Fonts.setObjectName(_fromUtf8("Fonts"))
self.formLayout_2 = QtGui.QFormLayout(self.Fonts)
self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
self.formLayout_2.setContentsMargins(40, -1, 40, -1)
self.formLayout_2.setHorizontalSpacing(40)
self.formLayout_2.setVerticalSpacing(5)
self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
self.label_8 = QtGui.QLabel(self.Fonts)
self.label_8.setObjectName(_fromUtf8("label_8"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_8)
self.fdesc = QtGui.QPushButton(self.Fonts)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.fdesc.sizePolicy().hasHeightForWidth())
self.fdesc.setSizePolicy(sizePolicy)
self.fdesc.setObjectName(_fromUtf8("fdesc"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.fdesc)
self.label_9 = QtGui.QLabel(self.Fonts)
self.label_9.setObjectName(_fromUtf8("label_9"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_9)
self.fgrad = QtGui.QPushButton(self.Fonts)
self.fgrad.setObjectName(_fromUtf8("fgrad"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.fgrad)
self.label_10 = QtGui.QLabel(self.Fonts)
self.label_10.setObjectName(_fromUtf8("label_10"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_10)
self.ftitle = QtGui.QPushButton(self.Fonts)
self.ftitle.setObjectName(_fromUtf8("ftitle"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.ftitle)
self.tabWidget.addTab(self.Fonts, _fromUtf8(""))
self.Gcolors = QtGui.QWidget()
self.Gcolors.setObjectName(_fromUtf8("Gcolors"))
self.formLayout = QtGui.QFormLayout(self.Gcolors)
self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
self.formLayout.setContentsMargins(40, -1, 40, -1)
self.formLayout.setHorizontalSpacing(40)
self.formLayout.setVerticalSpacing(5)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.lev_1 = QtGui.QDoubleSpinBox(self.Gcolors)
self.lev_1.setDecimals(1)
self.lev_1.setMaximum(90.0)
self.lev_1.setSingleStep(0.1)
self.lev_1.setObjectName(_fromUtf8("lev_1"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.lev_1)
self.button1 = QtGui.QPushButton(self.Gcolors)
self.button1.setText(_fromUtf8(""))
self.button1.setObjectName(_fromUtf8("button1"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.button1)
self.button2 = QtGui.QPushButton(self.Gcolors)
self.button2.setText(_fromUtf8(""))
self.button2.setObjectName(_fromUtf8("button2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.button2)
self.button3 = QtGui.QPushButton(self.Gcolors)
self.button3.setText(_fromUtf8(""))
self.button3.setObjectName(_fromUtf8("button3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.button3)
self.button4 = QtGui.QPushButton(self.Gcolors)
self.button4.setText(_fromUtf8(""))
self.button4.setObjectName(_fromUtf8("button4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.button4)
self.button5 = QtGui.QPushButton(self.Gcolors)
self.button5.setText(_fromUtf8(""))
self.button5.setObjectName(_fromUtf8("button5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.button5)
self.button6 = QtGui.QPushButton(self.Gcolors)
self.button6.setText(_fromUtf8(""))
self.button6.setObjectName(_fromUtf8("button6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.button6)
self.button7 = QtGui.QPushButton(self.Gcolors)
self.button7.setText(_fromUtf8(""))
self.button7.setObjectName(_fromUtf8("button7"))
self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.button7)
self.lev_2 = QtGui.QDoubleSpinBox(self.Gcolors)
self.lev_2.setDecimals(1)
self.lev_2.setMaximum(90.0)
self.lev_2.setSingleStep(0.1)
self.lev_2.setObjectName(_fromUtf8("lev_2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.lev_2)
self.lev_3 = QtGui.QDoubleSpinBox(self.Gcolors)
self.lev_3.setDecimals(1)
self.lev_3.setMaximum(90.0)
self.lev_3.setSingleStep(0.1)
self.lev_3.setObjectName(_fromUtf8("lev_3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.lev_3)
self.lev_4 = QtGui.QDoubleSpinBox(self.Gcolors)
self.lev_4.setDecimals(1)
self.lev_4.setMaximum(90.0)
self.lev_4.setSingleStep(0.1)
self.lev_4.setObjectName(_fromUtf8("lev_4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.lev_4)
self.lev_5 = QtGui.QDoubleSpinBox(self.Gcolors)
self.lev_5.setDecimals(1)
self.lev_5.setMaximum(90.0)
self.lev_5.setSingleStep(0.1)
self.lev_5.setObjectName(_fromUtf8("lev_5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.lev_5)
self.lev_6 = QtGui.QDoubleSpinBox(self.Gcolors)
self.lev_6.setDecimals(1)
self.lev_6.setMaximum(90.0)
self.lev_6.setSingleStep(0.1)
self.lev_6.setObjectName(_fromUtf8("lev_6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.lev_6)
self.lev_7 = QtGui.QDoubleSpinBox(self.Gcolors)
self.lev_7.setDecimals(1)
self.lev_7.setMaximum(90.0)
self.lev_7.setSingleStep(0.1)
self.lev_7.setObjectName(_fromUtf8("lev_7"))
self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.lev_7)
self.tabWidget.addTab(self.Gcolors, _fromUtf8(""))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.label_12 = QtGui.QLabel(self.tab)
self.label_12.setGeometry(QtCore.QRect(40, 20, 59, 17))
self.label_12.setObjectName(_fromUtf8("label_12"))
self.label_13 = QtGui.QLabel(self.tab)
self.label_13.setGeometry(QtCore.QRect(40, 70, 59, 17))
self.label_13.setObjectName(_fromUtf8("label_13"))
self.aname = QtGui.QLineEdit(self.tab)
self.aname.setGeometry(QtCore.QRect(100, 20, 161, 27))
self.aname.setObjectName(_fromUtf8("aname"))
self.amail = QtGui.QLineEdit(self.tab)
self.amail.setGeometry(QtCore.QRect(100, 70, 161, 27))
self.amail.setObjectName(_fromUtf8("amail"))
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
self.retranslateUi(Pref_Dialog)
self.tabWidget.setCurrentIndex(0)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Pref_Dialog.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Pref_Dialog.reject)
QtCore.QMetaObject.connectSlotsByName(Pref_Dialog)
def retranslateUi(self, Pref_Dialog):
Pref_Dialog.setWindowTitle(_translate("Pref_Dialog", "Preferences", None))
self.label_11.setText(_translate("Pref_Dialog", "Visualization", None))
self.olines.setText(_translate("Pref_Dialog", "Orizzontal lines", None))
self.effect3d.setText(_translate("Pref_Dialog", "3D effect", None))
self.Resolutionl.setText(_translate("Pref_Dialog", "Resolution", None))
self.Themel.setText(_translate("Pref_Dialog", "Theme", None))
self.kmlserverl.setText(_translate("Pref_Dialog", "Kml server", None))
self.showinfo.setText(_translate("Pref_Dialog", "Show info", None))
self.label.setText(_translate("Pref_Dialog", "Latest version", None))
self.vcheck.setText(_translate("Pref_Dialog", "Check online", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.General), _translate("Pref_Dialog", "General", None))
self.label_8.setText(_translate("Pref_Dialog", "Description", None))
self.fdesc.setText(_translate("Pref_Dialog", "font | dim", None))
self.label_9.setText(_translate("Pref_Dialog", "Gradient", None))
self.fgrad.setText(_translate("Pref_Dialog", "font | dim", None))
self.label_10.setText(_translate("Pref_Dialog", "Title", None))
self.ftitle.setText(_translate("Pref_Dialog", "font | dim", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Fonts), _translate("Pref_Dialog", "Fonts", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Gcolors), _translate("Pref_Dialog", "Gradient colors", None))
self.label_12.setText(_translate("Pref_Dialog", "Name:", None))
self.label_13.setText(_translate("Pref_Dialog", "E-mail:", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Pref_Dialog", "Author", None))
|