-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-label-saving
- Loading branch information
Showing
60 changed files
with
3,147 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>CustomScriptsEditor</class> | ||
<widget class="QMainWindow" name="CustomScriptsEditor"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>374</width> | ||
<height>355</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Custom Scripts Editor</string> | ||
</property> | ||
<widget class="QWidget" name="centralwidget"> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<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="QFrame" name="window"> | ||
<property name="frameShape"> | ||
<enum>QFrame::StyledPanel</enum> | ||
</property> | ||
<property name="frameShadow"> | ||
<enum>QFrame::Raised</enum> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_2"> | ||
<item> | ||
<widget class="QFrame" name="header"> | ||
<property name="frameShape"> | ||
<enum>QFrame::StyledPanel</enum> | ||
</property> | ||
<property name="frameShadow"> | ||
<enum>QFrame::Raised</enum> | ||
</property> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QPushButton" name="button_AddNewScript"> | ||
<property name="text"> | ||
<string>Add New Script...</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../resources/images.qrc"> | ||
<normaloff>:/icons/add.ico</normaloff>:/icons/add.ico</iconset> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="button_ReloadScripts"> | ||
<property name="text"> | ||
<string>Reload Scripts</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../resources/images.qrc"> | ||
<normaloff>:/icons/refresh.ico</normaloff>:/icons/refresh.ico</iconset> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer_header"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>40</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="label_Manual"> | ||
<property name="text"> | ||
<string><html><head/><body><p><a href="https://huderlem.github.io/porymap/manual/scripting-capabilities.html"><span style=" text-decoration: underline;">What are custom scripts?</span></a></p></body></html></string> | ||
</property> | ||
<property name="openExternalLinks"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="verticalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Vertical</enum> | ||
</property> | ||
<property name="sizeType"> | ||
<enum>QSizePolicy::Minimum</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>20</width> | ||
<height>5</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="label_ListHeader"> | ||
<property name="text"> | ||
<string>Scripts</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QListWidget" name="list"> | ||
<property name="editTriggers"> | ||
<set>QAbstractItemView::NoEditTriggers</set> | ||
</property> | ||
<property name="showDropIndicator" stdset="0"> | ||
<bool>false</bool> | ||
</property> | ||
<property name="dragDropMode"> | ||
<enum>QAbstractItemView::NoDragDrop</enum> | ||
</property> | ||
<property name="defaultDropAction"> | ||
<enum>Qt::IgnoreAction</enum> | ||
</property> | ||
<property name="selectionMode"> | ||
<enum>QAbstractItemView::ExtendedSelection</enum> | ||
</property> | ||
<property name="textElideMode"> | ||
<enum>Qt::ElideLeft</enum> | ||
</property> | ||
<property name="movement"> | ||
<enum>QListView::Free</enum> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QDialogButtonBox" name="buttonBox"> | ||
<property name="standardButtons"> | ||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</widget> | ||
<resources> | ||
<include location="../resources/images.qrc"/> | ||
</resources> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>CustomScriptsListItem</class> | ||
<widget class="QFrame" name="CustomScriptsListItem"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>129</width> | ||
<height>34</height> | ||
</rect> | ||
</property> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<layout class="QHBoxLayout"> | ||
<property name="topMargin"> | ||
<number>4</number> | ||
</property> | ||
<property name="bottomMargin"> | ||
<number>4</number> | ||
</property> | ||
<item> | ||
<widget class="QToolButton" name="b_Choose"> | ||
<property name="toolTip"> | ||
<string>Choose a new filepath for this script</string> | ||
</property> | ||
<property name="text"> | ||
<string>...</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../resources/images.qrc"> | ||
<normaloff>:/icons/folder.ico</normaloff>:/icons/folder.ico</iconset> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLineEdit" name="lineEdit_filepath"> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>1</width> | ||
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="checkBox_Enable"> | ||
<property name="toolTip"> | ||
<string>If unchecked this script will be ignored</string> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QToolButton" name="b_Edit"> | ||
<property name="toolTip"> | ||
<string>Open this script file</string> | ||
</property> | ||
<property name="text"> | ||
<string>...</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../resources/images.qrc"> | ||
<normaloff>:/icons/edit_document.ico</normaloff>:/icons/edit_document.ico</iconset> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QToolButton" name="b_Delete"> | ||
<property name="toolTip"> | ||
<string>Remove this script</string> | ||
</property> | ||
<property name="text"> | ||
<string>...</string> | ||
</property> | ||
<property name="icon"> | ||
<iconset resource="../resources/images.qrc"> | ||
<normaloff>:/icons/delete.ico</normaloff>:/icons/delete.ico</iconset> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources> | ||
<include location="../resources/images.qrc"/> | ||
</resources> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.