-
Notifications
You must be signed in to change notification settings - Fork 72
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
Showing
3 changed files
with
134 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,14 @@ | ||
#include "fvupdateconfirmdialog.h" | ||
#include "ui_fvupdateconfirmdialog.h" | ||
|
||
FvUpdateConfirmDialog::FvUpdateConfirmDialog(QWidget *parent) : | ||
QDialog(parent), | ||
m_ui(new Ui::FvUpdateConfirmDialog) | ||
{ | ||
m_ui->setupUi(this); | ||
} | ||
|
||
FvUpdateConfirmDialog::~FvUpdateConfirmDialog() | ||
{ | ||
delete m_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,22 @@ | ||
#ifndef FVUPDATECONFIRMDIALOG_H | ||
#define FVUPDATECONFIRMDIALOG_H | ||
|
||
#include <QDialog> | ||
|
||
namespace Ui { | ||
class FvUpdateConfirmDialog; | ||
} | ||
|
||
class FvUpdateConfirmDialog : public QDialog | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
explicit FvUpdateConfirmDialog(QWidget *parent = 0); | ||
~FvUpdateConfirmDialog(); | ||
|
||
private: | ||
Ui::FvUpdateConfirmDialog* m_ui; | ||
}; | ||
|
||
#endif // FVUPDATECONFIRMDIALOG_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,98 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>FvUpdateConfirmDialog</class> | ||
<widget class="QDialog" name="FvUpdateConfirmDialog"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>480</width> | ||
<height>240</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Dialog</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<widget class="QLabel" name="updateFileIsLocatedLabel"> | ||
<property name="text"> | ||
<string>The update file is located at:</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="updateFileLinkLabel"> | ||
<property name="text"> | ||
<string><a href="%1">%1</a></string> | ||
</property> | ||
<property name="openExternalLinks"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="textInteractionFlags"> | ||
<set>Qt::TextBrowserInteraction</set> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="downloadThisUpdateLabel"> | ||
<property name="text"> | ||
<string>Download this update, close "%1", install it, and then reopen "%1".</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="whenYouClickOkLabel"> | ||
<property name="text"> | ||
<string>When you click "OK", this link will be opened in your browser.</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QDialogButtonBox" name="confirmButtonBox"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="standardButtons"> | ||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections> | ||
<connection> | ||
<sender>confirmButtonBox</sender> | ||
<signal>accepted()</signal> | ||
<receiver>FvUpdateConfirmDialog</receiver> | ||
<slot>accept()</slot> | ||
<hints> | ||
<hint type="sourcelabel"> | ||
<x>248</x> | ||
<y>254</y> | ||
</hint> | ||
<hint type="destinationlabel"> | ||
<x>157</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
<connection> | ||
<sender>confirmButtonBox</sender> | ||
<signal>rejected()</signal> | ||
<receiver>FvUpdateConfirmDialog</receiver> | ||
<slot>reject()</slot> | ||
<hints> | ||
<hint type="sourcelabel"> | ||
<x>316</x> | ||
<y>260</y> | ||
</hint> | ||
<hint type="destinationlabel"> | ||
<x>286</x> | ||
<y>274</y> | ||
</hint> | ||
</hints> | ||
</connection> | ||
</connections> | ||
</ui> |