Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
max-yeah authored Jan 9, 2018
1 parent 893997d commit 423a4db
Show file tree
Hide file tree
Showing 30 changed files with 7,398 additions and 0 deletions.
58 changes: 58 additions & 0 deletions Citation_Generator.pro
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 added Progress report.pdf
Binary file not shown.
Binary file added Proposal.pdf
Binary file not shown.
23 changes: 23 additions & 0 deletions apa_guidance_page.cpp
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;
}
25 changes: 25 additions & 0 deletions apa_guidance_page.h
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
130 changes: 130 additions & 0 deletions apa_guidance_page.ui
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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:24pt; font-weight:600;&quot;&gt;APA Guidance&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;amp;style=1&amp;amp;source=1&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;APA -- Within a Paper -- Book&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;Last name, First initial.Middle initial. (Year). &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;Book title.&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt; Place: Publisher.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;姓名. (年份). &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;书名. &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;出版地点: 出版社.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;amp;style=1&amp;amp;source=2&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;APA -- Within a Paper -- Journal&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;Last name, First initial.Middle initial. (Year). Article title. &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;Journal Title, Volume&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;, page numbers.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;姓名. (年份). 文章标题&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;. 期刊名, 期刊号, &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;页码&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;amp;style=1&amp;amp;source=2&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;APA -- Within a Paper -- Magazine&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;Last name, First initial.Middle initial. (Year). Article title. &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;Magazine Title&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;. pp. pages.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;姓名. (年份). 文章标题&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;. 杂志名, &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;页码&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;amp;style=1&amp;amp;source=2&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;APA -- Within a Paper -- Newspaper&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;Last name, First initial.Middle initial. (Year). Article title. &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;Newspaper Title&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;. pp. pages.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;姓名. (年份). 文章标题&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;. 报纸名, &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;页码&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;http://www.lib.jmu.edu/help/checkcite/default.aspx?end_prod=1&amp;amp;style=1&amp;amp;source=3&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;APA -- Within a Paper -- Website&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;Author. (Year). &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;Website title&lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;. Retrieved from website address&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;姓名. (年份). &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; font-style:italic; color:#000000;&quot;&gt;网站名, &lt;/span&gt;&lt;span style=&quot; font-family:'Arial'; color:#000000;&quot;&gt;网址&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
Loading

0 comments on commit 423a4db

Please sign in to comment.