Skip to content

Commit

Permalink
Merge pull request #98 from jacquetc/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jacquetc authored Nov 22, 2020
2 parents 01951c9 + ca51149 commit 473f058
Show file tree
Hide file tree
Showing 77 changed files with 2,550 additions and 2,419 deletions.
7 changes: 7 additions & 0 deletions 3rdparty/icons.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,12 @@
<file>icons/backup/tag.svg</file>
<file>icons/backup/tag-new.svg</file>
<file>icons/backup/lock.svg</file>
<file>icons/backup/help-about.svg</file>
<file>icons/backup/system-help.svg</file>
<file>icons/backup/data-error.svg</file>
<file>icons/backup/data-information.svg</file>
<file>icons/backup/data-warning.svg</file>
<file>icons/backup/emblem-checked.svg</file>
<file>icons/backup/object-rows.svg</file>
</qresource>
</RCC>
9 changes: 9 additions & 0 deletions 3rdparty/icons/backup/data-error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions 3rdparty/icons/backup/data-information.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions 3rdparty/icons/backup/data-warning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions 3rdparty/icons/backup/emblem-checked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions 3rdparty/icons/backup/help-about.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions 3rdparty/icons/backup/object-rows.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions 3rdparty/icons/backup/system-help.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cmake_minimum_required(VERSION 3.5.0)
# cmake_policy(SET CMP0071 NEW)
#endif()
set(QT_MIN_VERSION "5.15.0")
set(QT_DEFAULT_MAJOR_VERSION 5)

find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ ${CMAKE_SOURCE_DIR}/cmake/3rdparty/ ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
Expand All @@ -28,6 +29,7 @@ add_compile_definitions(SKR_VERSION_MAJOR=${VERSION_MAJOR})
add_compile_definitions(SKR_VERSION_MINOR=${VERSION_MINOR})
add_compile_definitions(SKR_VERSION_PATCH=${VERSION_PATCH})


project(skribisto LANGUAGES CXX VERSION ${VERSION})

# Include GNUInstallDirs, which sets sensible defaults for install directories.
Expand Down
14 changes: 0 additions & 14 deletions INSTALL_NOTES

This file was deleted.

9 changes: 8 additions & 1 deletion src/app/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ using namespace std;
#include "skrresult.h"
#include "plmprojecthub.h"
#include "skrprojectdicthub.h"
#include "skrerrorhub.h"
#include "plmpropertyhub.h"
#include "skrstathub.h"
#include "documenthandler.h"
Expand Down Expand Up @@ -139,7 +140,6 @@ int main(int argc, char *argv[])


QApplication app(argc, argv);

// icons :
// qDebug() << "icon search paths :" << QIcon::themeSearchPaths();

Expand Down Expand Up @@ -235,6 +235,13 @@ int main(int argc, char *argv[])
"SKRStatHub",
"Can't instantiate SKRStatHub");

qmlRegisterUncreatableType<SKRErrorHub>("eu.skribisto.errorhub",
1,
0,
"SKRStatHub",
"Can't instantiate SKRErrorHub");


qmlRegisterUncreatableType<SKR>("eu.skribisto.skr",
1,
0,
Expand Down
6 changes: 6 additions & 0 deletions src/app/src/qml.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,11 @@
<file>qml/Welcome/FileMenuPage.qml</file>
<file>qml/Welcome/FileMenuPageForm.ui.qml</file>
<file>qml/Commons/ListItemAttributes.qml</file>
<file>qml/Welcome/HelpContents.qml</file>
<file>qml/Welcome/HelpContentsForm.ui.qml</file>
<file>qml/Welcome/FAQ.qml</file>
<file>qml/Welcome/FAQForm.ui.qml</file>
<file>qml/Welcome/About.qml</file>
<file>qml/Welcome/AboutForm.ui.qml</file>
</qresource>
</RCC>
8 changes: 6 additions & 2 deletions src/app/src/qml/Commons/DocumentListViewForm.ui.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ Item {
width: 400
height: 400

implicitHeight: columnLayout.childrenRect.height

SkrPane {
id: pane
clip: true
anchors.fill: parent
padding: 0
ColumnLayout {
id: columnLayout
anchors.fill: parent
id: columnLayout
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right

ScrollView {
focusPolicy: Qt.WheelFocus
Expand Down
Loading

0 comments on commit 473f058

Please sign in to comment.