Added project files for Qt
This commit is contained in:
305
.gitignore
vendored
305
.gitignore
vendored
@@ -1,252 +1,73 @@
|
|||||||
## Ignore Visual Studio temporary files, build results, and
|
# This file is used to ignore files which are generated
|
||||||
## files generated by popular Visual Studio add-ons.
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
# User-specific files
|
|
||||||
*.suo
|
|
||||||
*.user
|
|
||||||
*.userosscache
|
|
||||||
*.sln.docstates
|
|
||||||
|
|
||||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
|
||||||
*.userprefs
|
|
||||||
|
|
||||||
# Build results
|
|
||||||
[Dd]ebug/
|
|
||||||
[Dd]ebugPublic/
|
|
||||||
[Rr]elease/
|
|
||||||
[Rr]eleases/
|
|
||||||
x64/
|
|
||||||
x86/
|
|
||||||
bld/
|
|
||||||
[Bb]in/
|
|
||||||
[Oo]bj/
|
|
||||||
[Ll]og/
|
|
||||||
|
|
||||||
# Visual Studio 2015 cache/options directory
|
|
||||||
.vs/
|
|
||||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
|
||||||
#wwwroot/
|
|
||||||
|
|
||||||
# MSTest test Results
|
|
||||||
[Tt]est[Rr]esult*/
|
|
||||||
[Bb]uild[Ll]og.*
|
|
||||||
|
|
||||||
# NUNIT
|
|
||||||
*.VisualState.xml
|
|
||||||
TestResult.xml
|
|
||||||
|
|
||||||
# Build Results of an ATL Project
|
|
||||||
[Dd]ebugPS/
|
|
||||||
[Rr]eleasePS/
|
|
||||||
dlldata.c
|
|
||||||
|
|
||||||
# DNX
|
|
||||||
project.lock.json
|
|
||||||
artifacts/
|
|
||||||
|
|
||||||
*_i.c
|
|
||||||
*_p.c
|
|
||||||
*_i.h
|
|
||||||
*.ilk
|
|
||||||
*.meta
|
|
||||||
*.obj
|
|
||||||
*.pch
|
|
||||||
*.pdb
|
|
||||||
*.pgc
|
|
||||||
*.pgd
|
|
||||||
*.rsp
|
|
||||||
*.sbr
|
|
||||||
*.tlb
|
|
||||||
*.tli
|
|
||||||
*.tlh
|
|
||||||
*.tmp
|
|
||||||
*.tmp_proj
|
|
||||||
*.log
|
|
||||||
*.vspscc
|
|
||||||
*.vssscc
|
|
||||||
.builds
|
|
||||||
*.pidb
|
|
||||||
*.svclog
|
|
||||||
*.scc
|
|
||||||
|
|
||||||
# Chutzpah Test files
|
|
||||||
_Chutzpah*
|
|
||||||
|
|
||||||
# Visual C++ cache files
|
|
||||||
ipch/
|
|
||||||
*.aps
|
|
||||||
*.ncb
|
|
||||||
*.opendb
|
|
||||||
*.opensdf
|
|
||||||
*.sdf
|
|
||||||
*.cachefile
|
|
||||||
*.VC.db
|
|
||||||
*.VC.VC.opendb
|
|
||||||
|
|
||||||
# Visual Studio profiler
|
|
||||||
*.psess
|
|
||||||
*.vsp
|
|
||||||
*.vspx
|
|
||||||
*.sap
|
|
||||||
|
|
||||||
# TFS 2012 Local Workspace
|
|
||||||
$tf/
|
|
||||||
|
|
||||||
# Guidance Automation Toolkit
|
|
||||||
*.gpState
|
|
||||||
|
|
||||||
# ReSharper is a .NET coding add-in
|
|
||||||
_ReSharper*/
|
|
||||||
*.[Rr]e[Ss]harper
|
|
||||||
*.DotSettings.user
|
|
||||||
|
|
||||||
# JustCode is a .NET coding add-in
|
|
||||||
.JustCode
|
|
||||||
|
|
||||||
# TeamCity is a build add-in
|
|
||||||
_TeamCity*
|
|
||||||
|
|
||||||
# DotCover is a Code Coverage Tool
|
|
||||||
*.dotCover
|
|
||||||
|
|
||||||
# NCrunch
|
|
||||||
_NCrunch_*
|
|
||||||
.*crunch*.local.xml
|
|
||||||
nCrunchTemp_*
|
|
||||||
|
|
||||||
# MightyMoose
|
|
||||||
*.mm.*
|
|
||||||
AutoTest.Net/
|
|
||||||
|
|
||||||
# Web workbench (sass)
|
|
||||||
.sass-cache/
|
|
||||||
|
|
||||||
# Installshield output folder
|
|
||||||
[Ee]xpress/
|
|
||||||
|
|
||||||
# DocProject is a documentation generator add-in
|
|
||||||
DocProject/buildhelp/
|
|
||||||
DocProject/Help/*.HxT
|
|
||||||
DocProject/Help/*.HxC
|
|
||||||
DocProject/Help/*.hhc
|
|
||||||
DocProject/Help/*.hhk
|
|
||||||
DocProject/Help/*.hhp
|
|
||||||
DocProject/Help/Html2
|
|
||||||
DocProject/Help/html
|
|
||||||
|
|
||||||
# Click-Once directory
|
|
||||||
publish/
|
|
||||||
|
|
||||||
# Publish Web Output
|
|
||||||
*.[Pp]ublish.xml
|
|
||||||
*.azurePubxml
|
|
||||||
# TODO: Comment the next line if you want to checkin your web deploy settings
|
|
||||||
# but database connection strings (with potential passwords) will be unencrypted
|
|
||||||
*.pubxml
|
|
||||||
*.publishproj
|
|
||||||
|
|
||||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
|
||||||
# checkin your Azure Web App publish settings, but sensitive information contained
|
|
||||||
# in these scripts will be unencrypted
|
|
||||||
PublishScripts/
|
|
||||||
|
|
||||||
# NuGet Packages
|
|
||||||
*.nupkg
|
|
||||||
# The packages folder can be ignored because of Package Restore
|
|
||||||
**/packages/*
|
|
||||||
# except build/, which is used as an MSBuild target.
|
|
||||||
!**/packages/build/
|
|
||||||
# Uncomment if necessary however generally it will be regenerated when needed
|
|
||||||
#!**/packages/repositories.config
|
|
||||||
# NuGet v3's project.json files produces more ignoreable files
|
|
||||||
*.nuget.props
|
|
||||||
*.nuget.targets
|
|
||||||
|
|
||||||
# Microsoft Azure Build Output
|
|
||||||
csx/
|
|
||||||
*.build.csdef
|
|
||||||
|
|
||||||
# Microsoft Azure Emulator
|
|
||||||
ecf/
|
|
||||||
rcf/
|
|
||||||
|
|
||||||
# Windows Store app package directories and files
|
|
||||||
AppPackages/
|
|
||||||
BundleArtifacts/
|
|
||||||
Package.StoreAssociation.xml
|
|
||||||
_pkginfo.txt
|
|
||||||
|
|
||||||
# Visual Studio cache files
|
|
||||||
# files ending in .cache can be ignored
|
|
||||||
*.[Cc]ache
|
|
||||||
# but keep track of directories ending in .cache
|
|
||||||
!*.[Cc]ache/
|
|
||||||
|
|
||||||
# Others
|
|
||||||
ClientBin/
|
|
||||||
~$*
|
|
||||||
*~
|
*~
|
||||||
*.dbmdl
|
*.autosave
|
||||||
*.dbproj.schemaview
|
*.a
|
||||||
*.pfx
|
*.core
|
||||||
*.publishsettings
|
*.moc
|
||||||
node_modules/
|
*.o
|
||||||
orleans.codegen.cs
|
*.obj
|
||||||
|
*.orig
|
||||||
|
*.rej
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*_pch.h.cpp
|
||||||
|
*_resource.rc
|
||||||
|
*.qm
|
||||||
|
.#*
|
||||||
|
*.*#
|
||||||
|
core
|
||||||
|
!core/
|
||||||
|
tags
|
||||||
|
.DS_Store
|
||||||
|
.directory
|
||||||
|
*.debug
|
||||||
|
Makefile*
|
||||||
|
*.prl
|
||||||
|
*.app
|
||||||
|
moc_*.cpp
|
||||||
|
ui_*.h
|
||||||
|
qrc_*.cpp
|
||||||
|
Thumbs.db
|
||||||
|
*.res
|
||||||
|
*.rc
|
||||||
|
/.qmake.cache
|
||||||
|
/.qmake.stash
|
||||||
|
|
||||||
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
# qtcreator generated files
|
||||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
*.pro.user*
|
||||||
#bower_components/
|
|
||||||
|
|
||||||
# RIA/Silverlight projects
|
# xemacs temporary files
|
||||||
Generated_Code/
|
*.flc
|
||||||
|
|
||||||
# Backup & report files from converting an old project file
|
# Vim temporary files
|
||||||
# to a newer Visual Studio version. Backup files are not needed,
|
.*.swp
|
||||||
# because we have git ;-)
|
|
||||||
_UpgradeReport_Files/
|
|
||||||
Backup*/
|
|
||||||
UpgradeLog*.XML
|
|
||||||
UpgradeLog*.htm
|
|
||||||
|
|
||||||
# SQL Server files
|
# Visual Studio generated files
|
||||||
*.mdf
|
*.ib_pdb_index
|
||||||
*.ldf
|
*.idb
|
||||||
|
*.ilk
|
||||||
|
*.pdb
|
||||||
|
*.sln
|
||||||
|
*.suo
|
||||||
|
*.vcproj
|
||||||
|
*vcproj.*.*.user
|
||||||
|
*.ncb
|
||||||
|
*.sdf
|
||||||
|
*.opensdf
|
||||||
|
*.vcxproj
|
||||||
|
*vcxproj.*
|
||||||
|
|
||||||
# Business Intelligence projects
|
# MinGW generated files
|
||||||
*.rdl.data
|
*.Debug
|
||||||
*.bim.layout
|
*.Release
|
||||||
*.bim_*.settings
|
|
||||||
|
|
||||||
# Microsoft Fakes
|
# Python byte code
|
||||||
FakesAssemblies/
|
*.pyc
|
||||||
|
|
||||||
# GhostDoc plugin setting file
|
# Binaries
|
||||||
*.GhostDoc.xml
|
# --------
|
||||||
|
*.dll
|
||||||
|
*.exe
|
||||||
|
|
||||||
# Node.js Tools for Visual Studio
|
|
||||||
.ntvs_analysis.dat
|
|
||||||
|
|
||||||
# Visual Studio 6 build log
|
|
||||||
*.plg
|
|
||||||
|
|
||||||
# Visual Studio 6 workspace options file
|
|
||||||
*.opt
|
|
||||||
|
|
||||||
# Visual Studio LightSwitch build output
|
|
||||||
**/*.HTMLClient/GeneratedArtifacts
|
|
||||||
**/*.DesktopClient/GeneratedArtifacts
|
|
||||||
**/*.DesktopClient/ModelManifest.xml
|
|
||||||
**/*.Server/GeneratedArtifacts
|
|
||||||
**/*.Server/ModelManifest.xml
|
|
||||||
_Pvt_Extensions
|
|
||||||
|
|
||||||
# Paket dependency manager
|
|
||||||
.paket/paket.exe
|
|
||||||
paket-files/
|
|
||||||
|
|
||||||
# FAKE - F# Make
|
|
||||||
.fake/
|
|
||||||
|
|
||||||
# JetBrains Rider
|
|
||||||
.idea/
|
|
||||||
*.sln.iml
|
|
||||||
|
Binary file not shown.
27
KnappCC2017.pro
Normal file
27
KnappCC2017.pro
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
QT += core
|
||||||
|
QT -= gui
|
||||||
|
|
||||||
|
CONFIG += c++11
|
||||||
|
|
||||||
|
TARGET = KnappCC2017
|
||||||
|
CONFIG += console
|
||||||
|
CONFIG -= app_bundle
|
||||||
|
|
||||||
|
TEMPLATE = app
|
||||||
|
|
||||||
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
# The following define makes your compiler emit warnings if you use
|
||||||
|
# any feature of Qt which as been marked deprecated (the exact warnings
|
||||||
|
# depend on your compiler). Please consult the documentation of the
|
||||||
|
# deprecated API in order to know how to port your code away from it.
|
||||||
|
DEFINES += QT_DEPRECATED_WARNINGS
|
||||||
|
|
||||||
|
# You can also make your code fail to compile if you use deprecated APIs.
|
||||||
|
# In order to do so, uncomment the following line.
|
||||||
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
|
||||||
|
DISTFILES += \
|
||||||
|
input/containers.csv \
|
||||||
|
input/products.csv
|
Binary file not shown.
10001
input/containers.csv
Normal file
10001
input/containers.csv
Normal file
File diff suppressed because it is too large
Load Diff
101
input/products.csv
Normal file
101
input/products.csv
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
# code;(container-type;max-slot-quantity;)+
|
||||||
|
PROD000001;Full;96;
|
||||||
|
PROD000002;Full;55;Half;25;Quarter;10;
|
||||||
|
PROD000003;Full;415;Half;207;Quarter;103;
|
||||||
|
PROD000004;Full;48;
|
||||||
|
PROD000005;Full;122;Half;60;Quarter;29;
|
||||||
|
PROD000006;Full;55;Half;25;Quarter;10;
|
||||||
|
PROD000007;Half;201;Quarter;100;
|
||||||
|
PROD000008;Full;102;Half;51;
|
||||||
|
PROD000009;Full;28;
|
||||||
|
PROD000010;Full;127;Half;63;Quarter;31;
|
||||||
|
PROD000011;Quarter;31;
|
||||||
|
PROD000012;Full;198;Half;98;Quarter;48;
|
||||||
|
PROD000013;Half;20;Quarter;9;
|
||||||
|
PROD000014;Full;207;Half;103;Quarter;51;
|
||||||
|
PROD000015;Full;51;Half;23;Quarter;9;
|
||||||
|
PROD000016;Full;51;Half;23;Quarter;9;
|
||||||
|
PROD000017;Half;96;Quarter;48;
|
||||||
|
PROD000018;Full;396;Half;198;Quarter;99;
|
||||||
|
PROD000019;Full;36;Half;18;Quarter;9;
|
||||||
|
PROD000020;Full;40;Half;20;Quarter;10;
|
||||||
|
PROD000021;Full;102;Half;51;
|
||||||
|
PROD000022;Half;23;Quarter;9;
|
||||||
|
PROD000023;Full;36;Half;18;Quarter;9;
|
||||||
|
PROD000024;Full;48;
|
||||||
|
PROD000025;Full;198;Half;98;
|
||||||
|
PROD000026;Quarter;50;
|
||||||
|
PROD000027;Full;29;
|
||||||
|
PROD000028;Half;195;Quarter;97;
|
||||||
|
PROD000029;Full;9;
|
||||||
|
PROD000030;Full;130;Half;64;Quarter;31;
|
||||||
|
PROD000031;Quarter;51;
|
||||||
|
PROD000032;Full;192;Half;96;Quarter;48;
|
||||||
|
PROD000033;Full;407;Half;203;Quarter;101;
|
||||||
|
PROD000034;Full;139;Half;67;Quarter;31;
|
||||||
|
PROD000035;Full;9;
|
||||||
|
PROD000036;Full;99;
|
||||||
|
PROD000037;Full;195;Half;97;Quarter;48;
|
||||||
|
PROD000038;Full;49;
|
||||||
|
PROD000039;Full;96;
|
||||||
|
PROD000040;Full;61;Half;30;
|
||||||
|
PROD000041;Full;42;Half;20;Quarter;9;
|
||||||
|
PROD000042;Full;415;Half;205;Quarter;100;
|
||||||
|
PROD000043;Full;396;Half;198;Quarter;99;
|
||||||
|
PROD000044;Full;55;Half;25;Quarter;10;
|
||||||
|
PROD000045;Full;46;Half;22;Quarter;10;
|
||||||
|
PROD000046;Half;105;Quarter;50;
|
||||||
|
PROD000047;Full;55;Half;25;Quarter;10;
|
||||||
|
PROD000048;Full;50;
|
||||||
|
PROD000049;Full;9;
|
||||||
|
PROD000050;Full;20;Half;9;
|
||||||
|
PROD000051;Full;400;Half;200;Quarter;100;
|
||||||
|
PROD000052;Quarter;31;
|
||||||
|
PROD000053;Full;207;Half;103;Quarter;51;
|
||||||
|
PROD000054;Full;9;
|
||||||
|
PROD000055;Full;36;Half;18;Quarter;9;
|
||||||
|
PROD000056;Full;18;Half;9;
|
||||||
|
PROD000057;Full;388;Half;194;Quarter;97;
|
||||||
|
PROD000058;Quarter;9;
|
||||||
|
PROD000059;Full;61;Half;28;
|
||||||
|
PROD000060;Full;49;
|
||||||
|
PROD000061;Full;10;
|
||||||
|
PROD000062;Quarter;49;
|
||||||
|
PROD000063;Full;387;Half;193;Quarter;96;
|
||||||
|
PROD000064;Full;61;Half;30;
|
||||||
|
PROD000065;Full;48;
|
||||||
|
PROD000066;Full;42;Half;20;Quarter;9;
|
||||||
|
PROD000067;Quarter;103;
|
||||||
|
PROD000068;Full;120;Half;60;Quarter;30;
|
||||||
|
PROD000069;Quarter;101;
|
||||||
|
PROD000070;Full;202;Half;100;Quarter;49;
|
||||||
|
PROD000071;Quarter;10;
|
||||||
|
PROD000072;Full;192;Half;96;
|
||||||
|
PROD000073;Full;120;Half;60;Quarter;30;
|
||||||
|
PROD000074;Full;46;Half;22;Quarter;10;
|
||||||
|
PROD000075;Full;101;
|
||||||
|
PROD000076;Full;100;
|
||||||
|
PROD000077;Full;119;Half;59;Quarter;29;
|
||||||
|
PROD000078;Full;62;Half;31;
|
||||||
|
PROD000079;Half;102;Quarter;51;
|
||||||
|
PROD000080;Half;194;Quarter;97;
|
||||||
|
PROD000081;Quarter;31;
|
||||||
|
PROD000082;Full;112;Half;56;Quarter;28;
|
||||||
|
PROD000083;Full;122;Half;60;Quarter;29;
|
||||||
|
PROD000084;Full;390;Half;194;Quarter;96;
|
||||||
|
PROD000085;Full;65;Half;30;
|
||||||
|
PROD000086;Full;127;Half;61;Quarter;28;
|
||||||
|
PROD000087;Half;18;Quarter;9;
|
||||||
|
PROD000088;Full;116;Half;58;Quarter;29;
|
||||||
|
PROD000089;Full;101;
|
||||||
|
PROD000090;Full;115;Half;57;Quarter;28;
|
||||||
|
PROD000091;Full;105;Half;50;
|
||||||
|
PROD000092;Full;97;
|
||||||
|
PROD000093;Full;20;Half;10;
|
||||||
|
PROD000094;Full;116;Half;58;Quarter;29;
|
||||||
|
PROD000095;Full;29;
|
||||||
|
PROD000096;Full;9;
|
||||||
|
PROD000097;Full;20;Half;10;
|
||||||
|
PROD000098;Full;206;Half;102;Quarter;50;
|
||||||
|
PROD000099;Half;21;Quarter;10;
|
||||||
|
PROD000100;Full;10;
|
|
Reference in New Issue
Block a user