-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SSC] Changing to more conventionel Widget.
- Loading branch information
Showing
50 changed files
with
2,126 additions
and
45 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
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,38 @@ | ||
import QtQuick 2.12 | ||
import QtQuick.Layouts 1.12 | ||
import QtQuick.Controls 2.12 | ||
|
||
ApplicationWindow { | ||
|
||
id: root | ||
visible: true | ||
title: "Papercards" | ||
width: 800 | ||
height: 600 | ||
|
||
ToolBar { | ||
id: toolBar | ||
height: 40 | ||
position: ToolBar.Header | ||
anchors.right: parent.right | ||
anchors.rightMargin: 0 | ||
anchors.left: parent.left | ||
anchors.leftMargin: 0 | ||
anchors.top: parent.top | ||
anchors.topMargin: 0 | ||
} | ||
|
||
Switch { | ||
id: element | ||
x: 228 | ||
y: 310 | ||
text: qsTr("Test") | ||
} | ||
|
||
} | ||
|
||
/*##^## | ||
Designer { | ||
D{i:1;anchors_width:800;anchors_x:-6;anchors_y:0} | ||
} | ||
##^##*/ |
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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[Controls] | ||
Style=Material | ||
|
||
[Material] | ||
Theme=Dark | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,7 @@ | ||
<RCC> | ||
<qresource prefix="/resources"> | ||
<file>WorkSans-Light.ttf</file> | ||
<file>WorkSans-Regular.ttf</file> | ||
<file>MaterialIcons-Regular.ttf</file> | ||
<file>default_deck.json</file> | ||
<file>logo.png</file> | ||
<file>roboto/Roboto-Black.ttf</file> | ||
<file>roboto/Roboto-BlackItalic.ttf</file> | ||
<file>roboto/Roboto-Bold.ttf</file> | ||
<file>roboto/Roboto-BoldItalic.ttf</file> | ||
<file>roboto/Roboto-Italic.ttf</file> | ||
<file>roboto/Roboto-Light.ttf</file> | ||
<file>roboto/Roboto-LightItalic.ttf</file> | ||
<file>roboto/Roboto-Medium.ttf</file> | ||
<file>roboto/Roboto-MediumItalic.ttf</file> | ||
<file>roboto/Roboto-Regular.ttf</file> | ||
<file>roboto/Roboto-Thin.ttf</file> | ||
<file>roboto/Roboto-ThinItalic.ttf</file> | ||
<file>feather.ttf</file> | ||
</qresource> | ||
</RCC> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include "MainWindow.h" | ||
#include "ui_mainwindow.h" | ||
|
||
#include <QDebug> | ||
|
||
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::mainWindow) { | ||
ui->setupUi(this); | ||
setUnifiedTitleAndToolBarOnMac(true); | ||
} | ||
|
||
MainWindow::~MainWindow() { | ||
delete 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,20 @@ | ||
#ifndef MAIN_WINDOW_H | ||
#define MAIN_WINDOW_H | ||
|
||
#include <QMainWindow> | ||
|
||
namespace Ui { | ||
class mainWindow; | ||
} | ||
|
||
class MainWindow : public QMainWindow { | ||
Q_OBJECT | ||
private: | ||
Ui::mainWindow *ui; | ||
|
||
public: | ||
explicit MainWindow(QWidget *parent = nullptr); | ||
~MainWindow() override; | ||
}; | ||
|
||
#endif // MAIN_WINDOW_H |
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,12 @@ | ||
#include "SidePanel.h" | ||
#include "ui_sidepanel.h" | ||
|
||
#include <QDebug> | ||
|
||
SidePanel::SidePanel(QWidget *parent) : QWidget(parent), ui(new Ui::sidePanel) { | ||
ui->setupUi(this); | ||
} | ||
|
||
SidePanel::~SidePanel() { | ||
delete 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,20 @@ | ||
#ifndef SIDE_PANEL_H | ||
#define SIDE_PANEL_H | ||
|
||
#include "QWidget" | ||
|
||
namespace Ui { | ||
class sidePanel; | ||
} | ||
|
||
class SidePanel : public QWidget { | ||
Q_OBJECT | ||
private: | ||
Ui::sidePanel *ui; | ||
|
||
public: | ||
explicit SidePanel(QWidget *parent = nullptr); | ||
~SidePanel() override; | ||
}; | ||
|
||
#endif //SIDE_PANEL_H |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
|
||
class PdfHandler : public QObject { | ||
|
||
|
||
}; | ||
|
||
#endif //PDF_HANDLER_H |
Oops, something went wrong.