| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466 |
- <?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>1024</width>
- <height>768</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>VCMI Map Editor</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout" name="verticalLayout_12">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="MapView" name="mapView">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="mouseTracking">
- <bool>true</bool>
- </property>
- <property name="sizeAdjustPolicy">
- <enum>QAbstractScrollArea::AdjustToContents</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1024</width>
- <height>37</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <widget class="QMenu" name="menuOpenRecent">
- <property name="title">
- <string>Open Recent</string>
- </property>
- <addaction name="actionOpenRecentMore"/>
- </widget>
- <addaction name="actionNew"/>
- <addaction name="actionOpen"/>
- <addaction name="menuOpenRecent"/>
- <addaction name="actionSave"/>
- <addaction name="actionSave_as"/>
- <addaction name="actionExport"/>
- <addaction name="separator"/>
- <addaction name="actionCampaignEditor"/>
- <addaction name="actionTemplateEditor"/>
- <addaction name="separator"/>
- <addaction name="actionh3m_converter"/>
- <addaction name="actionh3c_converter"/>
- </widget>
- <widget class="QMenu" name="menuMap">
- <property name="title">
- <string>Map</string>
- </property>
- <addaction name="actionMapSettings"/>
- <addaction name="actionPlayers_settings"/>
- <addaction name="actionTranslations"/>
- <addaction name="actionValidate"/>
- <addaction name="actionUpdate_appearance"/>
- <addaction name="actionRecreate_obstacles"/>
- </widget>
- <widget class="QMenu" name="menuEdit">
- <property name="title">
- <string>Edit</string>
- </property>
- <addaction name="actionUndo"/>
- <addaction name="actionRedo"/>
- <addaction name="actionCut"/>
- <addaction name="actionCopy"/>
- <addaction name="actionPaste"/>
- <addaction name="actionErase"/>
- <addaction name="actionLock"/>
- <addaction name="actionUnlock"/>
- </widget>
- <widget class="QMenu" name="menuView">
- <property name="title">
- <string>View</string>
- </property>
- <addaction name="actionLevel"/>
- <addaction name="actionGrid"/>
- <addaction name="actionPass"/>
- <addaction name="separator"/>
- <addaction name="actionZoom_in"/>
- <addaction name="actionZoom_out"/>
- <addaction name="actionZoom_reset"/>
- </widget>
- <widget class="QMenu" name="menuPlayer">
- <property name="title">
- <string>Player</string>
- </property>
- <addaction name="actionNeutral"/>
- <addaction name="actionPlayer_1"/>
- <addaction name="actionPlayer_2"/>
- <addaction name="actionPlayer_3"/>
- <addaction name="actionPlayer_4"/>
- <addaction name="actionPlayer_5"/>
- <addaction name="actionPlayer_6"/>
- <addaction name="actionPlayer_7"/>
- <addaction name="actionPlayer_8"/>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuEdit"/>
- <addaction name="menuView"/>
- <addaction name="menuMap"/>
- <addaction name="menuPlayer"/>
- </widget>
- <widget class="QToolBar" name="toolBar">
- <property name="windowTitle">
- <string>Toolbar</string>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="actionNew"/>
- <addaction name="actionOpen"/>
- <addaction name="actionOpenRecent"/>
- <addaction name="actionSave"/>
- <addaction name="separator"/>
- <addaction name="actionCampaignEditor"/>
- <addaction name="actionTemplateEditor"/>
- <addaction name="separator"/>
- <addaction name="actionUndo"/>
- <addaction name="actionRedo"/>
- <addaction name="separator"/>
- <addaction name="actionLevel"/>
- <addaction name="actionGrid"/>
- <addaction name="actionPass"/>
- <addaction name="separator"/>
- <addaction name="actionErase"/>
- <addaction name="actionCut"/>
- <addaction name="actionCopy"/>
- <addaction name="actionPaste"/>
- <addaction name="separator"/>
- <addaction name="actionFill"/>
- <addaction name="actionTranslations"/>
- <addaction name="separator"/>
- <addaction name="actionLock"/>
- <addaction name="actionUnlock"/>
- <addaction name="separator"/>
- <addaction name="actionZoom_in"/>
- <addaction name="actionZoom_out"/>
- <addaction name="actionZoom_reset"/>
- </widget>
- <widget class="QDockWidget" name="dockWidget_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>192</width>
- <height>214</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>524287</width>
- <height>214</height>
- </size>
- </property>
- <property name="features">
- <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
- </property>
- <property name="windowTitle">
- <string>Minimap</string>
- </property>
- <attribute name="dockWidgetArea">
- <number>2</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents_2">
- <property name="maximumSize">
- <size>
- <width>524287</width>
- <height>16777215</height>
- </size>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="MinimapView" name="minimapView">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>192</width>
- <height>192</height>
- </size>
- </property>
- <property name="verticalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
- </property>
- <property name="horizontalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOff</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <widget class="QDockWidget" name="dockWidget_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>268</width>
- <height>196</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>524287</width>
- <height>524287</height>
- </size>
- </property>
- <property name="features">
- <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
- </property>
- <property name="windowTitle">
- <string>Map Objects View</string>
- </property>
- <attribute name="dockWidgetArea">
- <number>2</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QTabWidget" name="tabWidget">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="tab_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="title">
- <string>Browser</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QComboBox" name="terrainFilterCombo">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="filter"/>
- </item>
- <item>
- <widget class="ObjectBrowser" name="treeView">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="mouseTracking">
- <bool>false</bool>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="editTriggers">
- <set>QAbstractItemView::NoEditTriggers</set>
- </property>
- <property name="showDropIndicator" stdset="0">
- <bool>false</bool>
- </property>
- <property name="dragDropMode">
- <enum>QAbstractItemView::DragOnly</enum>
- </property>
- <property name="selectionBehavior">
- <enum>QAbstractItemView::SelectItems</enum>
- </property>
- <property name="iconSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="indentation">
- <number>12</number>
- </property>
- <property name="sortingEnabled">
- <bool>true</bool>
- </property>
- <property name="headerHidden">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>Inspector</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QTableWidget" name="inspectorWidget">
- <property name="font">
- <font>
- <pointsize>10</pointsize>
- </font>
- </property>
- <property name="editTriggers">
- <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
- </property>
- <property name="selectionMode">
- <enum>QAbstractItemView::SingleSelection</enum>
- </property>
- <property name="columnCount">
- <number>2</number>
- </property>
- <attribute name="horizontalHeaderStretchLastSection">
- <bool>true</bool>
- </attribute>
- <attribute name="verticalHeaderVisible">
- <bool>false</bool>
- </attribute>
- <attribute name="verticalHeaderDefaultSectionSize">
- <number>21</number>
- </attribute>
- <column>
- <property name="text">
- <string>Property</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Value</string>
- </property>
- </column>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <widget class="QDockWidget" name="dockWidget">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="features">
- <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
- </property>
- <property name="windowTitle">
- <string>Tools</string>
- </property>
- <attribute name="dockWidgetArea">
- <number>1</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <property name="leftMargin">
- <number>3</number>
- </property>
- <property name="topMargin">
- <number>3</number>
- </property>
- <property name="rightMargin">
- <number>3</number>
- </property>
- <property name="bottomMargin">
- <number>3</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="topMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QPushButton" name="toolBrush">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="toolBrush2">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="toolBrush4">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="toolLasso">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="topMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QPushButton" name="toolLine">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="toolArea">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="toolFill">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="toolSelect">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>40</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="autoExclusive">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </widget>
- <widget class="QDockWidget" name="dockWidget_4">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="features">
- <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
- </property>
- <property name="windowTitle">
- <string>Painting</string>
- </property>
- <attribute name="dockWidgetArea">
- <number>1</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents_6">
- <layout class="QVBoxLayout" name="verticalLayout_9">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QToolBox" name="toolBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="terrainPage">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>256</width>
- <height>120</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="label">
- <string>Terrains</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <layout class="QVBoxLayout" name="terrainLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="roadPage">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>256</width>
- <height>120</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="label">
- <string>Roads</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <layout class="QVBoxLayout" name="roadLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="riverPage">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>256</width>
- <height>120</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <attribute name="label">
- <string>Rivers</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <layout class="QVBoxLayout" name="riverLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- </layout>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <widget class="QDockWidget" name="dockWidget_5">
- <property name="features">
- <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
- </property>
- <property name="windowTitle">
- <string>Preview</string>
- </property>
- <attribute name="dockWidgetArea">
- <number>1</number>
- </attribute>
- <widget class="QWidget" name="dockWidgetContents_7">
- <layout class="QVBoxLayout" name="verticalLayout_11">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QGraphicsView" name="objectPreview">
- <property name="minimumSize">
- <size>
- <width>128</width>
- <height>128</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <action name="actionOpen">
- <property name="text">
- <string>Open</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+O</string>
- </property>
- </action>
- <action name="actionOpenRecent">
- <property name="text">
- <string>Open Recent</string>
- </property>
- </action>
- <action name="actionOpenRecentMore">
- <property name="text">
- <string>More...</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+R</string>
- </property>
- </action>
- <action name="actionSave">
- <property name="text">
- <string>Save</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+S</string>
- </property>
- </action>
- <action name="actionNew">
- <property name="text">
- <string>New</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+N</string>
- </property>
- </action>
- <action name="actionSave_as">
- <property name="text">
- <string>Save as...</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+S</string>
- </property>
- </action>
- <action name="actionCampaignEditor">
- <property name="text">
- <string>Campaign editor</string>
- </property>
- <property name="toolTip">
- <string>Campaign editor</string>
- </property>
- </action>
- <action name="actionTemplateEditor">
- <property name="text">
- <string>Template editor</string>
- </property>
- <property name="toolTip">
- <string>Template editor</string>
- </property>
- </action>
- <action name="actionLevel">
- <property name="text">
- <string>View underground</string>
- </property>
- <property name="toolTip">
- <string>View underground</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+U</string>
- </property>
- </action>
- <action name="actionPass">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Pass</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+P</string>
- </property>
- </action>
- <action name="actionCut">
- <property name="text">
- <string>Cut</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+X</string>
- </property>
- </action>
- <action name="actionCopy">
- <property name="text">
- <string>Copy</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+C</string>
- </property>
- </action>
- <action name="actionPaste">
- <property name="text">
- <string>Paste</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+V</string>
- </property>
- </action>
- <action name="actionFill">
- <property name="text">
- <string>Fill</string>
- </property>
- <property name="toolTip">
- <string>Fills the selection with obstacles</string>
- </property>
- <property name="shortcut">
- <string notr="true">F</string>
- </property>
- </action>
- <action name="actionGrid">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Grid</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+G</string>
- </property>
- </action>
- <action name="actionMapSettings">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>General</string>
- </property>
- <property name="toolTip">
- <string>Map title and description</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Enter</string>
- </property>
- </action>
- <action name="actionPlayers_settings">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Players settings</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+P</string>
- </property>
- </action>
- <action name="actionUndo">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Undo</string>
- </property>
- <property name="iconText">
- <string>Undo</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Z</string>
- </property>
- <property name="shortcutVisibleInContextMenu">
- <bool>true</bool>
- </property>
- </action>
- <action name="actionRedo">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Redo</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Y</string>
- </property>
- <property name="shortcutVisibleInContextMenu">
- <bool>true</bool>
- </property>
- </action>
- <action name="actionErase">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Erase</string>
- </property>
- <property name="shortcut">
- <string>Del</string>
- </property>
- </action>
- <action name="actionNeutral">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Neutral</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+0</string>
- </property>
- </action>
- <action name="actionValidate">
- <property name="text">
- <string>Validate</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+V</string>
- </property>
- </action>
- <action name="actionUpdate_appearance">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Update appearance</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+A</string>
- </property>
- </action>
- <action name="actionRecreate_obstacles">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Recreate obstacles</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+R</string>
- </property>
- </action>
- <action name="actionPlayer_1">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 1</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+1</string>
- </property>
- </action>
- <action name="actionPlayer_2">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 2</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+2</string>
- </property>
- </action>
- <action name="actionPlayer_3">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 3</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+3</string>
- </property>
- </action>
- <action name="actionPlayer_4">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 4</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+4</string>
- </property>
- </action>
- <action name="actionPlayer_5">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 5</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+5</string>
- </property>
- </action>
- <action name="actionPlayer_6">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 6</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+6</string>
- </property>
- </action>
- <action name="actionPlayer_7">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 7</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+7</string>
- </property>
- </action>
- <action name="actionPlayer_8">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Player 8</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+8</string>
- </property>
- </action>
- <action name="actionExport">
- <property name="text">
- <string>Export as...</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+E</string>
- </property>
- </action>
- <action name="actionTranslations">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Translations</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+T</string>
- </property>
- </action>
- <action name="actionh3m_converter">
- <property name="text">
- <string>h3m converter</string>
- </property>
- <property name="toolTip">
- <string>h3m converter</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+M</string>
- </property>
- </action>
- <action name="actionh3c_converter">
- <property name="text">
- <string>h3c converter</string>
- </property>
- <property name="toolTip">
- <string>h3c converter</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+C</string>
- </property>
- </action>
- <action name="actionLock">
- <property name="text">
- <string>Lock</string>
- </property>
- <property name="toolTip">
- <string>Lock objects on map to avoid unnecessary changes</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+L</string>
- </property>
- </action>
- <action name="actionUnlock">
- <property name="text">
- <string>Unlock</string>
- </property>
- <property name="toolTip">
- <string>Unlock all objects on the map</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+L</string>
- </property>
- </action>
- <action name="actionZoom_in">
- <property name="text">
- <string>Zoom in</string>
- </property>
- <property name="shortcut">
- <string>Ctrl++</string>
- </property>
- </action>
- <action name="actionZoom_out">
- <property name="text">
- <string>Zoom out</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+-</string>
- </property>
- </action>
- <action name="actionZoom_reset">
- <property name="text">
- <string>Zoom reset</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+=</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>MapView</class>
- <extends>QGraphicsView</extends>
- <header>mapview.h</header>
- </customwidget>
- <customwidget>
- <class>MinimapView</class>
- <extends>QGraphicsView</extends>
- <header>mapview.h</header>
- </customwidget>
- <customwidget>
- <class>ObjectBrowser</class>
- <extends>QTreeView</extends>
- <header>objectbrowser.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
- <slots>
- <signal>enableUndo(bool)</signal>
- <signal>enableRedo(bool)</signal>
- </slots>
- </ui>
|