-
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.
- Loading branch information
max-yeah
authored
Jan 9, 2018
1 parent
893997d
commit 423a4db
Showing
30 changed files
with
7,398 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2017-10-28T16:25:16 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += core gui | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = Citation_Generator | ||
TEMPLATE = app | ||
ICON = icon.icns | ||
# The following define makes your compiler emit warnings if you use | ||
# any feature of Qt which as been marked as deprecated (the exact warnings | ||
# depend on your compiler). Please consult the documentation of the | ||
# deprecated API in order to know how to port your code away from it. | ||
DEFINES += QT_DEPRECATED_WARNINGS | ||
|
||
# You can also make your code fail to compile if you use deprecated APIs. | ||
# In order to do so, uncomment the following line. | ||
# You can also select to disable deprecated APIs only up to a certain version of Qt. | ||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 | ||
|
||
|
||
SOURCES += \ | ||
main.cpp \ | ||
navigation_page.cpp \ | ||
book_page.cpp \ | ||
web_page.cpp \ | ||
journal_page.cpp \ | ||
apa_guidance_page.cpp \ | ||
mla_guidance_page.cpp \ | ||
newspaper.cpp \ | ||
magazine_page.cpp | ||
|
||
|
||
HEADERS += \ | ||
navigation_page.h \ | ||
book_page.h \ | ||
web_page.h \ | ||
journal_page.h \ | ||
utils.h \ | ||
apa_guidance_page.h \ | ||
mla_guidance_page.h \ | ||
newspaper.h \ | ||
magazine_page.h | ||
|
||
|
||
FORMS += \ | ||
navigation_page.ui \ | ||
book_page.ui \ | ||
web_page.ui \ | ||
journal_page.ui \ | ||
apa_guidance_page.ui \ | ||
mla_guidance_page.ui \ | ||
newspaper.ui \ | ||
magazine_page.ui |
Binary file not shown.
Binary file not shown.
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,23 @@ | ||
#include "apa_guidance_page.h" | ||
#include "ui_apa_guidance_page.h" | ||
#include "navigation_page.h" | ||
|
||
apa_guidance_page::apa_guidance_page(QWidget *parent) : | ||
QDialog(parent), | ||
ui(new Ui::apa_guidance_page) | ||
{ | ||
ui->setupUi(this); | ||
} | ||
|
||
apa_guidance_page::~apa_guidance_page() | ||
{ | ||
delete ui; | ||
} | ||
|
||
void apa_guidance_page::on_back_button_clicked() | ||
{ | ||
close(); | ||
Navigation_page * navp = new Navigation_page; | ||
navp->show(); | ||
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,25 @@ | ||
#ifndef APA_GUIDANCE_PAGE_H | ||
#define APA_GUIDANCE_PAGE_H | ||
|
||
#include <QDialog> | ||
|
||
namespace Ui { | ||
class apa_guidance_page; | ||
} | ||
|
||
class apa_guidance_page : public QDialog | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
explicit apa_guidance_page(QWidget *parent = 0); | ||
~apa_guidance_page(); | ||
|
||
private slots: | ||
void on_back_button_clicked(); | ||
|
||
private: | ||
Ui::apa_guidance_page *ui; | ||
}; | ||
|
||
#endif // APA_GUIDANCE_PAGE_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,130 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>apa_guidance_page</class> | ||
<widget class="QDialog" name="apa_guidance_page"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>651</width> | ||
<height>566</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Dialog</string> | ||
</property> | ||
<widget class="QLabel" name="label"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>20</x> | ||
<y>10</y> | ||
<width>181</width> | ||
<height>31</height> | ||
</rect> | ||
</property> | ||
<property name="font"> | ||
<font> | ||
<family>Arial</family> | ||
</font> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p><span style=" font-size:24pt; font-weight:600;">APA Guidance</span></p></body></html></string> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_3"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>40</x> | ||
<y>40</y> | ||
<width>571</width> | ||
<height>121</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p><a href="http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;style=1&amp;source=1"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">APA -- Within a Paper -- Book</span></a></p><p><span style=" font-family:'Arial'; color:#000000;">Last name, First initial.Middle initial. (Year). </span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">Book title.</span><span style=" font-family:'Arial'; color:#000000;"> Place: Publisher.</span></p><p><span style=" font-family:'Arial'; color:#000000;">姓名. (年份). </span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">书名. </span><span style=" font-family:'Arial'; color:#000000;">出版地点: 出版社.</span></p></body></html></string> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
<widget class="QPushButton" name="back_button"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>500</x> | ||
<y>10</y> | ||
<width>113</width> | ||
<height>32</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Back</string> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_6"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>40</x> | ||
<y>140</y> | ||
<width>571</width> | ||
<height>121</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p><a href="http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;style=1&amp;source=2"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">APA -- Within a Paper -- Journal</span></a></p><p><span style=" font-family:'Arial'; color:#000000;">Last name, First initial.Middle initial. (Year). Article title. </span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">Journal Title, Volume</span><span style=" font-family:'Arial'; color:#000000;">, page numbers.</span></p><p><span style=" font-family:'Arial'; color:#000000;">姓名. (年份). 文章标题</span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">. 期刊名, 期刊号, </span><span style=" font-family:'Arial'; color:#000000;">页码</span></p></body></html></string> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_8"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>40</x> | ||
<y>240</y> | ||
<width>571</width> | ||
<height>121</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p><a href="http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;style=1&amp;source=2"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">APA -- Within a Paper -- Magazine</span></a></p><p><span style=" font-family:'Arial'; color:#000000;">Last name, First initial.Middle initial. (Year). Article title. </span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">Magazine Title</span><span style=" font-family:'Arial'; color:#000000;">. pp. pages.</span></p><p><span style=" font-family:'Arial'; color:#000000;">姓名. (年份). 文章标题</span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">. 杂志名, </span><span style=" font-family:'Arial'; color:#000000;">页码</span></p></body></html></string> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_10"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>40</x> | ||
<y>340</y> | ||
<width>571</width> | ||
<height>121</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p><a href="http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;style=1&amp;source=2"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">APA -- Within a Paper -- Newspaper</span></a></p><p><span style=" font-family:'Arial'; color:#000000;">Last name, First initial.Middle initial. (Year). Article title. </span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">Newspaper Title</span><span style=" font-family:'Arial'; color:#000000;">. pp. pages.</span></p><p><span style=" font-family:'Arial'; color:#000000;">姓名. (年份). 文章标题</span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">. 报纸名, </span><span style=" font-family:'Arial'; color:#000000;">页码</span></p></body></html></string> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
<widget class="QLabel" name="label_11"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>40</x> | ||
<y>440</y> | ||
<width>571</width> | ||
<height>121</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string><html><head/><body><p><a href="http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;style=1&amp;source=3"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">APA -- Within a Paper -- Website</span></a></p><p><span style=" font-family:'Arial'; color:#000000;">Author. (Year). </span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">Website title</span><span style=" font-family:'Arial'; color:#000000;">. Retrieved from website address</span></p><p><span style=" font-family:'Arial'; color:#000000;">姓名. (年份). </span><span style=" font-family:'Arial'; font-style:italic; color:#000000;">网站名, </span><span style=" font-family:'Arial'; color:#000000;">网址</span></p></body></html></string> | ||
</property> | ||
<property name="wordWrap"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.