Minor UI changes
This commit is contained in:
parent
56c132a21e
commit
f37c5b5551
@ -67,7 +67,7 @@ void Example::checkForUpdates() {
|
||||
"QSimpleUpdater/Files-for-example-project/current_version.txt");
|
||||
|
||||
// Tell the updater where to download the update, its recommended to use direct links
|
||||
updater->setDownloadUrl("https://github.com/alex-97/QSimpleUpdater/archive/master.zip");
|
||||
updater->setDownloadUrl("https://codeload.github.com/alex-97/QSimpleUpdater/zip/master");
|
||||
|
||||
// Finally, check for updates...
|
||||
updater->checkForUpdates();
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -25,7 +25,7 @@ unix:!android {
|
||||
}
|
||||
|
||||
win32* {
|
||||
LIBS += -L$$PWD/dependencies/OpenSSL-Win32/lib -llibeay32
|
||||
LIBS += -LC:/OpenSSL-Win32/lib -llibeay32
|
||||
}
|
||||
|
||||
RESOURCES += $$PWD/res/qsu_resources.qrc
|
||||
|
@ -25,7 +25,8 @@ This readme guide is extremely important for any developer wishing to deploy his
|
||||
WINDOWS
|
||||
--------------
|
||||
|
||||
QSimpleUpdater makes use of the OpenSSL-Win32 project, make sure that you deploy the following DLLs allong your application (the DLLs are provided with the source of QSimpleUpdater):
|
||||
QSimpleUpdater makes use of the OpenSSL-Win32 project, make sure that have it installed and that the project knows where to find them (the default location is C:/OpenSSL-Win32) and that you deploy the following libraries with your compiled project:
|
||||
|
||||
- libeay32.dll
|
||||
- ssleay32.dll
|
||||
|
||||
- dependencies/OpenSSL-Win32/bin/libeay32.dll
|
||||
- dependencies/OpenSSL-Win32/bin/ssleay32.dll
|
@ -19,9 +19,16 @@
|
||||
DownloadDialog::DownloadDialog (QWidget *parent)
|
||||
: QWidget (parent)
|
||||
, ui (new Ui::DownloadDialog) {
|
||||
|
||||
// Setup the UI
|
||||
ui->setupUi (this);
|
||||
|
||||
// Make the window look like a dialog
|
||||
QIcon _blank;
|
||||
setWindowIcon (_blank);
|
||||
setWindowModality (Qt::WindowModal);
|
||||
setWindowFlags (Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
|
||||
|
||||
// Connect SIGNALS/SLOTS
|
||||
connect (ui->stopButton, SIGNAL (clicked()), this, SLOT (cancelDownload()));
|
||||
connect (ui->openButton, SIGNAL (clicked()), this, SLOT (installUpdate()));
|
||||
|
@ -6,28 +6,16 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>500</width>
|
||||
<height>180</height>
|
||||
<width>490</width>
|
||||
<height>199</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>180</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>180</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Updater</string>
|
||||
</property>
|
||||
@ -109,20 +97,13 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<widget class="QProgressBar" name="progressBar">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
<width>320</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QProgressBar" name="progressBar">
|
||||
<property name="value">
|
||||
<number>0</number>
|
||||
</property>
|
||||
@ -131,19 +112,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="timeLabel">
|
||||
<property name="text">
|
||||
|
Loading…
x
Reference in New Issue
Block a user