-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 30636b9
Showing
54 changed files
with
17,055 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,15 @@ | ||
1 Deer 14.92 444 Personnelle A Animal | ||
2 Waterfall 21.66 449 Personnelle N Nature | ||
3 Nebula 42.3 604 Pixabay N Univers | ||
4 JamesWebb 12.25 373 NASA A Machine | ||
5 Earth 51.15 392 NASA A Univers | ||
6 LEM 0 200 NASA A Machine | ||
7 Valley 102.81 4426 Pexels N Nature | ||
9 Buildings 89.23 1973 Shopify A Bâtiment | ||
10 Colosseum 39.12 649 Pixabay A Bâtiment | ||
11 Pyramid 12.21 347 Pixabay N Bâtiment | ||
12 Bridge 6.88 605 Pixabay N Bâtiment | ||
13 Forest 66.45 1039 Pixabay A Nature | ||
14 Scotland 17.69 620 Pixabay N Machine | ||
15 EiffelTower 7.13 560 Pixabay A Bâtiment | ||
19 Ours 20 241 Cont N Pixa |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,69 @@ | ||
QT += core gui | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
CONFIG += c++17 | ||
|
||
#INCLUDEPATH += /usr/local/include/opencv4 | ||
|
||
#LIBS += /usr/local/lib/libopencv_highgui.so | ||
#LIBS += /usr/local/lib/libopencv_core.so.406 | ||
#LIBS += /usr/local/lib/libopencv_imgproc.so.406 | ||
|
||
INCLUDEPATH += C:\opencv\opencv\build\include | ||
|
||
LIBS += C:\opencv\opencv\build\x64\vc15\lib\opencv_world460.lib | ||
LIBS += C:\opencv\opencv\build\x64\vc15\lib\opencv_world460d.lib | ||
|
||
QT += charts | ||
|
||
|
||
# You can make your code fail to compile if it uses deprecated APIs. | ||
# In order to do so, uncomment the following line. | ||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 | ||
|
||
SOURCES += \ | ||
accreditation.cpp \ | ||
apropos.cpp \ | ||
biblio.cpp \ | ||
bibliotheque.cpp \ | ||
fentr.cpp \ | ||
fonctions.cpp \ | ||
frequentiel.cpp \ | ||
histogramme.cpp \ | ||
main.cpp \ | ||
traitement.cpp \ | ||
universimple.cpp | ||
|
||
HEADERS += \ | ||
accreditation.h \ | ||
apropos.h \ | ||
biblio.h \ | ||
bibliotheque.h \ | ||
fentr.h \ | ||
fonctions.h \ | ||
frequentiel.h \ | ||
histogramme.h \ | ||
traitement.h \ | ||
universimple.h | ||
|
||
FORMS += \ | ||
accreditation.ui \ | ||
apropos.ui \ | ||
bibliotheque.ui \ | ||
fentr.ui \ | ||
frequentiel.ui \ | ||
histogramme.ui \ | ||
traitement.ui \ | ||
universimple.ui | ||
|
||
# Default rules for deployment. | ||
#qnx: target.path = /tmp/$${TARGET}/bin | ||
#else: unix:!android: target.path = /opt/$${TARGET}/bin | ||
#!isEmpty(target.path): INSTALLS += target | ||
|
||
#win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../opencv/opencv/build/x64/vc15/lib/ -lopencv_world460 | ||
#else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../opencv/opencv/build/x64/vc15/lib/ -lopencv_world460d | ||
|
||
#INCLUDEPATH += $$PWD/../../../../../opencv/opencv/build/include | ||
#DEPENDPATH += $$PWD/../../../../../opencv/opencv/build/include |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,152 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="Form Files"> | ||
<UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier> | ||
<Extensions>ui</Extensions> | ||
<ParseFiles>false</ParseFiles> | ||
</Filter> | ||
<Filter Include="Form Files"> | ||
<UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier> | ||
<Extensions>ui</Extensions> | ||
<ParseFiles>false</ParseFiles> | ||
</Filter> | ||
<Filter Include="Generated Files"> | ||
<UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier> | ||
<Extensions>cpp;c;cxx;moc;h;def;odl;idl;res;</Extensions> | ||
</Filter> | ||
<Filter Include="Generated Files"> | ||
<UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier> | ||
<Extensions>cpp;c;cxx;moc;h;def;odl;idl;res;</Extensions> | ||
</Filter> | ||
<Filter Include="Header Files"> | ||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
</Filter> | ||
<Filter Include="Header Files"> | ||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
</Filter> | ||
<Filter Include="Source Files"> | ||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
</Filter> | ||
<Filter Include="Source Files"> | ||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="apropos.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="biblio.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="bibliotheque.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="fentr.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="fonctions.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="frequentiel.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="histogramme.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="main.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="traitement.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="universimple.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<QtMoc Include="apropos.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
<ClInclude Include="biblio.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<QtMoc Include="bibliotheque.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
<QtMoc Include="fentr.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
<ClInclude Include="fonctions.h"> | ||
<Filter>Header Files</Filter> | ||
</ClInclude> | ||
<QtMoc Include="frequentiel.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
<QtMoc Include="histogramme.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
<QtMoc Include="traitement.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
<QtMoc Include="universimple.h"> | ||
<Filter>Header Files</Filter> | ||
</QtMoc> | ||
</ItemGroup> | ||
<ItemGroup> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<CustomBuild Include="debug\moc_predefs.h.cbt"> | ||
<Filter>Generated Files</Filter> | ||
</CustomBuild> | ||
<CustomBuild Include="release\moc_predefs.h.cbt"> | ||
<Filter>Generated Files</Filter> | ||
</CustomBuild> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</ItemGroup> | ||
<ItemGroup> | ||
<QtUic Include="apropos.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
<QtUic Include="bibliotheque.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
<QtUic Include="fentr.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
<QtUic Include="frequentiel.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
<QtUic Include="histogramme.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
<QtUic Include="traitement.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
<QtUic Include="universimple.ui"> | ||
<Filter>Form Files</Filter> | ||
</QtUic> | ||
</ItemGroup> | ||
</Project> |
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,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup /> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<QtLastBackgroundBuild>2023-01-16T23:44:29.2789935Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
<PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<QtLastBackgroundBuild>2023-01-16T23:44:29.3409904Z</QtLastBackgroundBuild> | ||
</PropertyGroup> | ||
</Project> |
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,99 @@ | ||
#include "accreditation.h" | ||
// Appel des autres fenêtres | ||
#include "ui_accreditation.h" | ||
//#include "accred.h" | ||
|
||
|
||
#include <QDialog> | ||
#include <QMainWindow> | ||
#include <QMessageBox> | ||
#include <QFileDialog> | ||
#include <QSlider> | ||
#include <QLCDNumber> | ||
|
||
#include <QDir> | ||
#include <QComboBox> | ||
|
||
#include <iostream> | ||
#include <fstream> | ||
|
||
using namespace std; | ||
|
||
Accreditation::Accreditation(QWidget *parent) : | ||
QDialog(parent), | ||
ui(new Ui::Accreditation) | ||
{ | ||
ui->setupUi(this); | ||
} | ||
|
||
Accreditation::~Accreditation() | ||
{ | ||
delete ui; | ||
} | ||
|
||
void Accreditation::SetAdr(QString adresse) | ||
{ | ||
adr = adresse; | ||
} | ||
|
||
|
||
|
||
|
||
void Accreditation::on_Annuler_Accred_clicked() | ||
{ | ||
// retour sur la page arrière | ||
|
||
close(); | ||
|
||
} | ||
|
||
|
||
void Accreditation::on_Valider_Accred_clicked() | ||
{ | ||
if(ui->code->text().isEmpty()) | ||
{ | ||
QMessageBox::information(this, "Erreur", "Veuillez vous identifier"); | ||
|
||
} | ||
|
||
else | ||
{ | ||
QString code; | ||
|
||
//Accreditation(); | ||
code = ui->code->text(); | ||
|
||
//Accreditation mdp; | ||
|
||
if (code.toStdString() == "AB-01-CD") | ||
//if (code == "1") | ||
{ | ||
numero_acces = 1; //ils ont tous les droits | ||
QMessageBox::information(this, "Information", "Votre numéro d'accréditation est : 1 "); | ||
//mdp.numero_acces; | ||
|
||
close(); | ||
} | ||
else if (code.toStdString() == "EF-02-GH") | ||
//else if (code == "2") | ||
{ | ||
numero_acces = 2; | ||
QMessageBox::information(this, "Information", "Votre numéro d'accréditation est : 2"); | ||
//mdp.numero_acces; | ||
|
||
close(); | ||
} | ||
else | ||
{ | ||
numero_acces = 0; //Aucun droit | ||
QMessageBox::information(this, "Information", "Votre numéro d'accréditation est : 0, vous n'avez pas accès à la bibliothèque! Désolés! Essayez les traitements ou volez un numéro d'accréditation"); | ||
|
||
|
||
close(); | ||
|
||
} | ||
} | ||
|
||
|
||
} | ||
|
Oops, something went wrong.