Merge pull request #727 from opentx/dvogonen/use_correct_icons
Now it is possible to see Martins beautiful new icons in a number of the dialogs.
This commit is contained in:
@@ -29,6 +29,7 @@ compareDialog::compareDialog(QWidget *parent, GeneralSettings *gg) :
|
|||||||
ui(new Ui::compareDialog)
|
ui(new Ui::compareDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("compare.png"));
|
||||||
g_eeGeneral = gg;
|
g_eeGeneral = gg;
|
||||||
eepromInterface = GetEepromInterface();
|
eepromInterface = GetEepromInterface();
|
||||||
te = ui->textEdit;
|
te = ui->textEdit;
|
||||||
|
|||||||
@@ -26,11 +26,7 @@
|
|||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Dialog</string>
|
<string>Compare Models</string>
|
||||||
</property>
|
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#include "contributorsdialog.h"
|
#include "contributorsdialog.h"
|
||||||
#include "ui_contributorsdialog.h"
|
#include "ui_contributorsdialog.h"
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
#include "helpers.h"
|
||||||
|
|
||||||
contributorsDialog::contributorsDialog(QWidget *parent, int contest, QString rnurl) :
|
contributorsDialog::contributorsDialog(QWidget *parent, int contest, QString rnurl) :
|
||||||
QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint),
|
QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint),
|
||||||
@@ -10,6 +11,7 @@ contributorsDialog::contributorsDialog(QWidget *parent, int contest, QString rnu
|
|||||||
switch (contest) {
|
switch (contest) {
|
||||||
case 0:
|
case 0:
|
||||||
{
|
{
|
||||||
|
this->setWindowIcon(CompanionIcon("contributors.png"));
|
||||||
QFile file(":/DONATIONS.txt");
|
QFile file(":/DONATIONS.txt");
|
||||||
QString str;
|
QString str;
|
||||||
str.append("<html><head>");
|
str.append("<html><head>");
|
||||||
@@ -79,6 +81,7 @@ contributorsDialog::contributorsDialog(QWidget *parent, int contest, QString rnu
|
|||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
|
this->setWindowIcon(CompanionIcon("changelog.png"));
|
||||||
QFile file(":/releasenotes.txt");
|
QFile file(":/releasenotes.txt");
|
||||||
if(file.open( QIODevice::ReadOnly | QIODevice::Text ) ) {
|
if(file.open( QIODevice::ReadOnly | QIODevice::Text ) ) {
|
||||||
ui->textEditor->setHtml(file.readAll());
|
ui->textEditor->setHtml(file.readAll());
|
||||||
@@ -91,6 +94,7 @@ contributorsDialog::contributorsDialog(QWidget *parent, int contest, QString rnu
|
|||||||
case 2:
|
case 2:
|
||||||
{
|
{
|
||||||
if (!rnurl.isEmpty()) {
|
if (!rnurl.isEmpty()) {
|
||||||
|
this->setWindowIcon(CompanionIcon("changelog.png"));
|
||||||
this->setWindowTitle(tr("OpenTX Release Notes"));
|
this->setWindowTitle(tr("OpenTX Release Notes"));
|
||||||
manager = new QNetworkAccessManager(this);
|
manager = new QNetworkAccessManager(this);
|
||||||
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
|
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
|
||||||
|
|||||||
@@ -13,10 +13,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Dialog</string>
|
<string>Dialog</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QTextEdit" name="textEditor"/>
|
<widget class="QTextEdit" name="textEditor"/>
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ customizeSplashDialog::customizeSplashDialog(QWidget *parent) :
|
|||||||
ui(new Ui::customizeSplashDialog)
|
ui(new Ui::customizeSplashDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("paint.png"));
|
||||||
ui->leftLibraryButton->setIcon(CompanionIcon("library.png"));
|
ui->leftLibraryButton->setIcon(CompanionIcon("library.png"));
|
||||||
ui->rightLibraryButton->setIcon(CompanionIcon("library.png"));
|
ui->rightLibraryButton->setIcon(CompanionIcon("library.png"));
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1086</width>
|
<width>1087</width>
|
||||||
<height>285</height>
|
<height>285</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@@ -22,10 +22,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Transmitter Splash Screen Editor</string>
|
<string>Transmitter Splash Screen Editor</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
|
|||||||
@@ -2,13 +2,14 @@
|
|||||||
#include "ui_downloaddialog.h"
|
#include "ui_downloaddialog.h"
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
#include "helpers.h"
|
||||||
|
|
||||||
downloadDialog::downloadDialog(QWidget *parent, QString src, QString tgt) :
|
downloadDialog::downloadDialog(QWidget *parent, QString src, QString tgt) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::downloadDialog)
|
ui(new Ui::downloadDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("fwpreferences.png"));
|
||||||
ui->progressBar->setValue(1);
|
ui->progressBar->setValue(1);
|
||||||
ui->progressBar->setMinimum(0);
|
ui->progressBar->setMinimum(0);
|
||||||
ui->progressBar->setMaximum(0);
|
ui->progressBar->setMaximum(0);
|
||||||
|
|||||||
@@ -13,10 +13,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Downloading: </string>
|
<string>Downloading: </string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QProgressBar" name="progressBar">
|
<widget class="QProgressBar" name="progressBar">
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
#include "fusesdialog.h"
|
#include "fusesdialog.h"
|
||||||
#include "ui_fusesdialog.h"
|
#include "ui_fusesdialog.h"
|
||||||
|
|
||||||
#include "burnconfigdialog.h"
|
#include "burnconfigdialog.h"
|
||||||
|
#include "helpers.h"
|
||||||
|
|
||||||
fusesDialog::fusesDialog(QWidget *parent) :
|
fusesDialog::fusesDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::fusesDialog)
|
ui(new Ui::fusesDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("fuses.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
fusesDialog::~fusesDialog()
|
fusesDialog::~fusesDialog()
|
||||||
|
|||||||
@@ -13,10 +13,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Fuses</string>
|
<string>Fuses</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="1" column="0" colspan="2">
|
<item row="1" column="0" colspan="2">
|
||||||
<widget class="QPushButton" name="readFuses">
|
<widget class="QPushButton" name="readFuses">
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ GeneralEdit::GeneralEdit(RadioData &radioData, QWidget *parent) :
|
|||||||
g_eeGeneral(radioData.generalSettings)
|
g_eeGeneral(radioData.generalSettings)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
this->setWindowIcon(QIcon(":/icon.png"));
|
this->setWindowIcon(CompanionIcon("open.png"));
|
||||||
|
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
QString firmware_id = settings.value("firmware", default_firmware_variant.id).toString();
|
QString firmware_id = settings.value("firmware", default_firmware_variant.id).toString();
|
||||||
|
|||||||
@@ -19,10 +19,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>General Edit</string>
|
<string>General Edit</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="sizeGripEnabled">
|
<property name="sizeGripEnabled">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@@ -1559,10 +1555,10 @@ Acceptable values are 5v..10v</string>
|
|||||||
<property name="sizeConstraint">
|
<property name="sizeConstraint">
|
||||||
<enum>QLayout::SetMinimumSize</enum>
|
<enum>QLayout::SetMinimumSize</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="verticalSpacing">
|
<property name="topMargin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="topMargin">
|
<property name="verticalSpacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="2">
|
<item row="0" column="2">
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#include "logsdialog.h"
|
#include "logsdialog.h"
|
||||||
#include "ui_logsdialog.h"
|
#include "ui_logsdialog.h"
|
||||||
#include "qcustomplot.h"
|
#include "qcustomplot.h"
|
||||||
|
#include "helpers.h"
|
||||||
#if defined WIN32 || !defined __GNUC__
|
#if defined WIN32 || !defined __GNUC__
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
@@ -14,6 +15,7 @@ logsDialog::logsDialog(QWidget *parent) :
|
|||||||
csvlog.clear();
|
csvlog.clear();
|
||||||
srand(QDateTime::currentDateTime().toTime_t());
|
srand(QDateTime::currentDateTime().toTime_t());
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("logs.png"));
|
||||||
palette.clear();
|
palette.clear();
|
||||||
plotLock=false;
|
plotLock=false;
|
||||||
for (int i=0; i< 60; i++)
|
for (int i=0; i< 60; i++)
|
||||||
|
|||||||
@@ -13,10 +13,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Companion Log Viewer</string>
|
<string>Companion Log Viewer</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="sizeGripEnabled">
|
<property name="sizeGripEnabled">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@@ -70,7 +66,16 @@
|
|||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="margin">
|
<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>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
@@ -188,7 +193,7 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="verticalHeaderVisible">
|
<attribute name="verticalHeaderVisible">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="verticalHeaderDefaultSectionSize">
|
<attribute name="verticalHeaderDefaultSectionSize">
|
||||||
<number>18</number>
|
<number>18</number>
|
||||||
|
|||||||
@@ -672,7 +672,7 @@ void MainWindow::openDocURL()
|
|||||||
void MainWindow::openFile()
|
void MainWindow::openFile()
|
||||||
{
|
{
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
QString fileName = QFileDialog::getOpenFileName(this, tr("Open"), settings.value("lastDir").toString(),tr(EEPROM_FILES_FILTER));
|
QString fileName = QFileDialog::getOpenFileName(this, tr("Open Models and Settings file"), settings.value("lastDir").toString(),tr(EEPROM_FILES_FILTER));
|
||||||
if (!fileName.isEmpty()) {
|
if (!fileName.isEmpty()) {
|
||||||
settings.setValue("lastDir", QFileInfo(fileName).dir().absolutePath());
|
settings.setValue("lastDir", QFileInfo(fileName).dir().absolutePath());
|
||||||
|
|
||||||
@@ -1551,6 +1551,7 @@ void MainWindow::about()
|
|||||||
aboutStr.append("<br/><br/>");
|
aboutStr.append("<br/><br/>");
|
||||||
aboutStr.append(tr("Copyright") + " Bertrand Songis & Romolo Manfredini<br/>© 2011-2014<br/>");
|
aboutStr.append(tr("Copyright") + " Bertrand Songis & Romolo Manfredini<br/>© 2011-2014<br/>");
|
||||||
QMessageBox msgBox(this);
|
QMessageBox msgBox(this);
|
||||||
|
msgBox.setWindowIcon(CompanionIcon("information.png"));
|
||||||
msgBox.setWindowTitle(tr("About Companion"));
|
msgBox.setWindowTitle(tr("About Companion"));
|
||||||
msgBox.setText(aboutStr);
|
msgBox.setText(aboutStr);
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ MdiChild::MdiChild():
|
|||||||
fileChanged(false)
|
fileChanged(false)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("open.png"));
|
||||||
ui->SimulateTxButton->setIcon(CompanionIcon("simulate.png"));
|
ui->SimulateTxButton->setIcon(CompanionIcon("simulate.png"));
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
||||||
|
|||||||
@@ -13,10 +13,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="ModelsListWidget" name="modelsList"/>
|
<widget class="ModelsListWidget" name="modelsList"/>
|
||||||
|
|||||||
@@ -3,7 +3,10 @@
|
|||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
#include "eeprominterface.h"
|
#include "eeprominterface.h"
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
#include "helpers.h"
|
||||||
|
|
||||||
#define NUM_CH 10
|
#define NUM_CH 10
|
||||||
|
|
||||||
modelConfigDialog::modelConfigDialog(RadioData &radioData, uint64_t * result, QWidget *parent) :
|
modelConfigDialog::modelConfigDialog(RadioData &radioData, uint64_t * result, QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::modelConfigDialog),
|
ui(new Ui::modelConfigDialog),
|
||||||
@@ -12,6 +15,7 @@ modelConfigDialog::modelConfigDialog(RadioData &radioData, uint64_t * result, QW
|
|||||||
generalSettings(radioData.generalSettings)
|
generalSettings(radioData.generalSettings)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("wizard.png"));
|
||||||
rxLock=false;
|
rxLock=false;
|
||||||
ruddercolor << "#ffd100" << "#ffff00";
|
ruddercolor << "#ffd100" << "#ffff00";
|
||||||
throttlecolor << "#e40000";
|
throttlecolor << "#e40000";
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>773</width>
|
<width>793</width>
|
||||||
<height>591</height>
|
<height>599</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@@ -25,10 +25,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Model Configuration Wizard</string>
|
<string>Model Configuration Wizard</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QGridLayout" name="gridLayout_2" rowstretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0,1" columnstretch="0,0,1,1,1,1">
|
<layout class="QGridLayout" name="gridLayout_2" rowstretch="0,0,0,0,0,0,0,0,0,0,0,0,0,0,1" columnstretch="0,0,1,1,1,1">
|
||||||
<item row="3" column="2">
|
<item row="3" column="2">
|
||||||
<widget class="QLabel" name="engine_Label">
|
<widget class="QLabel" name="engine_Label">
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ printDialog::printDialog(QWidget *parent, GeneralSettings *gg, ModelData *gm, QS
|
|||||||
ui(new Ui::printDialog)
|
ui(new Ui::printDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("print.png"));
|
||||||
g_model = gm;
|
g_model = gm;
|
||||||
g_eeGeneral = gg;
|
g_eeGeneral = gg;
|
||||||
printfilename=filename;
|
printfilename=filename;
|
||||||
|
|||||||
@@ -25,10 +25,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Dialog</string>
|
<string>Dialog</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTextEdit" name="textEdit">
|
<widget class="QTextEdit" name="textEdit">
|
||||||
|
|||||||
@@ -5,10 +5,12 @@
|
|||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
//#include "splashlabel.h"
|
//#include "splashlabel.h"
|
||||||
#include "flashinterface.h"
|
#include "flashinterface.h"
|
||||||
|
#include "helpers.h"
|
||||||
|
|
||||||
splashLibrary::splashLibrary(QWidget *parent, QString * fileName) : QDialog(parent), ui(new Ui::splashLibrary) {
|
splashLibrary::splashLibrary(QWidget *parent, QString * fileName) : QDialog(parent), ui(new Ui::splashLibrary) {
|
||||||
splashFileName = fileName;
|
splashFileName = fileName;
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowIcon(CompanionIcon("library.png"));
|
||||||
ui->nextPage->setIcon(CompanionIcon("arrow-right.png"));
|
ui->nextPage->setIcon(CompanionIcon("arrow-right.png"));
|
||||||
ui->prevPage->setIcon(CompanionIcon("arrow-left.png"));
|
ui->prevPage->setIcon(CompanionIcon("arrow-left.png"));
|
||||||
page = 0;
|
page = 0;
|
||||||
|
|||||||
@@ -25,10 +25,6 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
|
||||||
<iconset resource="companion.qrc">
|
|
||||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
||||||
</property>
|
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QToolButton" name="prevPage">
|
<widget class="QToolButton" name="prevPage">
|
||||||
|
|||||||
Reference in New Issue
Block a user