|
<?xml version="1.0" encoding="UTF-8"?> |
|
<ui version="4.0"> |
|
<class>MainWindow</class> |
|
<widget class="QMainWindow" name="MainWindow"> |
|
<property name="geometry"> |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>705</width> |
|
<height>491</height> |
|
</rect> |
|
</property> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="windowTitle"> |
|
<string>Moses Machine Translation System</string> |
|
</property> |
|
<property name="windowIcon"> |
|
<iconset resource="icons.qrc"> |
|
<normaloff>:/icon/moses.ico</normaloff>:/icon/moses.ico</iconset> |
|
</property> |
|
<property name="layoutDirection"> |
|
<enum>Qt::LeftToRight</enum> |
|
</property> |
|
<property name="locale"> |
|
<locale language="English" country="UnitedKingdom"/> |
|
</property> |
|
<widget class="QWidget" name="centralWidget"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_3"> |
|
<item> |
|
<widget class="QTabWidget" name="tabWidget"> |
|
<property name="autoFillBackground"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="currentIndex"> |
|
<number>0</number> |
|
</property> |
|
<widget class="QWidget" name="tab"> |
|
<property name="autoFillBackground"> |
|
<bool>true</bool> |
|
</property> |
|
<attribute name="title"> |
|
<string>Machine Translation</string> |
|
</attribute> |
|
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="2,8"> |
|
<item> |
|
<widget class="QGroupBox" name="groupBox"> |
|
<property name="title"> |
|
<string>Current MT Model</string> |
|
</property> |
|
<layout class="QGridLayout" name="gridLayout"> |
|
<item row="2" column="0"> |
|
<widget class="QLabel" name="label"> |
|
<property name="text"> |
|
<string>Translate From:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="2" column="1"> |
|
<widget class="QLineEdit" name="editSrcLang"> |
|
<property name="readOnly"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="2" column="4"> |
|
<widget class="QLineEdit" name="editTrgLang"> |
|
<property name="readOnly"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="2" column="3"> |
|
<widget class="QLabel" name="label_3"> |
|
<property name="text"> |
|
<string>Translate Into:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="3" column="2"> |
|
<widget class="QPushButton" name="btnTranslate"> |
|
<property name="enabled"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>120</width> |
|
<height>30</height> |
|
</size> |
|
</property> |
|
<property name="text"> |
|
<string>Translate</string> |
|
</property> |
|
<property name="flat"> |
|
<bool>false</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="1" column="2"> |
|
<widget class="QLineEdit" name="editModelName"> |
|
<property name="readOnly"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="1" column="1"> |
|
<widget class="QLabel" name="label_2"> |
|
<property name="text"> |
|
<string>Model Name:</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QSplitter" name="splitter"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<widget class="QTextEdit" name="editSrc"/> |
|
<widget class="QTextEdit" name="editTrg"> |
|
<property name="readOnly"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
<widget class="QWidget" name="tab_2"> |
|
<property name="autoFillBackground"> |
|
<bool>true</bool> |
|
</property> |
|
<attribute name="title"> |
|
<string>Model Management</string> |
|
</attribute> |
|
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,1000"> |
|
<item> |
|
<widget class="QLabel" name="label_5"> |
|
<property name="autoFillBackground"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="text"> |
|
<string>TextLabel</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QSplitter" name="splitter_4"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<widget class="QGroupBox" name="groupBox_3"> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>200</width> |
|
<height>0</height> |
|
</size> |
|
</property> |
|
<property name="maximumSize"> |
|
<size> |
|
<width>200</width> |
|
<height>16777215</height> |
|
</size> |
|
</property> |
|
<property name="autoFillBackground"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="title"> |
|
<string>Management</string> |
|
</property> |
|
<layout class="QFormLayout" name="formLayout"> |
|
<item row="0" column="0" colspan="2"> |
|
<widget class="QPushButton" name="newModelBtn"> |
|
<property name="locale"> |
|
<locale language="English" country="UnitedKingdom"/> |
|
</property> |
|
<property name="text"> |
|
<string>Install New Model ...</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="1" column="0" colspan="2"> |
|
<widget class="QPushButton" name="delModelBtn"> |
|
<property name="text"> |
|
<string>Uninstall Selected Model ...</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
<widget class="QTableView" name="tableView"> |
|
<property name="font"> |
|
<font> |
|
<pointsize>7</pointsize> |
|
</font> |
|
</property> |
|
<property name="mouseTracking"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="contextMenuPolicy"> |
|
<enum>Qt::DefaultContextMenu</enum> |
|
</property> |
|
<property name="autoFillBackground"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="locale"> |
|
<locale language="English" country="UnitedKingdom"/> |
|
</property> |
|
<property name="frameShape"> |
|
<enum>QFrame::StyledPanel</enum> |
|
</property> |
|
<property name="frameShadow"> |
|
<enum>QFrame::Plain</enum> |
|
</property> |
|
<property name="editTriggers"> |
|
<set>QAbstractItemView::NoEditTriggers</set> |
|
</property> |
|
<property name="selectionMode"> |
|
<enum>QAbstractItemView::SingleSelection</enum> |
|
</property> |
|
<property name="selectionBehavior"> |
|
<enum>QAbstractItemView::SelectRows</enum> |
|
</property> |
|
<property name="gridStyle"> |
|
<enum>Qt::DashLine</enum> |
|
</property> |
|
<property name="sortingEnabled"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="wordWrap"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="cornerButtonEnabled"> |
|
<bool>false</bool> |
|
</property> |
|
<attribute name="verticalHeaderVisible"> |
|
<bool>false</bool> |
|
</attribute> |
|
<attribute name="verticalHeaderShowSortIndicator" stdset="0"> |
|
<bool>true</bool> |
|
</attribute> |
|
</widget> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="labelInfo"> |
|
<property name="text"> |
|
<string><qt><a href="www">Credits and Support</a></qt></string> |
|
</property> |
|
<property name="textFormat"> |
|
<enum>Qt::AutoText</enum> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</widget> |
|
<resources> |
|
<include location="icons.qrc"/> |
|
</resources> |
|
<connections/> |
|
</ui> |
|
|