mirror of
https://gitlab.com/comunic/comunicwatcher
synced 2024-11-21 21:09:26 +00:00
Add Comunic icon
This commit is contained in:
parent
f1d31d1638
commit
c4b85dbf9c
@ -32,3 +32,6 @@ TRANSLATIONS += \
|
||||
qnx: target.path = /tmp/$${TARGET}/bin
|
||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
|
||||
RESOURCES += \
|
||||
ressources.qrc
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "ui_loginwindow.h"
|
||||
|
||||
LoginWindow::LoginWindow(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
: QDialog(parent)
|
||||
, ui(new Ui::LoginWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
@ -1,13 +1,18 @@
|
||||
#ifndef LOGINWINDOW_H
|
||||
#define LOGINWINDOW_H
|
||||
/**
|
||||
* Login window
|
||||
*
|
||||
* @author Pierre Hubert
|
||||
*/
|
||||
|
||||
#include <QWidget>
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class LoginWindow; }
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class LoginWindow : public QWidget
|
||||
class LoginWindow : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@ -18,4 +23,3 @@ public:
|
||||
private:
|
||||
Ui::LoginWindow *ui;
|
||||
};
|
||||
#endif // LOGINWINDOW_H
|
||||
|
@ -6,14 +6,23 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<width>337</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>LoginWindow</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="ressources.qrc">
|
||||
<normaloff>:/logo_large.png</normaloff>:/logo_large.png</iconset>
|
||||
</property>
|
||||
<property name="autoFillBackground">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<resources/>
|
||||
<resources>
|
||||
<include location="ressources.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
BIN
logo_large.png
Normal file
BIN
logo_large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
5
ressources.qrc
Normal file
5
ressources.qrc
Normal file
@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>logo_large.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
Loading…
Reference in New Issue
Block a user