mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Renamed the launcher executable and icons, added .desktop file and default config, modified/updated some other files
This commit is contained in:
parent
8b58e53be9
commit
118765a274
10 changed files with 43 additions and 18 deletions
|
@ -45,7 +45,7 @@ QT4_WRAP_CPP(MOC_SRCS ${LAUNCHER_HEADER_MOC})
|
||||||
include(${QT_USE_FILE})
|
include(${QT_USE_FILE})
|
||||||
|
|
||||||
# Main executable
|
# Main executable
|
||||||
add_executable(launcher
|
add_executable(omwlauncher
|
||||||
${LAUNCHER}
|
${LAUNCHER}
|
||||||
${MISC} ${MISC_HEADER}
|
${MISC} ${MISC_HEADER}
|
||||||
${FILES} ${FILES_HEADER}
|
${FILES} ${FILES_HEADER}
|
||||||
|
@ -55,7 +55,7 @@ add_executable(launcher
|
||||||
${MOC_SRCS}
|
${MOC_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(launcher
|
target_link_libraries(omwlauncher
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
${OGRE_LIBRARIES}
|
${OGRE_LIBRARIES}
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
|
@ -63,3 +63,6 @@ target_link_libraries(launcher
|
||||||
|
|
||||||
configure_file(${CMAKE_SOURCE_DIR}/files/launcher.qss
|
configure_file(${CMAKE_SOURCE_DIR}/files/launcher.qss
|
||||||
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.qss")
|
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.qss")
|
||||||
|
|
||||||
|
configure_file(${CMAKE_SOURCE_DIR}/files/launcher.cfg
|
||||||
|
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.cfg")
|
|
@ -1,5 +1,5 @@
|
||||||
######################################################################
|
######################################################################
|
||||||
# Automatically generated by qmake (2.01a) Tue Mar 29 22:56:27 2011
|
# Automatically generated by qmake (2.01a) Fri Jun 24 21:14:15 2011
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
@ -8,16 +8,23 @@ DEPENDPATH += .
|
||||||
INCLUDEPATH += .
|
INCLUDEPATH += .
|
||||||
|
|
||||||
# Input
|
# Input
|
||||||
HEADERS += datafilespage.hpp \
|
HEADERS += combobox.hpp \
|
||||||
|
datafilespage.hpp \
|
||||||
|
graphicspage.hpp \
|
||||||
lineedit.hpp \
|
lineedit.hpp \
|
||||||
maindialog.hpp \
|
maindialog.hpp \
|
||||||
playpage.hpp
|
naturalsort.hpp \
|
||||||
|
playpage.hpp \
|
||||||
|
pluginsmodel.hpp \
|
||||||
|
pluginsview.hpp
|
||||||
SOURCES += datafilespage.cpp \
|
SOURCES += datafilespage.cpp \
|
||||||
|
graphicspage.cpp \
|
||||||
lineedit.cpp \
|
lineedit.cpp \
|
||||||
|
main.cpp \
|
||||||
maindialog.cpp \
|
maindialog.cpp \
|
||||||
playpage.cpp
|
naturalsort.cpp \
|
||||||
qrc_resources.cxx
|
playpage.cpp \
|
||||||
|
pluginsmodel.cpp \
|
||||||
|
pluginsview.cpp
|
||||||
RESOURCES += resources.qrc
|
RESOURCES += resources.qrc
|
||||||
RC_FILE = launcher.rc
|
win32:RC_FILE = launcher.rc
|
|
@ -1 +1 @@
|
||||||
IDI_ICON1 ICON DISCARDABLE "resources/images/openmw-icon.ico"
|
IDI_ICON1 ICON DISCARDABLE "resources/images/openmw.ico"
|
||||||
|
|
|
@ -42,7 +42,7 @@ MainDialog::MainDialog()
|
||||||
|
|
||||||
|
|
||||||
setWindowTitle(tr("OpenMW Launcher"));
|
setWindowTitle(tr("OpenMW Launcher"));
|
||||||
setWindowIcon(QIcon(":/images/openmw-icon.png"));
|
setWindowIcon(QIcon(":/images/openmw.png"));
|
||||||
// Remove what's this? button
|
// Remove what's this? button
|
||||||
setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setMinimumSize(QSize(575, 575));
|
setMinimumSize(QSize(575, 575));
|
||||||
|
@ -65,7 +65,7 @@ void MainDialog::createIcons()
|
||||||
QIcon graphicsIcon = QIcon(":/icons/tango/video-display.png");
|
QIcon graphicsIcon = QIcon(":/icons/tango/video-display.png");
|
||||||
|
|
||||||
QListWidgetItem *playButton = new QListWidgetItem(mIconWidget);
|
QListWidgetItem *playButton = new QListWidgetItem(mIconWidget);
|
||||||
playButton->setIcon(QIcon(":/images/openmw-icon.png"));
|
playButton->setIcon(QIcon(":/images/openmw.png"));
|
||||||
playButton->setText(tr("Play"));
|
playButton->setText(tr("Play"));
|
||||||
playButton->setTextAlignment(Qt::AlignCenter);
|
playButton->setTextAlignment(Qt::AlignCenter);
|
||||||
playButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
playButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
||||||
|
@ -77,7 +77,7 @@ void MainDialog::createIcons()
|
||||||
graphicsButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
graphicsButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
||||||
|
|
||||||
QListWidgetItem *dataFilesButton = new QListWidgetItem(mIconWidget);
|
QListWidgetItem *dataFilesButton = new QListWidgetItem(mIconWidget);
|
||||||
dataFilesButton->setIcon(QIcon(":/images/openmw-plugin-icon.png"));
|
dataFilesButton->setIcon(QIcon(":/images/openmw-plugin.png"));
|
||||||
dataFilesButton->setText(tr("Data Files"));
|
dataFilesButton->setText(tr("Data Files"));
|
||||||
dataFilesButton->setTextAlignment(Qt::AlignHCenter | Qt::AlignBottom);
|
dataFilesButton->setTextAlignment(Qt::AlignHCenter | Qt::AlignBottom);
|
||||||
dataFilesButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
dataFilesButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
<qresource prefix="/images">
|
<qresource prefix="/images">
|
||||||
<file alias="clear.png">resources/images/clear.png</file>
|
<file alias="clear.png">resources/images/clear.png</file>
|
||||||
<file alias="down.png">resources/images/down.png</file>
|
<file alias="down.png">resources/images/down.png</file>
|
||||||
<file alias="openmw-icon.png">resources/images/openmw-icon.png</file>
|
<file alias="openmw.png">resources/images/openmw.png</file>
|
||||||
<file alias="openmw-plugin-icon.png">resources/images/openmw-plugin-icon.png</file>
|
<file alias="openmw-plugin.png">resources/images/openmw-plugin.png</file>
|
||||||
<file alias="openmw-header.png">resources/images/openmw-header.png</file>
|
<file alias="openmw-header.png">resources/images/openmw-header.png</file>
|
||||||
<file alias="playpage-background.png">resources/images/playpage-background.png</file>
|
<file alias="playpage-background.png">resources/images/playpage-background.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
|
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
5
files/launcher.cfg
Normal file
5
files/launcher.cfg
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Profiles]
|
||||||
|
CurrentProfile=Default
|
||||||
|
Default\Master0=Morrowind.esm
|
||||||
|
Default\Master1=Tribunal.esm
|
||||||
|
Default\Master2=Bloodmoon.esm
|
10
files/openmw.desktop
Normal file
10
files/openmw.desktop
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=0.11
|
||||||
|
Type=Application
|
||||||
|
Name=OpenMW Launcher
|
||||||
|
GenericName=Role Playing Game
|
||||||
|
Comment=An engine replacement for The Elder Scrolls III: Morrowind
|
||||||
|
TryExec=omwlauncher
|
||||||
|
Exec=omwlauncher
|
||||||
|
Icon=openmw
|
||||||
|
Categories=Game;RolePlaying;
|
Loading…
Reference in a new issue