mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
Changes to the .pro file for the newly made files.
This commit is contained in:
parent
ae855098cf
commit
3cc077ff38
5 changed files with 1551 additions and 1507 deletions
|
@ -1,3 +1,22 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* gui/TheWire/CustomFrame.cpp *
|
||||||
|
* *
|
||||||
|
* Copyright (c) 2012-2020 Robert Fernie <retroshare.project@gmail.com> *
|
||||||
|
* *
|
||||||
|
* This program is free software: you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU Affero General Public License as *
|
||||||
|
* published by the Free Software Foundation, either version 3 of the *
|
||||||
|
* License, or (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
* This program is distributed in the hope that it will be useful, *
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||||
|
* GNU Affero General Public License for more details. *
|
||||||
|
* *
|
||||||
|
* You should have received a copy of the GNU Affero General Public License *
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
|
||||||
|
* *
|
||||||
|
*******************************************************************************/
|
||||||
#include "CustomFrame.h"
|
#include "CustomFrame.h"
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,22 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* gui/TheWire/CustomFrame.h *
|
||||||
|
* *
|
||||||
|
* Copyright (c) 2012-2020 Robert Fernie <retroshare.project@gmail.com> *
|
||||||
|
* *
|
||||||
|
* This program is free software: you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU Affero General Public License as *
|
||||||
|
* published by the Free Software Foundation, either version 3 of the *
|
||||||
|
* License, or (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
* This program is distributed in the hope that it will be useful, *
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||||
|
* GNU Affero General Public License for more details. *
|
||||||
|
* *
|
||||||
|
* You should have received a copy of the GNU Affero General Public License *
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
|
||||||
|
* *
|
||||||
|
*******************************************************************************/
|
||||||
#ifndef CUSTOMFRAMEH_H
|
#ifndef CUSTOMFRAMEH_H
|
||||||
#define CUSTOMFRAMEH_H
|
#define CUSTOMFRAMEH_H
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ void PulseViewGroup::setup()
|
||||||
QSize frameSize = frame_masthead->size();
|
QSize frameSize = frame_masthead->size();
|
||||||
|
|
||||||
// Scale the pixmap based on the frame size
|
// Scale the pixmap based on the frame size
|
||||||
pixmap = pixmap.scaled(frameSize, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
pixmap = pixmap.scaledToWidth(frameSize.width(), Qt::SmoothTransformation);
|
||||||
frame_masthead->setPixmap(pixmap);
|
frame_masthead->setPixmap(pixmap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="CustomFrame" name="frame_masthead">
|
<widget class="CustomFrame" name="frame_masthead">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
|
@ -569,11 +569,11 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
<class>CustomFrame</class>
|
<class>CustomFrame</class>
|
||||||
<extends>QFrame</extends>
|
<extends>QFrame</extends>
|
||||||
<header>D:\new\RetroShare\retroshare-gui\src\gui\TheWire\CustomFrame.h</header>
|
<header>gui/TheWire/CustomFrame.h</header>
|
||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
|
|
|
@ -87,8 +87,12 @@ rs_gui_cmark {
|
||||||
}
|
}
|
||||||
|
|
||||||
FORMS += TorControl/TorControlWindow.ui
|
FORMS += TorControl/TorControlWindow.ui
|
||||||
SOURCES += TorControl/TorControlWindow.cpp
|
SOURCES += TorControl/TorControlWindow.cpp \
|
||||||
HEADERS += TorControl/TorControlWindow.h
|
gui/TheWire/CustomFrame.cpp \
|
||||||
|
gui/TheWire/CustomFrame.cpp
|
||||||
|
HEADERS += TorControl/TorControlWindow.h \
|
||||||
|
gui/TheWire/CustomFrame.h \
|
||||||
|
gui/TheWire/CustomFrame.h
|
||||||
|
|
||||||
#QMAKE_CFLAGS += -fmudflap
|
#QMAKE_CFLAGS += -fmudflap
|
||||||
#LIBS *= /usr/lib/gcc/x86_64-linux-gnu/4.4/libmudflap.a /usr/lib/gcc/x86_64-linux-gnu/4.4/libmudflapth.a
|
#LIBS *= /usr/lib/gcc/x86_64-linux-gnu/4.4/libmudflap.a /usr/lib/gcc/x86_64-linux-gnu/4.4/libmudflapth.a
|
||||||
|
@ -1220,6 +1224,7 @@ gxsthewire {
|
||||||
gui/TheWire/PulseReply.h \
|
gui/TheWire/PulseReply.h \
|
||||||
gui/TheWire/PulseReplySeperator.h \
|
gui/TheWire/PulseReplySeperator.h \
|
||||||
gui/TheWire/PulseMessage.h \
|
gui/TheWire/PulseMessage.h \
|
||||||
|
gui/TheWire/CustomFrame.h \
|
||||||
|
|
||||||
FORMS += gui/TheWire/WireDialog.ui \
|
FORMS += gui/TheWire/WireDialog.ui \
|
||||||
gui/TheWire/WireGroupItem.ui \
|
gui/TheWire/WireGroupItem.ui \
|
||||||
|
@ -1242,6 +1247,7 @@ gxsthewire {
|
||||||
gui/TheWire/PulseReply.cpp \
|
gui/TheWire/PulseReply.cpp \
|
||||||
gui/TheWire/PulseReplySeperator.cpp \
|
gui/TheWire/PulseReplySeperator.cpp \
|
||||||
gui/TheWire/PulseMessage.cpp \
|
gui/TheWire/PulseMessage.cpp \
|
||||||
|
gui/TheWire/CustomFrame.cpp \
|
||||||
|
|
||||||
RESOURCES += gui/TheWire/TheWire_images.qrc
|
RESOURCES += gui/TheWire/TheWire_images.qrc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue