Skip to content

Commit

Permalink
Finished
Browse files Browse the repository at this point in the history
The Bingbg-Qt has been finished all the function. Soon the first release will follow.
  • Loading branch information
the0cp authored Jan 13, 2021
1 parent c9fff49 commit 4fb149e
Show file tree
Hide file tree
Showing 11 changed files with 510 additions and 105 deletions.
12 changes: 7 additions & 5 deletions bingbg.pro
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,34 @@ DEFINES += QT_DEPRECATED_WARNINGS
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
src/de.cpp \
src/author.cpp \
src/about.cpp \
src/de.cpp \
src/geTime.cpp \
src/lang.cpp \
src/loadLanguage.cpp \
src/main.cpp \
src/bingbg.cpp \
src/makeDir.cpp \
src/parseXml.cpp \
src/setbg.cpp


HEADERS += \
include/de.h \
include/author.h \
include/about.h \
include/bingbg.h \
include/proc.h \
include/lang.h
include/lang.h \
include/setbg.h \
include/de.h

FORMS += \
form/de.ui \
form/author.ui \
form/about.ui \
form/bingbg.ui \
form/lang.ui
form/lang.ui \
form/de.ui

TRANSLATIONS += \
lang/lang_en_US.ts \
Expand Down
4 changes: 2 additions & 2 deletions form/about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ p, li { white-space: pre-wrap; }
<h3 style=" margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a name="write"></a><span style=" font-size:large; font-weight:600;">B</span><span style=" font-size:large; font-weight:600;">ing Backgrounds Getter(Qt)</span></h3>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Based on QT 4.12.2 (GCC version 9.3.0 (Debian 9.3.0-15), 64 bit)</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Built on </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Version 1.1 Beta</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Version 1.1.2 Beta</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright 2020 Theodore Cooper. All rights reserved.</p>
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QDialogButtonBox" name="buttonBox">
Expand Down
172 changes: 114 additions & 58 deletions form/bingbg.ui
Original file line number Diff line number Diff line change
Expand Up @@ -44,35 +44,25 @@
<property name="title">
<string>Get Wallpaper</string>
</property>
<layout class="QGridLayout" name="gridLayout_2" rowstretch="348,200,0,0,3" columnstretch="3,0,0">
<item row="3" column="1">
<widget class="QCheckBox" name="checkJd">
<property name="font">
<font>
<family>Linux Libertine Display O</family>
<italic>true</italic>
</font>
</property>
<property name="styleSheet">
<string notr="true">QCheckBox
{
spacing: 5px;
color: black;
}
QCheckBox::indicator
{
width: 17px;
height: 17px;
}</string>
</property>
<property name="text">
<string>Set as Background</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</widget>
</item>
<layout class="QGridLayout" name="gridLayout_2" rowstretch="348,100,20,10,3" columnstretch="12,100,12">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>3</number>
</property>
<item row="2" column="1">
<widget class="QPushButton" name="btnFetch">
<property name="sizePolicy">
Expand Down Expand Up @@ -105,15 +95,72 @@ QCheckBox::indicator
</property>
</widget>
</item>
<item row="2" column="0">
<spacer name="horizontalSpacer_2">
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Image URL</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="labelImageUrl">
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="lineWidth">
<number>10</number>
</property>
<property name="text">
<string>No URL...</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
Expand Down Expand Up @@ -144,38 +191,47 @@ QCheckBox::indicator
</property>
</spacer>
</item>
<item row="4" column="1">
<spacer name="verticalSpacer_2">
<item row="3" column="1">
<widget class="QCheckBox" name="checkJd">
<property name="font">
<font>
<family>Linux Libertine Display O</family>
<italic>true</italic>
</font>
</property>
<property name="styleSheet">
<string notr="true">QCheckBox
{
spacing: 5px;
color: black;
}
QCheckBox::indicator
{
width: 17px;
height: 17px;
}</string>
</property>
<property name="text">
<string>Set as Background</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</widget>
</item>
<item row="2" column="0">
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Image URL</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="labelImageUrl">
<property name="text">
<string>No URL...</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
Expand Down
Loading

0 comments on commit 4fb149e

Please sign in to comment.