consolidate all repos to one for archive
54
semester_1/programiranje_1/1_Kolokvij/main.cpp
Normal file
@@ -0,0 +1,54 @@
|
||||
//najdi 100 praštevil od 500 naprej
|
||||
//izracunaj povprecje
|
||||
//izpisi on najvisje do najnizje
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
void izpis (int polje[], int x){
|
||||
x--;
|
||||
for(x; x>=0; x--){
|
||||
cout << polje[x]<<endl;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
int stevilo(int x){
|
||||
int del;
|
||||
x++;
|
||||
for(x; x>0; x++){
|
||||
del = 0;
|
||||
for(int i=2; i<x; i++){
|
||||
if(x%i==0){del=i;}
|
||||
}
|
||||
if(del==0){return x;}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
double povprecje(int polje[], int x){
|
||||
double s = 0;
|
||||
for(int i=0;i<x;i++){
|
||||
s = s+polje[i];
|
||||
}
|
||||
double p = s/x;
|
||||
return p;
|
||||
}
|
||||
|
||||
int main(){
|
||||
int velikost = 100;
|
||||
int polje[velikost];
|
||||
int r = 500;
|
||||
double pov;
|
||||
for(int i = 0;i<velikost;i++){
|
||||
r=stevilo(r);
|
||||
polje[i]=r;
|
||||
}
|
||||
|
||||
// pov = povprecje(polje,velikost);
|
||||
// cout << pov << endl;
|
||||
|
||||
izpis(polje, velikost);
|
||||
|
||||
return 0;
|
||||
}
|
11
semester_1/programiranje_1/Vaje/Vaja_10/10.Vaja/main.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <QApplication>
|
||||
#include "mainwindow.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
MainWindow w;
|
||||
w.show();
|
||||
|
||||
return a.exec();
|
||||
}
|
@@ -0,0 +1,85 @@
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
#include <QFileDialog>
|
||||
#include <QImage>
|
||||
#include <QPicture>
|
||||
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::MainWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
connect(ui->actionOdpri,SIGNAL(triggered()),this,SLOT(nalozi()));
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void MainWindow::nalozi(){
|
||||
slika = new QImage(QFileDialog::getOpenFileName(this,tr("Open Image"), ".", tr("Image Files (*.png *.jpg *.bmp)")));
|
||||
zrcalna = new QImage(*slika);
|
||||
crnobela = new QImage(*slika);
|
||||
zrcali();
|
||||
crnobelo();
|
||||
ui->label->setPixmap(QPixmap::fromImage(*slika));
|
||||
ui->label_2->setPixmap(QPixmap::fromImage(*crnobela));
|
||||
ui->label_3->setPixmap(QPixmap::fromImage(*zrcalna));
|
||||
}
|
||||
|
||||
/**
|
||||
* Uporabite naslednje metode:
|
||||
* QRgb pixel = slika->pixel(int i, int j);
|
||||
* int slika->width();
|
||||
* int slika->height();
|
||||
* zrcalna->setPixel(int i, int j, QRgb pixel);
|
||||
*
|
||||
* Spremenljivke:
|
||||
* slika - slika, ki jo naložite
|
||||
* zrcalna - zrcalna slika
|
||||
*/
|
||||
void MainWindow::zrcali(){
|
||||
for (int i=0; i < slika->width(); i++ ) {
|
||||
for (int j=0; j < slika->height(); j++ ) {
|
||||
QRgb pixel = slika->pixel(i, j);
|
||||
zrcalna->setPixel(slika->width() - i, j, pixel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Uporabite naslednje metode:
|
||||
* QRgb pixel = slika->pixel(int i, int j);
|
||||
* int slika->width();
|
||||
* int slika->height();
|
||||
* QColor color(QRgb pixel);
|
||||
* int color.blue();
|
||||
* int color.red();
|
||||
* int color.green();
|
||||
* void color.setBlue(int x);
|
||||
* void color.setRed(int x);
|
||||
* void color.setGreen(int x);
|
||||
* crnobela->setPixel(int i, int j, QRgb pixel);
|
||||
* QRgb qRgb(int red,int green,int blue);
|
||||
*
|
||||
* Spremenljivke:
|
||||
* slika - slika, ki jo naložite
|
||||
* crnobela - črno bela slika
|
||||
*/
|
||||
void MainWindow::crnobelo(){
|
||||
for (int i=0; i < slika->width(); i++ ) {
|
||||
for (int j=0; j < slika->height(); j++ ) {
|
||||
QRgb pixel = slika->pixel(i, j);
|
||||
QColor color(pixel);
|
||||
int greyscale = (color.red() + color.green() + color.blue())/3;
|
||||
pixel = qRgb(greyscale,greyscale,greyscale);
|
||||
crnobela->setPixel(i, j, pixel);
|
||||
}
|
||||
}
|
||||
}
|
31
semester_1/programiranje_1/Vaje/Vaja_10/10.Vaja/mainwindow.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QImage>
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
||||
public slots:
|
||||
void nalozi();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
QImage* slika;
|
||||
QImage* zrcalna;
|
||||
QImage* crnobela;
|
||||
void zrcali();
|
||||
void crnobelo();
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
145
semester_1/programiranje_1/Vaje/Vaja_10/10.Vaja/mainwindow.ui
Normal file
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWindow</class>
|
||||
<widget class="QMainWindow" name="MainWindow">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>655</width>
|
||||
<height>345</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Slikar</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<property name="accessibleName">
|
||||
<string/>
|
||||
</property>
|
||||
<attribute name="title">
|
||||
<string>Slika</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_2">
|
||||
<attribute name="title">
|
||||
<string>Črno/Belo</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<property name="toolTip">
|
||||
<string comment="a" extracomment="a">a</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string comment="a" extracomment="a">a</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string comment="a" extracomment="a">a</string>
|
||||
</property>
|
||||
<property name="accessibleName">
|
||||
<string comment="a" extracomment="a">a</string>
|
||||
</property>
|
||||
<property name="accessibleDescription">
|
||||
<string comment="a" extracomment="a">a</string>
|
||||
</property>
|
||||
<attribute name="title">
|
||||
<string>Zrcalo</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menuBar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>655</width>
|
||||
<height>27</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuDatoteka">
|
||||
<property name="title">
|
||||
<string>Datoteka</string>
|
||||
</property>
|
||||
<addaction name="actionOdpri"/>
|
||||
<addaction name="actionKon_aj"/>
|
||||
</widget>
|
||||
<addaction name="menuDatoteka"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="mainToolBar">
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
<action name="actionOdpri">
|
||||
<property name="text">
|
||||
<string>Odpri</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionKon_aj">
|
||||
<property name="text">
|
||||
<string>Končaj</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>actionKon_aj</sender>
|
||||
<signal>triggered()</signal>
|
||||
<receiver>MainWindow</receiver>
|
||||
<slot>close()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>327</x>
|
||||
<y>172</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
@@ -0,0 +1,18 @@
|
||||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2011-11-26T10:11:02
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui
|
||||
QT += widgets
|
||||
TARGET = neimenovan
|
||||
TEMPLATE = app
|
||||
|
||||
|
||||
SOURCES += main.cpp\
|
||||
mainwindow.cpp
|
||||
|
||||
HEADERS += mainwindow.h
|
||||
|
||||
FORMS += mainwindow.ui
|
@@ -0,0 +1,264 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 5.0.3, 2022-01-05T07:58:36. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
<value type="QByteArray">{e382bf15-e6e3-43f4-b120-379a311a2cc1}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||
<value type="QString" key="language">Cpp</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||
<value type="QString" key="language">QmlJS</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||
<value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value>
|
||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||
<value type="bool" key="EditorConfiguration.UseIndenter">false</value>
|
||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
|
||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
|
||||
<value type="bool" key="AutoTest.Framework.Boost">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.CTest">false</value>
|
||||
<value type="bool" key="AutoTest.Framework.Catch">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.GTest">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.QtTest">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
|
||||
<value type="int" key="AutoTest.RunAfterBuild">0</value>
|
||||
<value type="bool" key="AutoTest.UseGlobal">true</value>
|
||||
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
|
||||
<value type="QString">-fno-delayed-template-parsing</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
||||
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.BuildSystem</value>
|
||||
<valuemap type="QVariantMap" key="ClangTools">
|
||||
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
|
||||
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
|
||||
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
|
||||
<value type="int" key="ClangTools.ParallelJobs">6</value>
|
||||
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
|
||||
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
|
||||
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
|
||||
<value type="bool" key="ClangTools.UseGlobalSettings">true</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="DeviceType">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 6.2.1 MinGW 64-bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 6.2.1 MinGW 64-bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt6.621.win64_mingw81_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="int" key="EnableQmlDebugging">0</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\Nik\Desktop\1 Semester\Programiranje 1\Vaje\10.Vaja\build-neimenovan-Desktop_Qt_6_2_1_MinGW_64_bit-Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/Nik/Desktop/1 Semester/Programiranje 1/Vaje/10.Vaja/build-neimenovan-Desktop_Qt_6_2_1_MinGW_64_bit-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\Nik\Desktop\1 Semester\Programiranje 1\Vaje\10.Vaja\build-neimenovan-Desktop_Qt_6_2_1_MinGW_64_bit-Release</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/Nik/Desktop/1 Semester/Programiranje 1/Vaje/10.Vaja/build-neimenovan-Desktop_Qt_6_2_1_MinGW_64_bit-Release</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="int" key="QtQuickCompiler">0</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||
<value type="int" key="EnableQmlDebugging">0</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\Nik\Desktop\1 Semester\Programiranje 1\Vaje\10.Vaja\build-neimenovan-Desktop_Qt_6_2_1_MinGW_64_bit-Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/Nik/Desktop/1 Semester/Programiranje 1/Vaje/10.Vaja/build-neimenovan-Desktop_Qt_6_2_1_MinGW_64_bit-Profile</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="int" key="QtQuickCompiler">0</value>
|
||||
<value type="int" key="SeparateDebugInfo">0</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
|
||||
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="CustomOutputParsers"/>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/Nik/Desktop/1 Semester/Programiranje 1/Vaje/10.Vaja/10.Vaja/neimenovan.pro</value>
|
||||
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">C:/Users/Nik/Desktop/1 Semester/Programiranje 1/Vaje/10.Vaja/10.Vaja/neimenovan.pro</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
<value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/Nik/Desktop/1 Semester/Programiranje 1/Vaje/10.Vaja/build-neimenovan-Desktop_Qt_6_2_1_MinGW_64_bit-Debug</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||
<value type="int">1</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||
<value type="int">22</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>Version</variable>
|
||||
<value type="int">22</value>
|
||||
</data>
|
||||
</qtcreator>
|
@@ -0,0 +1,260 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 3.0.1, 2014-12-23T10:59:12. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||
<value type="QString" key="language">Cpp</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||
<value type="QString" key="language">QmlJS</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||
<valuemap type="QVariantMap"/>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{d8b1c2f7-2dec-47bc-b74c-5b5e8697cb9f}</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/mahony/Downloads/build-neimenovan-Desktop-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/mahony/Downloads/build-neimenovan-Desktop-Release</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
|
||||
<value type="QString">-w</value>
|
||||
<value type="QString">-r</value>
|
||||
</valuelist>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">neimenovan</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/mahony/Downloads/naloga09/neimenovan.pro</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">neimenovan.pro</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||
<value type="int">1</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
|
||||
<value type="QByteArray">{e052c536-cd84-4519-9b20-f08d85e2a02a}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||
<value type="int">15</value>
|
||||
</data>
|
||||
</qtcreator>
|
@@ -0,0 +1,242 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by Qt Creator 2.5.2, 2014-01-09T09:10:50. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||
<value type="QString" key="language">Cpp</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QString" key="CurrentPreferences">CppGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||
<value type="QString" key="language">QmlJS</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||
<value type="QByteArray" key="EditorConfiguration.Codec">System</value>
|
||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||
<valuemap type="QVariantMap"/>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:{b0ae79b8-64c2-4f35-9611-1b5ae0154ddf}</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QMake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Gradnja</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Čiščenje</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt v PATH Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/uros/Prejemi/naloga09</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:{b0ae79b8-64c2-4f35-9611-1b5ae0154ddf}</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QMake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Gradnja</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Čiščenje</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt v PATH Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/local/FERI/borko/neimenovan-build-desktop</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Razmestitev</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="bool" key="Analyzer.Project.UseGlobal">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">neimenovan</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">neimenovan.pro</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||
<value type="int">1</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
|
||||
<value type="QString">{9a1629ab-c8b8-4263-80a9-d9689dcee4ae}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||
<value type="int">11</value>
|
||||
</data>
|
||||
</qtcreator>
|
BIN
semester_1/programiranje_1/Vaje/Vaja_10/10.Vaja/slika.jpg
Normal file
After Width: | Height: | Size: 280 KiB |
@@ -0,0 +1,390 @@
|
||||
#############################################################################
|
||||
# Makefile for building: neimenovan
|
||||
# Generated by qmake (3.1) (Qt 6.2.1)
|
||||
# Project: ..\10.Vaja\neimenovan.pro
|
||||
# Template: app
|
||||
# Command: C:\Qt\6.2.1\mingw81_64\bin\qmake.exe -o Makefile ..\10.Vaja\neimenovan.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
#############################################################################
|
||||
|
||||
MAKEFILE = Makefile
|
||||
|
||||
EQ = =
|
||||
|
||||
first: debug
|
||||
install: debug-install
|
||||
uninstall: debug-uninstall
|
||||
QMAKE = C:\Qt\6.2.1\mingw81_64\bin\qmake.exe
|
||||
DEL_FILE = del
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
COPY = copy /y
|
||||
COPY_FILE = copy /y
|
||||
COPY_DIR = xcopy /s /q /y /i
|
||||
INSTALL_FILE = copy /y
|
||||
INSTALL_PROGRAM = copy /y
|
||||
INSTALL_DIR = xcopy /s /q /y /i
|
||||
QINSTALL = C:\Qt\6.2.1\mingw81_64\bin\qmake.exe -install qinstall
|
||||
QINSTALL_PROGRAM = C:\Qt\6.2.1\mingw81_64\bin\qmake.exe -install qinstall -exe
|
||||
DEL_FILE = del
|
||||
SYMLINK = $(QMAKE) -install ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = move
|
||||
IDC = idc
|
||||
IDL = midl
|
||||
ZIP = zip -r -9
|
||||
DEF_FILE =
|
||||
RES_FILE =
|
||||
SED = $(QMAKE) -install sed
|
||||
MOVE = move
|
||||
SUBTARGETS = \
|
||||
debug \
|
||||
release
|
||||
|
||||
|
||||
debug: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_first: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-all: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug all
|
||||
debug-clean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug clean
|
||||
debug-distclean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug distclean
|
||||
debug-install: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
debug-uninstall: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Debug uninstall
|
||||
release: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-make_first: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-all: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release all
|
||||
release-clean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release clean
|
||||
release-distclean: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release distclean
|
||||
release-install: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
release-uninstall: FORCE
|
||||
$(MAKE) -f $(MAKEFILE).Release uninstall
|
||||
|
||||
Makefile: ../10.Vaja/neimenovan.pro C:/Qt/6.2.1/mingw81_64/mkspecs/win32-g++/qmake.conf C:/Qt/6.2.1/mingw81_64/mkspecs/features/spec_pre.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/device_config.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/sanitize.conf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/gcc-base.conf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/g++-base.conf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/windows_vulkan_sdk.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/windows-vulkan.conf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/g++-win32.conf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/windows-desktop.conf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/qconfig.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_ext_freetype.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_ext_libpng.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_concurrent.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_concurrent_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_core.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_core_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_dbus.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_dbus_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_designer.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_designer_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_designercomponents_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_devicediscovery_support_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_entrypoint_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_fb_support_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_gui.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_gui_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_help.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_help_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsanimation.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsanimation_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsfolderlistmodel.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsfolderlistmodel_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsqmlmodels.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsqmlmodels_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssettings.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssettings_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssharedimage.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssharedimage_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labswavefrontmesh.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labswavefrontmesh_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_linguist.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_linguist_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_network.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_network_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_opengl.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_opengl_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_openglwidgets.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_openglwidgets_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_packetprotocol_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_printsupport.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_printsupport_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qml.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qml_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlcompiler_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlcore.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlcore_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmldebug_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmldevtools_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmldom_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmllocalstorage.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmllocalstorage_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlmodels.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlmodels_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmltest.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmltest_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlworkerscript.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlworkerscript_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlxmllistmodel.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlxmllistmodel_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quick.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quick_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2impl.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2impl_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrolstestutilsprivate_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2quickimpl.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2quickimpl_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2utils.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2utils_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicklayouts.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicklayouts_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickparticles_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickshapes_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicktemplates2.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicktemplates2_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicktestutilsprivate_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickwidgets.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickwidgets_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_sql.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_sql_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svg.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svg_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svgwidgets.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svgwidgets_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_testlib.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_testlib_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_tools_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_uiplugin.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_uitools.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_uitools_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_widgets.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_widgets_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_xml.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_xml_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_zlib_private.pri \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qt_functions.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qt_config.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/win32-g++/qmake.conf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/spec_post.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/exclusive_builds.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/toolchain.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/default_pre.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/default_pre.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/resolve_config.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/exclusive_builds_post.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/default_post.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qml_debug.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/entrypoint.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/precompile_header.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/warn_on.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qt.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/resources_functions.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/resources.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/moc.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/opengl.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/uic.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qmake_use.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/file_copies.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/windows.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/testcase_targets.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/exceptions.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/yacc.prf \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/lex.prf \
|
||||
../10.Vaja/neimenovan.pro \
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6Widgets.prl \
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6Gui.prl \
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6Core.prl \
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6EntryPoint.prl \
|
||||
.qmake.stash \
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/build_pass.prf
|
||||
$(QMAKE) -o Makefile ..\10.Vaja\neimenovan.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/spec_pre.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/device_config.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/sanitize.conf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/gcc-base.conf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/g++-base.conf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/windows_vulkan_sdk.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/windows-vulkan.conf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/g++-win32.conf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/common/windows-desktop.conf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/qconfig.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_ext_freetype.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_ext_libpng.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_concurrent.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_concurrent_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_core.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_core_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_dbus.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_dbus_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_designer.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_designer_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_designercomponents_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_devicediscovery_support_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_entrypoint_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_fb_support_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_gui.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_gui_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_help.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_help_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsanimation.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsanimation_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsfolderlistmodel.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsfolderlistmodel_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsqmlmodels.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labsqmlmodels_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssettings.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssettings_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssharedimage.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labssharedimage_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labswavefrontmesh.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_labswavefrontmesh_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_linguist.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_linguist_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_network.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_network_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_opengl.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_opengl_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_openglwidgets.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_openglwidgets_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_packetprotocol_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_printsupport.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_printsupport_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qml.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qml_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlcompiler_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlcore.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlcore_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmldebug_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmldevtools_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmldom_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmllocalstorage.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmllocalstorage_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlmodels.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlmodels_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmltest.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmltest_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlworkerscript.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlworkerscript_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlxmllistmodel.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_qmlxmllistmodel_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quick.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quick_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2impl.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrols2impl_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickcontrolstestutilsprivate_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2quickimpl.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2quickimpl_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2utils.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickdialogs2utils_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicklayouts.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicklayouts_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickparticles_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickshapes_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicktemplates2.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicktemplates2_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quicktestutilsprivate_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickwidgets.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_quickwidgets_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_sql.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_sql_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svg.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svg_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svgwidgets.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_svgwidgets_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_testlib.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_testlib_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_tools_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_uiplugin.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_uitools.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_uitools_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_widgets.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_widgets_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_xml.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_xml_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/modules/qt_lib_zlib_private.pri:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qt_functions.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qt_config.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/win32-g++/qmake.conf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/spec_post.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/exclusive_builds.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/toolchain.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/default_pre.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/default_pre.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/resolve_config.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/exclusive_builds_post.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/default_post.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qml_debug.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/entrypoint.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/precompile_header.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/warn_on.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qt.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/resources_functions.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/resources.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/moc.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/opengl.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/uic.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/qmake_use.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/file_copies.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/win32/windows.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/testcase_targets.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/exceptions.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/yacc.prf:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/lex.prf:
|
||||
../10.Vaja/neimenovan.pro:
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6Widgets.prl:
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6Gui.prl:
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6Core.prl:
|
||||
C:/Qt/6.2.1/mingw81_64/lib/Qt6EntryPoint.prl:
|
||||
.qmake.stash:
|
||||
C:/Qt/6.2.1/mingw81_64/mkspecs/features/build_pass.prf:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -o Makefile ..\10.Vaja\neimenovan.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||
|
||||
qmake_all: FORCE
|
||||
|
||||
make_first: debug-make_first release-make_first FORCE
|
||||
all: debug-all release-all FORCE
|
||||
clean: debug-clean release-clean FORCE
|
||||
distclean: debug-distclean release-distclean FORCE
|
||||
-$(DEL_FILE) Makefile
|
||||
-$(DEL_FILE) .qmake.stash
|
||||
|
||||
debug-mocclean:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocclean
|
||||
release-mocclean:
|
||||
$(MAKE) -f $(MAKEFILE).Release mocclean
|
||||
mocclean: debug-mocclean release-mocclean
|
||||
|
||||
debug-mocables:
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocables
|
||||
release-mocables:
|
||||
$(MAKE) -f $(MAKEFILE).Release mocables
|
||||
mocables: debug-mocables release-mocables
|
||||
|
||||
check: first
|
||||
|
||||
benchmark: first
|
||||
FORCE:
|
||||
|
||||
$(MAKEFILE).Debug: Makefile
|
||||
$(MAKEFILE).Release: Makefile
|
@@ -0,0 +1,122 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'mainwindow.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.2.1)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../10.Vaja/mainwindow.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'mainwindow.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 68
|
||||
#error "This file was generated using the moc from 6.2.1. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
const uint offsetsAndSize[6];
|
||||
char stringdata0[19];
|
||||
};
|
||||
#define QT_MOC_LITERAL(ofs, len) \
|
||||
uint(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs), len
|
||||
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 10), // "MainWindow"
|
||||
QT_MOC_LITERAL(11, 6), // "nalozi"
|
||||
QT_MOC_LITERAL(18, 0) // ""
|
||||
|
||||
},
|
||||
"MainWindow\0nalozi\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_MainWindow[] = {
|
||||
|
||||
// content:
|
||||
10, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags, initial metatype offsets
|
||||
1, 0, 20, 2, 0x0a, 1 /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<MainWindow *>(_o);
|
||||
(void)_t;
|
||||
switch (_id) {
|
||||
case 0: _t->nalozi(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
(void)_a;
|
||||
}
|
||||
|
||||
const QMetaObject MainWindow::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
|
||||
qt_meta_stringdata_MainWindow.offsetsAndSize,
|
||||
qt_meta_data_MainWindow,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t
|
||||
, QtPrivate::TypeAndForceComplete<MainWindow, std::true_type>
|
||||
, QtPrivate::TypeAndForceComplete<void, std::false_type>
|
||||
|
||||
|
||||
>,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *MainWindow::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MainWindow::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
@@ -0,0 +1,419 @@
|
||||
#define __DBL_MIN_EXP__ (-1021)
|
||||
#define __FLT32X_MAX_EXP__ 1024
|
||||
#define __cpp_attributes 200809
|
||||
#define __UINT_LEAST16_MAX__ 0xffff
|
||||
#define __ATOMIC_ACQUIRE 2
|
||||
#define __FLT128_MAX_10_EXP__ 4932
|
||||
#define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
|
||||
#define __GCC_IEC_559_COMPLEX 2
|
||||
#define __cpp_aggregate_nsdmi 201304
|
||||
#define __UINT_LEAST8_TYPE__ unsigned char
|
||||
#define __SIZEOF_FLOAT80__ 16
|
||||
#define _WIN32 1
|
||||
#define __INTMAX_C(c) c ## LL
|
||||
#define __CHAR_BIT__ 8
|
||||
#define __UINT8_MAX__ 0xff
|
||||
#define _WIN64 1
|
||||
#define __WINT_MAX__ 0xffff
|
||||
#define __FLT32_MIN_EXP__ (-125)
|
||||
#define __cpp_static_assert 201411
|
||||
#define __ORDER_LITTLE_ENDIAN__ 1234
|
||||
#define __SIZE_MAX__ 0xffffffffffffffffULL
|
||||
#define __WCHAR_MAX__ 0xffff
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
|
||||
#define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L)
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
|
||||
#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
|
||||
#define __GCC_IEC_559 2
|
||||
#define __FLT32X_DECIMAL_DIG__ 17
|
||||
#define __FLT_EVAL_METHOD__ 0
|
||||
#define __cpp_enumerator_attributes 201411
|
||||
#define __cpp_binary_literals 201304
|
||||
#define __FLT64_DECIMAL_DIG__ 17
|
||||
#define __cpp_noexcept_function_type 201510
|
||||
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
|
||||
#define __x86_64 1
|
||||
#define __cpp_variadic_templates 200704
|
||||
#define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
|
||||
#define __SIG_ATOMIC_TYPE__ int
|
||||
#define __DBL_MIN_10_EXP__ (-307)
|
||||
#define __FINITE_MATH_ONLY__ 0
|
||||
#define __cpp_variable_templates 201304
|
||||
#define __GNUC_PATCHLEVEL__ 0
|
||||
#define __FLT32_HAS_DENORM__ 1
|
||||
#define __UINT_FAST8_MAX__ 0xff
|
||||
#define __has_include(STR) __has_include__(STR)
|
||||
#define __FLT32_MAX_10_EXP__ 38
|
||||
#define _stdcall __attribute__((__stdcall__))
|
||||
#define __DEC64_MAX_EXP__ 385
|
||||
#define __INT8_C(c) c
|
||||
#define __INT_LEAST8_WIDTH__ 8
|
||||
#define __cpp_variadic_using 201611
|
||||
#define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
|
||||
#define __cpp_capture_star_this 201603
|
||||
#define __SHRT_MAX__ 0x7fff
|
||||
#define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L
|
||||
#define __FLT64X_MAX_10_EXP__ 4932
|
||||
#define __cpp_if_constexpr 201606
|
||||
#define __UINT_LEAST8_MAX__ 0xff
|
||||
#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
|
||||
#define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128
|
||||
#define __UINTMAX_TYPE__ long long unsigned int
|
||||
#define __DEC32_EPSILON__ 1E-6DF
|
||||
#define __FLT_EVAL_METHOD_TS_18661_3__ 0
|
||||
#define __UINT32_MAX__ 0xffffffffU
|
||||
#define __GXX_EXPERIMENTAL_CXX0X__ 1
|
||||
#define __LDBL_MAX_EXP__ 16384
|
||||
#define __FLT128_MIN_EXP__ (-16381)
|
||||
#define __WINT_MIN__ 0
|
||||
#define __FLT128_MIN_10_EXP__ (-4931)
|
||||
#define __INT_LEAST16_WIDTH__ 16
|
||||
#define __SCHAR_MAX__ 0x7f
|
||||
#define __FLT128_MANT_DIG__ 113
|
||||
#define __WCHAR_MIN__ 0
|
||||
#define __INT64_C(c) c ## LL
|
||||
#define __DBL_DIG__ 15
|
||||
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
|
||||
#define __FLT64X_MANT_DIG__ 64
|
||||
#define __SIZEOF_INT__ 4
|
||||
#define __SIZEOF_POINTER__ 8
|
||||
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
|
||||
#define __cpp_aligned_new 201606
|
||||
#define __USER_LABEL_PREFIX__
|
||||
#define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
|
||||
#define __STDC_HOSTED__ 1
|
||||
#define __WIN32 1
|
||||
#define __LDBL_HAS_INFINITY__ 1
|
||||
#define __WIN64 1
|
||||
#define __FLT32_DIG__ 6
|
||||
#define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F
|
||||
#define __GXX_WEAK__ 1
|
||||
#define __SHRT_WIDTH__ 16
|
||||
#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
|
||||
#define __DEC32_MAX__ 9.999999E96DF
|
||||
#define __cpp_threadsafe_static_init 200806
|
||||
#define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x
|
||||
#define __MINGW32__ 1
|
||||
#define __FLT32X_HAS_INFINITY__ 1
|
||||
#define __INT32_MAX__ 0x7fffffff
|
||||
#define __INT_WIDTH__ 32
|
||||
#define __SIZEOF_LONG__ 4
|
||||
#define __UINT16_C(c) c
|
||||
#define __PTRDIFF_WIDTH__ 64
|
||||
#define __DECIMAL_DIG__ 21
|
||||
#define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
|
||||
#define __INTMAX_WIDTH__ 64
|
||||
#define __FLT64_MIN_EXP__ (-1021)
|
||||
#define __has_include_next(STR) __has_include_next__(STR)
|
||||
#define __FLT64X_MIN_10_EXP__ (-4931)
|
||||
#define __LDBL_HAS_QUIET_NAN__ 1
|
||||
#define __FLT64_MANT_DIG__ 53
|
||||
#define _REENTRANT 1
|
||||
#define __GNUC__ 8
|
||||
#define _cdecl __attribute__((__cdecl__))
|
||||
#define __GXX_RTTI 1
|
||||
#define __MMX__ 1
|
||||
#define __cpp_delegating_constructors 200604
|
||||
#define __FLT_HAS_DENORM__ 1
|
||||
#define __SIZEOF_LONG_DOUBLE__ 16
|
||||
#define __BIGGEST_ALIGNMENT__ 16
|
||||
#define __STDC_UTF_16__ 1
|
||||
#define __FLT64_MAX_10_EXP__ 308
|
||||
#define __FLT32_HAS_INFINITY__ 1
|
||||
#define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L)
|
||||
#define _thiscall __attribute__((__thiscall__))
|
||||
#define __cpp_raw_strings 200710
|
||||
#define __INT_FAST32_MAX__ 0x7fffffff
|
||||
#define __WINNT 1
|
||||
#define __DBL_HAS_INFINITY__ 1
|
||||
#define __cpp_deduction_guides 201611
|
||||
#define __WINNT__ 1
|
||||
#define __cpp_fold_expressions 201603
|
||||
#define __DEC32_MIN_EXP__ (-94)
|
||||
#define __INTPTR_WIDTH__ 64
|
||||
#define __FLT32X_HAS_DENORM__ 1
|
||||
#define __INT_FAST16_TYPE__ short int
|
||||
#define _fastcall __attribute__((__fastcall__))
|
||||
#define __LDBL_HAS_DENORM__ 1
|
||||
#define __cplusplus 201703L
|
||||
#define __cpp_ref_qualifiers 200710
|
||||
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
|
||||
#define __INT_LEAST32_MAX__ 0x7fffffff
|
||||
#define __DEC32_MIN__ 1E-95DF
|
||||
#define __DEPRECATED 1
|
||||
#define __cpp_rvalue_references 200610
|
||||
#define __DBL_MAX_EXP__ 1024
|
||||
#define __WCHAR_WIDTH__ 16
|
||||
#define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32
|
||||
#define __DEC128_EPSILON__ 1E-33DL
|
||||
#define __SSE2_MATH__ 1
|
||||
#define __ATOMIC_HLE_RELEASE 131072
|
||||
#define __WIN32__ 1
|
||||
#define __PTRDIFF_MAX__ 0x7fffffffffffffffLL
|
||||
#define __amd64 1
|
||||
#define __tune_core2__ 1
|
||||
#define __ATOMIC_HLE_ACQUIRE 65536
|
||||
#define __FLT32_HAS_QUIET_NAN__ 1
|
||||
#define __GNUG__ 8
|
||||
#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
|
||||
#define __SIZEOF_SIZE_T__ 8
|
||||
#define __cpp_rvalue_reference 200610
|
||||
#define __cpp_nsdmi 200809
|
||||
#define __FLT64X_MIN_EXP__ (-16381)
|
||||
#define __SIZEOF_WINT_T__ 2
|
||||
#define __LONG_LONG_WIDTH__ 64
|
||||
#define __cpp_initializer_lists 200806
|
||||
#define __FLT32_MAX_EXP__ 128
|
||||
#define __cpp_hex_float 201603
|
||||
#define __GCC_HAVE_DWARF2_CFI_ASM 1
|
||||
#define __GXX_ABI_VERSION 1012
|
||||
#define __FLT128_HAS_INFINITY__ 1
|
||||
#define __FLT_MIN_EXP__ (-125)
|
||||
#define __cpp_lambdas 200907
|
||||
#define __FLT64X_HAS_QUIET_NAN__ 1
|
||||
#define __INT_FAST64_TYPE__ long long int
|
||||
#define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
|
||||
#define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L)
|
||||
#define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x
|
||||
#define __DECIMAL_BID_FORMAT__ 1
|
||||
#define __GXX_TYPEINFO_EQUALITY_INLINE 0
|
||||
#define __FLT64_MIN_10_EXP__ (-307)
|
||||
#define __FLT64X_DECIMAL_DIG__ 21
|
||||
#define __DEC128_MIN__ 1E-6143DL
|
||||
#define __REGISTER_PREFIX__
|
||||
#define __UINT16_MAX__ 0xffff
|
||||
#define __DBL_HAS_DENORM__ 1
|
||||
#define __cdecl __attribute__((__cdecl__))
|
||||
#define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32
|
||||
#define __UINT8_TYPE__ unsigned char
|
||||
#define __NO_INLINE__ 1
|
||||
#define __FLT_MANT_DIG__ 24
|
||||
#define __LDBL_DECIMAL_DIG__ 21
|
||||
#define __VERSION__ "8.1.0"
|
||||
#define __UINT64_C(c) c ## ULL
|
||||
#define __cpp_unicode_characters 201411
|
||||
#define __cpp_decltype_auto 201304
|
||||
#define __GCC_ATOMIC_INT_LOCK_FREE 2
|
||||
#define __FLT128_MAX_EXP__ 16384
|
||||
#define __FLT32_MANT_DIG__ 24
|
||||
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
|
||||
#define __cpp_aggregate_bases 201603
|
||||
#define __FLT128_HAS_DENORM__ 1
|
||||
#define __FLT128_DIG__ 33
|
||||
#define __SCHAR_WIDTH__ 8
|
||||
#define __INT32_C(c) c
|
||||
#define __DEC64_EPSILON__ 1E-15DD
|
||||
#define __ORDER_PDP_ENDIAN__ 3412
|
||||
#define __DEC128_MIN_EXP__ (-6142)
|
||||
#define __cpp_nested_namespace_definitions 201411
|
||||
#define __INT_FAST32_TYPE__ int
|
||||
#define __UINT_LEAST16_TYPE__ short unsigned int
|
||||
#define __FLT64X_HAS_INFINITY__ 1
|
||||
#define __INT16_MAX__ 0x7fff
|
||||
#define __cpp_rtti 199711
|
||||
#define __SIZE_TYPE__ long long unsigned int
|
||||
#define __UINT64_MAX__ 0xffffffffffffffffULL
|
||||
#define __FLT64X_DIG__ 18
|
||||
#define __INT8_TYPE__ signed char
|
||||
#define __cpp_digit_separators 201309
|
||||
#define __GCC_ASM_FLAG_OUTPUTS__ 1
|
||||
#define __FLT_RADIX__ 2
|
||||
#define __INT_LEAST16_TYPE__ short int
|
||||
#define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L
|
||||
#define __UINTMAX_C(c) c ## ULL
|
||||
#define __GLIBCXX_BITSIZE_INT_N_0 128
|
||||
#define __SEH__ 1
|
||||
#define __SIG_ATOMIC_MAX__ 0x7fffffff
|
||||
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
|
||||
#define __SIZEOF_PTRDIFF_T__ 8
|
||||
#define __FLT32X_MANT_DIG__ 53
|
||||
#define __x86_64__ 1
|
||||
#define __FLT32X_MIN_EXP__ (-1021)
|
||||
#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
|
||||
#define __MSVCRT__ 1
|
||||
#define __INT_FAST16_MAX__ 0x7fff
|
||||
#define __FLT64_DIG__ 15
|
||||
#define __UINT_FAST32_MAX__ 0xffffffffU
|
||||
#define __UINT_LEAST64_TYPE__ long long unsigned int
|
||||
#define __FLT_HAS_QUIET_NAN__ 1
|
||||
#define __FLT_MAX_10_EXP__ 38
|
||||
#define __LONG_MAX__ 0x7fffffffL
|
||||
#define __FLT64X_HAS_DENORM__ 1
|
||||
#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
|
||||
#define __FLT_HAS_INFINITY__ 1
|
||||
#define __cpp_unicode_literals 200710
|
||||
#define __UINT_FAST16_TYPE__ short unsigned int
|
||||
#define __DEC64_MAX__ 9.999999999999999E384DD
|
||||
#define __INT_FAST32_WIDTH__ 32
|
||||
#define __CHAR16_TYPE__ short unsigned int
|
||||
#define __PRAGMA_REDEFINE_EXTNAME 1
|
||||
#define __SIZE_WIDTH__ 64
|
||||
#define __SEG_FS 1
|
||||
#define __INT_LEAST16_MAX__ 0x7fff
|
||||
#define __DEC64_MANT_DIG__ 16
|
||||
#define __INT64_MAX__ 0x7fffffffffffffffLL
|
||||
#define __UINT_LEAST32_MAX__ 0xffffffffU
|
||||
#define __SEG_GS 1
|
||||
#define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
|
||||
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
|
||||
#define __SIG_ATOMIC_WIDTH__ 32
|
||||
#define __INT_LEAST64_TYPE__ long long int
|
||||
#define __INT16_TYPE__ short int
|
||||
#define __INT_LEAST8_TYPE__ signed char
|
||||
#define __cpp_structured_bindings 201606
|
||||
#define __DEC32_MAX_EXP__ 97
|
||||
#define __INT_FAST8_MAX__ 0x7f
|
||||
#define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128
|
||||
#define __INTPTR_MAX__ 0x7fffffffffffffffLL
|
||||
#define __cpp_sized_deallocation 201309
|
||||
#define __GXX_MERGED_TYPEINFO_NAMES 0
|
||||
#define __cpp_range_based_for 201603
|
||||
#define __FLT64_HAS_QUIET_NAN__ 1
|
||||
#define __stdcall __attribute__((__stdcall__))
|
||||
#define __FLT32_MIN_10_EXP__ (-37)
|
||||
#define __SSE2__ 1
|
||||
#define __EXCEPTIONS 1
|
||||
#define __LDBL_MANT_DIG__ 64
|
||||
#define __DBL_HAS_QUIET_NAN__ 1
|
||||
#define __FLT64_HAS_INFINITY__ 1
|
||||
#define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
|
||||
#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16
|
||||
#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
|
||||
#define __cpp_nontype_template_args 201411
|
||||
#define __cpp_return_type_deduction 201304
|
||||
#define __INTPTR_TYPE__ long long int
|
||||
#define __UINT16_TYPE__ short unsigned int
|
||||
#define __WCHAR_TYPE__ short unsigned int
|
||||
#define __SIZEOF_FLOAT__ 4
|
||||
#define __pic__ 1
|
||||
#define __UINTPTR_MAX__ 0xffffffffffffffffULL
|
||||
#define __INT_FAST64_WIDTH__ 64
|
||||
#define __DEC64_MIN_EXP__ (-382)
|
||||
#define __cpp_decltype 200707
|
||||
#define __FLT32_DECIMAL_DIG__ 9
|
||||
#define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
|
||||
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
|
||||
#define __FLT_DIG__ 6
|
||||
#define __FLT64X_MAX_EXP__ 16384
|
||||
#define __UINT_FAST64_TYPE__ long long unsigned int
|
||||
#define __cpp_inline_variables 201606
|
||||
#define __INT_MAX__ 0x7fffffff
|
||||
#define __amd64__ 1
|
||||
#define WIN32 1
|
||||
#define __nocona 1
|
||||
#define __code_model_medium__ 1
|
||||
#define __INT64_TYPE__ long long int
|
||||
#define __FLT_MAX_EXP__ 128
|
||||
#define WIN64 1
|
||||
#define __ORDER_BIG_ENDIAN__ 4321
|
||||
#define __DBL_MANT_DIG__ 53
|
||||
#define __cpp_inheriting_constructors 201511
|
||||
#define __SIZEOF_FLOAT128__ 16
|
||||
#define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
|
||||
#define __DEC64_MIN__ 1E-383DD
|
||||
#define __WINT_TYPE__ short unsigned int
|
||||
#define __UINT_LEAST32_TYPE__ unsigned int
|
||||
#define __SIZEOF_SHORT__ 2
|
||||
#define __SSE__ 1
|
||||
#define __LDBL_MIN_EXP__ (-16381)
|
||||
#define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
|
||||
#define __WINT_WIDTH__ 16
|
||||
#define __cpp_template_auto 201606
|
||||
#define __INT_LEAST8_MAX__ 0x7f
|
||||
#define __FLT32X_MAX_10_EXP__ 308
|
||||
#define __SIZEOF_INT128__ 16
|
||||
#define __WCHAR_UNSIGNED__ 1
|
||||
#define __LDBL_MAX_10_EXP__ 4932
|
||||
#define __ATOMIC_RELAXED 0
|
||||
#define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L)
|
||||
#define __thiscall __attribute__((__thiscall__))
|
||||
#define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128
|
||||
#define __UINT8_C(c) c
|
||||
#define __FLT64_MAX_EXP__ 1024
|
||||
#define __INT_LEAST32_TYPE__ int
|
||||
#define __SIZEOF_WCHAR_T__ 2
|
||||
#define __FLT128_HAS_QUIET_NAN__ 1
|
||||
#define __INT_FAST8_TYPE__ signed char
|
||||
#define __fastcall __attribute__((__fastcall__))
|
||||
#define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
|
||||
#define __GNUC_STDC_INLINE__ 1
|
||||
#define __FLT64_HAS_DENORM__ 1
|
||||
#define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32
|
||||
#define __DBL_DECIMAL_DIG__ 17
|
||||
#define __STDC_UTF_32__ 1
|
||||
#define __INT_FAST8_WIDTH__ 8
|
||||
#define __FXSR__ 1
|
||||
#define __DEC_EVAL_METHOD__ 2
|
||||
#define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x
|
||||
#define __MINGW64__ 1
|
||||
#define __cpp_runtime_arrays 198712
|
||||
#define __UINT64_TYPE__ long long unsigned int
|
||||
#define __cpp_namespace_attributes 201411
|
||||
#define __UINT32_C(c) c ## U
|
||||
#define __INTMAX_MAX__ 0x7fffffffffffffffLL
|
||||
#define __cpp_alias_templates 200704
|
||||
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
|
||||
#define WINNT 1
|
||||
#define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F
|
||||
#define __INT8_MAX__ 0x7f
|
||||
#define __LONG_WIDTH__ 32
|
||||
#define __PIC__ 1
|
||||
#define __UINT_FAST32_TYPE__ unsigned int
|
||||
#define __CHAR32_TYPE__ unsigned int
|
||||
#define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F
|
||||
#define __cpp_constexpr 201603
|
||||
#define __INT32_TYPE__ int
|
||||
#define __SIZEOF_DOUBLE__ 8
|
||||
#define __cpp_exceptions 199711
|
||||
#define __FLT_MIN_10_EXP__ (-37)
|
||||
#define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
|
||||
#define __INT_LEAST32_WIDTH__ 32
|
||||
#define __INTMAX_TYPE__ long long int
|
||||
#define _INTEGRAL_MAX_BITS 64
|
||||
#define __DEC128_MAX_EXP__ 6145
|
||||
#define __FLT32X_HAS_QUIET_NAN__ 1
|
||||
#define __ATOMIC_CONSUME 1
|
||||
#define __nocona__ 1
|
||||
#define __GNUC_MINOR__ 1
|
||||
#define __GLIBCXX_TYPE_INT_N_0 __int128
|
||||
#define __INT_FAST16_WIDTH__ 16
|
||||
#define __UINTMAX_MAX__ 0xffffffffffffffffULL
|
||||
#define __DEC32_MANT_DIG__ 7
|
||||
#define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x
|
||||
#define __cpp_template_template_args 201611
|
||||
#define __DBL_MAX_10_EXP__ 308
|
||||
#define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L
|
||||
#define __INT16_C(c) c
|
||||
#define __cpp_generic_lambdas 201304
|
||||
#define __STDC__ 1
|
||||
#define __FLT32X_DIG__ 15
|
||||
#define __PTRDIFF_TYPE__ long long int
|
||||
#define __ATOMIC_SEQ_CST 5
|
||||
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1
|
||||
#define __UINT32_TYPE__ unsigned int
|
||||
#define __FLT32X_MIN_10_EXP__ (-307)
|
||||
#define __UINTPTR_TYPE__ long long unsigned int
|
||||
#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
|
||||
#define __DEC128_MANT_DIG__ 34
|
||||
#define __LDBL_MIN_10_EXP__ (-4931)
|
||||
#define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128
|
||||
#define __SSE_MATH__ 1
|
||||
#define __SIZEOF_LONG_LONG__ 8
|
||||
#define __cpp_user_defined_literals 200809
|
||||
#define __FLT128_DECIMAL_DIG__ 36
|
||||
#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
|
||||
#define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x
|
||||
#define __LDBL_DIG__ 18
|
||||
#define __FLT_DECIMAL_DIG__ 9
|
||||
#define __UINT_FAST16_MAX__ 0xffff
|
||||
#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
|
||||
#define __INT_LEAST64_WIDTH__ 64
|
||||
#define __SSE3__ 1
|
||||
#define __UINT_FAST8_TYPE__ unsigned char
|
||||
#define __WIN64__ 1
|
||||
#define __cpp_init_captures 201304
|
||||
#define __ATOMIC_ACQ_REL 4
|
||||
#define __ATOMIC_RELEASE 3
|
||||
#define __declspec(x) __attribute__((x))
|
After Width: | Height: | Size: 280 KiB |
@@ -0,0 +1,172 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'mainwindow.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 6.2.1
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_MAINWINDOW_H
|
||||
#define UI_MAINWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenu>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QTabWidget>
|
||||
#include <QtWidgets/QToolBar>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MainWindow
|
||||
{
|
||||
public:
|
||||
QAction *actionOdpri;
|
||||
QAction *actionKon_aj;
|
||||
QWidget *centralWidget;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QTabWidget *tabWidget;
|
||||
QWidget *tab;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QLabel *label;
|
||||
QWidget *tab_2;
|
||||
QHBoxLayout *horizontalLayout_3;
|
||||
QLabel *label_2;
|
||||
QWidget *tab_3;
|
||||
QHBoxLayout *horizontalLayout_4;
|
||||
QLabel *label_3;
|
||||
QMenuBar *menuBar;
|
||||
QMenu *menuDatoteka;
|
||||
QToolBar *mainToolBar;
|
||||
QStatusBar *statusBar;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
||||
MainWindow->resize(655, 345);
|
||||
actionOdpri = new QAction(MainWindow);
|
||||
actionOdpri->setObjectName(QString::fromUtf8("actionOdpri"));
|
||||
actionKon_aj = new QAction(MainWindow);
|
||||
actionKon_aj->setObjectName(QString::fromUtf8("actionKon_aj"));
|
||||
centralWidget = new QWidget(MainWindow);
|
||||
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
||||
horizontalLayout = new QHBoxLayout(centralWidget);
|
||||
horizontalLayout->setSpacing(6);
|
||||
horizontalLayout->setContentsMargins(11, 11, 11, 11);
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
tabWidget = new QTabWidget(centralWidget);
|
||||
tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
|
||||
tab = new QWidget();
|
||||
tab->setObjectName(QString::fromUtf8("tab"));
|
||||
horizontalLayout_2 = new QHBoxLayout(tab);
|
||||
horizontalLayout_2->setSpacing(6);
|
||||
horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
label = new QLabel(tab);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
horizontalLayout_2->addWidget(label);
|
||||
|
||||
tabWidget->addTab(tab, QString());
|
||||
tab_2 = new QWidget();
|
||||
tab_2->setObjectName(QString::fromUtf8("tab_2"));
|
||||
horizontalLayout_3 = new QHBoxLayout(tab_2);
|
||||
horizontalLayout_3->setSpacing(6);
|
||||
horizontalLayout_3->setContentsMargins(11, 11, 11, 11);
|
||||
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
||||
label_2 = new QLabel(tab_2);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
horizontalLayout_3->addWidget(label_2);
|
||||
|
||||
tabWidget->addTab(tab_2, QString());
|
||||
tab_3 = new QWidget();
|
||||
tab_3->setObjectName(QString::fromUtf8("tab_3"));
|
||||
horizontalLayout_4 = new QHBoxLayout(tab_3);
|
||||
horizontalLayout_4->setSpacing(6);
|
||||
horizontalLayout_4->setContentsMargins(11, 11, 11, 11);
|
||||
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
||||
label_3 = new QLabel(tab_3);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
|
||||
horizontalLayout_4->addWidget(label_3);
|
||||
|
||||
tabWidget->addTab(tab_3, QString());
|
||||
|
||||
horizontalLayout->addWidget(tabWidget);
|
||||
|
||||
MainWindow->setCentralWidget(centralWidget);
|
||||
menuBar = new QMenuBar(MainWindow);
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 655, 27));
|
||||
menuDatoteka = new QMenu(menuBar);
|
||||
menuDatoteka->setObjectName(QString::fromUtf8("menuDatoteka"));
|
||||
MainWindow->setMenuBar(menuBar);
|
||||
mainToolBar = new QToolBar(MainWindow);
|
||||
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
|
||||
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
|
||||
statusBar = new QStatusBar(MainWindow);
|
||||
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
||||
MainWindow->setStatusBar(statusBar);
|
||||
|
||||
menuBar->addAction(menuDatoteka->menuAction());
|
||||
menuDatoteka->addAction(actionOdpri);
|
||||
menuDatoteka->addAction(actionKon_aj);
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
QObject::connect(actionKon_aj, &QAction::triggered, MainWindow, qOverload<>(&QMainWindow::close));
|
||||
|
||||
tabWidget->setCurrentIndex(2);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(MainWindow);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *MainWindow)
|
||||
{
|
||||
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "Slikar", nullptr));
|
||||
actionOdpri->setText(QCoreApplication::translate("MainWindow", "Odpri", nullptr));
|
||||
actionKon_aj->setText(QCoreApplication::translate("MainWindow", "Kon\304\215aj", nullptr));
|
||||
#if QT_CONFIG(accessibility)
|
||||
tab->setAccessibleName(QString());
|
||||
#endif // QT_CONFIG(accessibility)
|
||||
label->setText(QString());
|
||||
tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("MainWindow", "Slika", nullptr));
|
||||
label_2->setText(QString());
|
||||
tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("MainWindow", "\304\214rno/Belo", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
tab_3->setToolTip(QCoreApplication::translate("MainWindow", "a", "a"));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
#if QT_CONFIG(statustip)
|
||||
tab_3->setStatusTip(QCoreApplication::translate("MainWindow", "a", "a"));
|
||||
#endif // QT_CONFIG(statustip)
|
||||
#if QT_CONFIG(whatsthis)
|
||||
tab_3->setWhatsThis(QCoreApplication::translate("MainWindow", "a", "a"));
|
||||
#endif // QT_CONFIG(whatsthis)
|
||||
#if QT_CONFIG(accessibility)
|
||||
tab_3->setAccessibleName(QCoreApplication::translate("MainWindow", "a", "a"));
|
||||
#endif // QT_CONFIG(accessibility)
|
||||
#if QT_CONFIG(accessibility)
|
||||
tab_3->setAccessibleDescription(QCoreApplication::translate("MainWindow", "a", "a"));
|
||||
#endif // QT_CONFIG(accessibility)
|
||||
label_3->setText(QString());
|
||||
tabWidget->setTabText(tabWidget->indexOf(tab_3), QCoreApplication::translate("MainWindow", "Zrcalo", nullptr));
|
||||
menuDatoteka->setTitle(QCoreApplication::translate("MainWindow", "Datoteka", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow: public Ui_MainWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_MAINWINDOW_H
|
@@ -0,0 +1,37 @@
|
||||
// C++ code for Pascal's Triangle
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int binomialCoeff(int line, int k){
|
||||
int x = 1;
|
||||
if (k > line - k){
|
||||
k = line - k;
|
||||
}
|
||||
for (int i = 0; i < k; ++i){
|
||||
x *= (line - i);
|
||||
x /= (i + 1);
|
||||
}
|
||||
return x;
|
||||
}
|
||||
|
||||
void printPascal(int n){
|
||||
for (int line = 0; line < n; line++){
|
||||
|
||||
for (int i = n-line; i >= 0; i--){
|
||||
cout <<" ";
|
||||
}
|
||||
|
||||
for (int i = 0; i <= line; i++){
|
||||
cout <<" "<< binomialCoeff(line, i);
|
||||
}
|
||||
cout << endl;
|
||||
}
|
||||
}
|
||||
|
||||
int main(){
|
||||
int n;
|
||||
cout << "Vpisi stevilo vrstic: ";
|
||||
cin >> n;
|
||||
printPascal(n);
|
||||
return 0;
|
||||
}
|
13
semester_1/programiranje_1/Vaje/Vaja_12/Telefon.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Nik 11 12 2000 Samsung 500 Android 4.5 Samsung 50.6 OneUI
|
||||
sgd 15 12 2001 adsf 52 dgh 4.3 dfhg 35 daf
|
||||
pet 15 12 2000 Apple 200 IOS 2.6 Apple 60.7 IOE
|
||||
ads 9 10 2001 agds 45 df 1.9 dfs 46 hfs
|
||||
ses 09 11 2000 sg 354 dhg 4.5 sd 56 cnv
|
||||
fads 20 11 2000 gsd 346 dhg 2.6 sf 67 bnc
|
||||
vcyx 9 10 2000 hsf 236 gdh 2.9 hgdf 46 sgh
|
||||
xb 9 11 2001 gas 64 cnb 4.9 df 64 jhdf
|
||||
afe 20 11 2001 ags 765 jgf 2.6 sdf 57 sdhg
|
||||
ghdf 16 10 2001 ags 764 dg 2.8 gf 35 jhdg
|
||||
|
||||
|
||||
Nik 11 12 2000 Samsung 500 Android 4.5 Samsung 50.6 OneUI sgd 15 12 2001 adsf 52 dgh 4.3 dfhg 35 daf pet 15 12 2000 Apple 200 IOS 2.6 Apple 60.7 IOE ads 9 10 2001 agds 45 df 1.9 dfs 46 hfs ses 09 11 2000 sg 354 dhg 4.5 sd 56 cnv fads 20 11 2000 gsd 346 dhg 2.6 sf 67 bnc vcyx 9 10 2000 hsf 236 gdh 2.9 hgdf 46 sgh xb 9 11 2001 gas 64 cnb 4.9 df 64 jhdf afe 20 11 2001 ags 765 jgf 2.6 sdf 57 sdhg ghdf 16 10 2001 ags 764 dg 2.8 gf 35 jhdg
|
121
semester_1/programiranje_1/Vaje/Vaja_12/Telefon_struct/main.cpp
Normal file
@@ -0,0 +1,121 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
struct Datum{
|
||||
int dan, mesec, leto;
|
||||
};
|
||||
|
||||
struct PametnaUra{
|
||||
string brand;
|
||||
float cena;
|
||||
string opSistem;
|
||||
};
|
||||
|
||||
struct Telefon{
|
||||
string ime;
|
||||
Datum datum_nakupa;
|
||||
PametnaUra ura;
|
||||
float GHz;
|
||||
string brand;
|
||||
float cena;
|
||||
string opSistem;
|
||||
};
|
||||
|
||||
void upis(Telefon *polje[10],int st){
|
||||
for(int i = 0; i<st; i++){
|
||||
polje[i] = new Telefon;
|
||||
cout<<"Ime naprave:";
|
||||
cin>>polje[i]->ime;
|
||||
cout<<"Dan nakupa:";
|
||||
cin>>polje[i]->datum_nakupa.dan;
|
||||
cout<<"Mesec nakupa:";
|
||||
cin>>polje[i]->datum_nakupa.mesec;
|
||||
cout<<"Leto nakupa:";
|
||||
cin>>polje[i]->datum_nakupa.leto;
|
||||
cout<<"Brand od ure:";
|
||||
cin>>polje[i]->ura.brand;
|
||||
cout<<"Cena ure:";
|
||||
cin>>polje[i]->ura.cena;
|
||||
cout<<"Operacijski sistem ure:";
|
||||
cin>>polje[i]->ura.opSistem;
|
||||
cout<<"Hitrost procesorja:";
|
||||
cin>>polje[i]->GHz;
|
||||
cout<<"Znamka telefona:";
|
||||
cin>>polje[i]->brand;
|
||||
cout<<"Cena telefona:";
|
||||
cin >>polje[i]->cena;
|
||||
cout<<"Operacijski sistem telefona:";
|
||||
cin>>polje[i]->opSistem;
|
||||
cout<<endl<<endl;
|
||||
}
|
||||
}
|
||||
|
||||
void izpis(Telefon *polje[10],int st){
|
||||
for(int i = 0; i<st; i++){
|
||||
cout<<"Ime naprave:"<<polje[i]->ime<<endl;
|
||||
cout<< "Datum nakupa:";
|
||||
cout<<polje[i]->datum_nakupa.dan<<".";
|
||||
cout<<polje[i]->datum_nakupa.mesec<<".";
|
||||
cout<<polje[i]->datum_nakupa.leto<<endl;
|
||||
cout<<"Brand od ure:" << polje[i]->ura.brand<<endl;
|
||||
cout<<"Cena ure:" << polje[i]->ura.cena<<endl;
|
||||
cout<<"Operacijski sistem ure:" << polje[i]->ura.opSistem<<endl;
|
||||
cout<<"Hitrost procesorja:" << polje[i]->GHz<<endl;
|
||||
cout<<"Znamka telefona:" << polje[i]->brand<<endl;
|
||||
cout<<"Cena telefona" << polje[i]->cena<<endl;
|
||||
cout<<"Operacijski sistem telefona:" << polje[i]->opSistem<<endl;
|
||||
cout<<endl<<endl;
|
||||
}
|
||||
}
|
||||
|
||||
void sort(Telefon *polje[10],int st){
|
||||
|
||||
for (int j = 0; j < st; j++){
|
||||
for (int i = 0; i < st-j-1;i++){
|
||||
|
||||
if (polje[i]->datum_nakupa.leto > polje[i+1]->datum_nakupa.leto){
|
||||
Telefon *tmp;
|
||||
tmp = polje[i];
|
||||
polje[i]=polje[i+1];
|
||||
polje[i+1]=tmp;
|
||||
}
|
||||
|
||||
if (polje[i]->datum_nakupa.leto == polje[i+1]->datum_nakupa.leto){
|
||||
if (polje[i]->datum_nakupa.mesec > polje[i+1]->datum_nakupa.mesec){
|
||||
Telefon *tmp;
|
||||
tmp = polje[i];
|
||||
polje[i]=polje[i+1];
|
||||
polje[i+1]=tmp;
|
||||
}
|
||||
}
|
||||
|
||||
if (polje[i]->datum_nakupa.leto == polje[i+1]->datum_nakupa.leto){
|
||||
if (polje[i]->datum_nakupa.mesec == polje[i+1]->datum_nakupa.mesec){
|
||||
if (polje[i]->datum_nakupa.dan > polje[i+1]->datum_nakupa.dan){
|
||||
Telefon *tmp;
|
||||
tmp = polje[i];
|
||||
polje[i]=polje[i+1];
|
||||
polje[i+1]=tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int main(){
|
||||
int st = 10;//stevilo telefonov
|
||||
Telefon *polje[10]; // Ustvarimo polje kazalcev
|
||||
|
||||
upis(polje,st);
|
||||
sort(polje,st);
|
||||
izpis(polje,st);
|
||||
|
||||
// Sprostimo rezerviran pomnilnik
|
||||
for(int i = 0; i<st; i++){
|
||||
delete polje[i];
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
143
semester_1/programiranje_1/Vaje/Vaja_13/linked-list/main.cpp
Normal file
@@ -0,0 +1,143 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
struct node
|
||||
{
|
||||
int data;
|
||||
node *next;
|
||||
};
|
||||
class list
|
||||
{
|
||||
private:
|
||||
node *head, *tail;
|
||||
public:
|
||||
list()
|
||||
{
|
||||
head=NULL;
|
||||
tail=NULL;
|
||||
}
|
||||
void createnode(int value)
|
||||
{
|
||||
node *temp=new node;
|
||||
temp->data=value;
|
||||
temp->next=NULL;
|
||||
if(head==NULL)
|
||||
{
|
||||
head=temp;
|
||||
tail=temp;
|
||||
temp=NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
tail->next=temp;
|
||||
tail=temp;
|
||||
}
|
||||
}
|
||||
void display()
|
||||
{
|
||||
node *temp=new node;
|
||||
temp=head;
|
||||
while(temp!=NULL)
|
||||
{
|
||||
cout<<temp->data<<" ";
|
||||
temp=temp->next;
|
||||
}
|
||||
cout<<endl<<endl;
|
||||
}
|
||||
void insert_start(int value)
|
||||
{
|
||||
node *temp=new node;
|
||||
temp->data=value;
|
||||
temp->next=head;
|
||||
head=temp;
|
||||
}
|
||||
void insert_position(int pos, int value)
|
||||
{
|
||||
node *pre=new node;
|
||||
node *cur=new node;
|
||||
node *temp=new node;
|
||||
cur=head;
|
||||
for(int i=1;i<pos;i++)
|
||||
{
|
||||
pre=cur;
|
||||
cur=cur->next;
|
||||
}
|
||||
temp->data=value;
|
||||
pre->next=temp;
|
||||
temp->next=cur;
|
||||
}
|
||||
void delete_first()
|
||||
{
|
||||
node *temp=new node;
|
||||
temp=head;
|
||||
head=head->next;
|
||||
delete temp;
|
||||
}
|
||||
void delete_last()
|
||||
{
|
||||
node *current=new node;
|
||||
node *previous=new node;
|
||||
current=head;
|
||||
while(current->next!=NULL)
|
||||
{
|
||||
previous=current;
|
||||
current=current->next;
|
||||
}
|
||||
tail=previous;
|
||||
previous->next=NULL;
|
||||
delete current;
|
||||
}
|
||||
void delete_position(int pos)
|
||||
{
|
||||
node *current=new node;
|
||||
node *previous=new node;
|
||||
current=head;
|
||||
for(int i=1;i<pos;i++)
|
||||
{
|
||||
previous=current;
|
||||
current=current->next;
|
||||
}
|
||||
previous->next=current->next;
|
||||
}
|
||||
void delete_list()
|
||||
{
|
||||
node *temp=new node;
|
||||
while (temp != NULL) {
|
||||
temp = temp->next;
|
||||
head = NULL;
|
||||
head = temp;
|
||||
}
|
||||
delete temp;
|
||||
}
|
||||
};
|
||||
int main()
|
||||
{
|
||||
list obj;
|
||||
obj.createnode(25);
|
||||
obj.createnode(50);
|
||||
obj.createnode(90);
|
||||
obj.createnode(40);
|
||||
cout<< "Izpis: ";
|
||||
obj.display();//izpis
|
||||
obj.createnode(55);// vpisi na konec
|
||||
cout<<"Vpis na konec 55: ";
|
||||
obj.display();
|
||||
obj.insert_start(50);// vpisi na zacetek
|
||||
cout<< "Vpis na zacetek 50: ";
|
||||
obj.display();
|
||||
obj.insert_position(5,60);// vpisi v pozicijo
|
||||
cout<< "Vpisi na 5 pozicijo 60: ";
|
||||
obj.display();
|
||||
obj.delete_first();// izbrisi na zacetek
|
||||
cout<< "Izbrisi prvo: ";
|
||||
obj.display();
|
||||
obj.delete_last();// izbrisi na konec
|
||||
cout<< "Izbrisi zadnjo: ";
|
||||
obj.display();
|
||||
obj.delete_position(4); // izbrisi na poziciji
|
||||
cout<< "Izbrisi 4 pozicijo: ";
|
||||
obj.display();
|
||||
cout<< "Izbrisi list: ";
|
||||
obj.delete_list();
|
||||
obj.display();
|
||||
return 0;
|
||||
}
|
64
semester_1/programiranje_1/Vaje/Vaja_3/Liki/main.cpp
Normal file
@@ -0,0 +1,64 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
int vel;
|
||||
int rec;
|
||||
cout << "velikost lika" << endl;
|
||||
cin >> vel;
|
||||
|
||||
for(int i=0;i<vel;i++){
|
||||
for(int i=0;i<vel;i++){cout<<"*";}
|
||||
cout<<endl;
|
||||
}
|
||||
cout<<endl<<endl;
|
||||
|
||||
rec = vel;
|
||||
for(int i=0;i<vel;i++){
|
||||
for(int i=0;i<rec;i++){cout<<"*";}
|
||||
rec--;
|
||||
cout<<endl;
|
||||
}
|
||||
cout<<endl<<endl;
|
||||
|
||||
rec = 1;
|
||||
for(int i=0;i<vel;i++){
|
||||
for(int i=0;i<rec;i++){cout<<"*";}
|
||||
rec++;
|
||||
cout<<endl;
|
||||
}
|
||||
cout<<endl<<endl;
|
||||
|
||||
rec = vel;
|
||||
for(int i=0;i<vel;i++){
|
||||
for(int i=0;i<rec;i++){cout<<" ";}
|
||||
for(int i=0;i<vel;i++){cout<<"*";}
|
||||
rec--;
|
||||
cout<<endl;
|
||||
}
|
||||
cout<<endl<<endl;
|
||||
|
||||
rec=1;
|
||||
for(int i=0;i<vel;i++){
|
||||
for(int i=0;i<rec;i++){cout<<" ";}
|
||||
rec++;
|
||||
for(int i=0;i<vel;i++){cout<<"*";}
|
||||
cout<<endl;
|
||||
}
|
||||
cout<<endl<<endl;
|
||||
|
||||
for(int i=0;i<vel;i++){cout<<"*";}
|
||||
cout<<endl;
|
||||
for(int i=2;i<vel;i++){
|
||||
cout<<"*";
|
||||
for(int i=2;i<vel;i++){cout<<" ";}
|
||||
cout<<"*";
|
||||
cout<<endl;
|
||||
}
|
||||
for(int i=0;i<vel;i++){cout<<"*";}
|
||||
cout<<endl<<endl;
|
||||
|
||||
return 0;
|
||||
}
|
@@ -0,0 +1,66 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
#define f(x) a*x*x+b*x+c
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
float a, b, c, i, k=0, x1, x2, diskriminanta, realPart, imaginaryPart;
|
||||
float min, max, der = 0, intg = 0;
|
||||
double h=0.0001;
|
||||
cout<<"Vpisi a: ";
|
||||
cin>>a;
|
||||
cout<<"Vpisi b: ";
|
||||
cin>>b;
|
||||
cout<<"Vpisi c: ";
|
||||
cin>>c;
|
||||
|
||||
cout<<"Začetna vrednost:"<< c <<endl;
|
||||
|
||||
diskriminanta = b*b - 4*a*c;
|
||||
|
||||
if (diskriminanta > 0) {
|
||||
x1 = (-b + sqrt(diskriminanta)) / (2*a);
|
||||
x2 = (-b - sqrt(diskriminanta)) / (2*a);
|
||||
cout << "Ničle so različne" << endl;
|
||||
cout << "x1 = " << x1 << endl;
|
||||
cout << "x2 = " << x2 << endl;
|
||||
}
|
||||
|
||||
else if (diskriminanta == 0) {
|
||||
cout << "Ničle so iste" << endl;
|
||||
x1 = -b/(2*a);
|
||||
cout << "x1 = x2 =" << x1 << endl;
|
||||
}
|
||||
|
||||
else {
|
||||
realPart = -b/(2*a);
|
||||
imaginaryPart =sqrt(-diskriminanta)/(2*a);
|
||||
cout << "Ničle so kompleksne" << endl;
|
||||
cout << "x1 = " << realPart << "+" << imaginaryPart << "i" << endl;
|
||||
cout << "x2 = " << realPart << "-" << imaginaryPart << "i" << endl;
|
||||
}
|
||||
|
||||
|
||||
cout << "Vstavi x: ";
|
||||
cin >> min;
|
||||
der = ((f(min+h)-f(min))/h);
|
||||
cout << "Odvod je: "<< der << endl;
|
||||
|
||||
cout << "Vstavi Xmin: ";
|
||||
cin >> min;
|
||||
cout<< "Vstavi Xmax: ";
|
||||
cin >> max;
|
||||
i=min;
|
||||
while(i<max){
|
||||
intg = (f(i)+f(i+h));
|
||||
intg = intg*h;
|
||||
intg = intg/2;
|
||||
k=intg+k;
|
||||
i=i+h;
|
||||
}
|
||||
cout << "\nIntegrala je " << intg <<endl;
|
||||
|
||||
return 0;
|
||||
}
|
90
semester_1/programiranje_1/Vaje/Vaja_5/Ulomki/main.cpp
Normal file
@@ -0,0 +1,90 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
using namespace std;
|
||||
|
||||
int deljivost(int a, int b){
|
||||
for(int i=2;i<=a;i++){
|
||||
if(a % i==0 && b % i == 0){
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(){
|
||||
int a, b, c, d, operacija;
|
||||
int negativnost = 0;
|
||||
int x=0, y=0, q=0, z=0;
|
||||
|
||||
//vpis
|
||||
cout << "a/b operator c/d" << endl;
|
||||
cout << "vpisi a";
|
||||
cin >> a;
|
||||
cout << "vpisi b";
|
||||
cin >> b;
|
||||
cout << "vpisi c";
|
||||
cin >> c;
|
||||
cout << "vpisi d";
|
||||
cin >> d;
|
||||
cout << "1 = +\n"
|
||||
"2 = -\n"
|
||||
"3 = *\n"
|
||||
"4 = /\n";
|
||||
cin >> operacija;
|
||||
|
||||
//izračunaj
|
||||
switch (operacija){
|
||||
case 1:
|
||||
x = (a*d)+(c*b);
|
||||
y = b*d;
|
||||
break;
|
||||
case 2:
|
||||
x = (a*d)-(c*b);
|
||||
y = b*d;
|
||||
break;
|
||||
case 3:
|
||||
x = a*c;
|
||||
y = b*d;
|
||||
break;
|
||||
case 4:
|
||||
x = a*d;
|
||||
y = b*c;
|
||||
}
|
||||
|
||||
//negativnost
|
||||
if(x<0 && y<0){
|
||||
negativnost = 0;
|
||||
x = abs(x);
|
||||
y = abs(y);
|
||||
}else if(x<0 && y>=0){
|
||||
negativnost = 1;
|
||||
x = abs(x);
|
||||
y = abs(y);
|
||||
}else if(x>=0 && y<0){
|
||||
negativnost = 1;
|
||||
x = abs(x);
|
||||
y = abs(y);
|
||||
}else{
|
||||
negativnost = 0;
|
||||
}
|
||||
|
||||
// okrajsa ulomek
|
||||
z = deljivost(x,y);
|
||||
while(z>0){
|
||||
x = x/z;
|
||||
y = y/z;
|
||||
z = deljivost(x,y);
|
||||
}
|
||||
|
||||
//izpostavi
|
||||
q = x/y;
|
||||
x = x-(q*y);
|
||||
|
||||
//izpisi
|
||||
cout << "Rezultat je: ";
|
||||
if(negativnost == 1){cout << "-";}
|
||||
if(q>0){cout << q << " ";}
|
||||
if(x>0){cout << x << "/" << y;}
|
||||
cout << endl;
|
||||
return 0;
|
||||
}
|
3
semester_1/programiranje_1/Vaje/Vaja_6/Poli/Sekvence.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
0 0 0 1 1 1 1 1 1 1 0 1 0 0 0 1 1 1 0 1 1 0 0 1 0 1 1 1 1 1 0 1 0 0 0 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1 0 0 0 0 1 0 1 1 1 1 1 1 0 0 0 1 0 1 1 1 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 1 0 0 1 1 0 1 1 1 1 1 0 1 0 1 1 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 0 1 0 1 1 0 0 0 1 0 1 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0 1 0 0 0 0 1 1 1 0 0 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 0 0 1 1 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0 1 1 0 0 1 0 0 0 1 0 1 0 0 0 0 1 0 1 1 0 0 1 1 0 0 1 0 1 0 1 1 0 1 0 1 1 1 1 0 1 1 0 0 1 1 1
|
||||
|
||||
0 1 0 1 0 0 0 1 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 1 1 0 0 1 1 1 1 0 1 0 0 0 0 0 1 1 0 1 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1 1 1 0 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 0 0 1 1 0 0 0 1 1 0 1 1 0 1 1 0 0 0 0 0 0 1 1 0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 1 0 0 1 0 0 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 0 0 1 0 1 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 1 0 0 0 0 0 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 1 0 0 1 1 1 0 0
|
277
semester_1/programiranje_1/Vaje/Vaja_6/Poli/main.cpp
Normal file
@@ -0,0 +1,277 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
using namespace std;
|
||||
|
||||
// izpis iz polja
|
||||
void izpis(const int polje[], const int x){
|
||||
for(int i = 0; i < x; i++){
|
||||
cout << polje[i] << " ";
|
||||
}
|
||||
cout << endl << endl;
|
||||
}
|
||||
//vpis v polje
|
||||
void vpis(int polje[], const int x){
|
||||
for(int i = 0; i < x; i++){
|
||||
cin >> polje[i];
|
||||
}
|
||||
cout << "Vpisali ste: ";
|
||||
izpis(polje,x);
|
||||
}
|
||||
|
||||
|
||||
//vrne minimalno vrednost in pozicijo stevila v polju (preko reference)
|
||||
void minimalna(int polje[],int &x, int &poz, int &minvred){
|
||||
cout << "Vpisi velikost polja: ";
|
||||
cin >> x;
|
||||
cout << "Vpisi v polje: ";
|
||||
vpis(polje,x);
|
||||
int vred;
|
||||
minvred = polje[0];
|
||||
for(int i = 0; i < x; i++){
|
||||
vred = polje[i];
|
||||
if(vred<minvred){
|
||||
poz = i;
|
||||
minvred = vred;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// vrne pozicijo stevila ki ga iscemo
|
||||
int index(const int polje[], const int x){
|
||||
cout << "Vpisi stevilo ki ga iscete: ";
|
||||
int iskano; //iskano stevilo
|
||||
cin >> iskano;
|
||||
cout << "Iscete: " << iskano << endl;
|
||||
for(int i = 0; i < x; i++){
|
||||
if(iskano == polje[i]){
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
//sesteje in odsteje vektorjer (vnesi polje1 in polje2 in x = velikost polja; vsota je polje3 razlika je polje4)
|
||||
void vsotarazlika (int &x, int polje1[], int polje2[], int polje3[], int polje4[]){
|
||||
cout << "Vpisi velikost vektorja: ";
|
||||
cin >> x;
|
||||
cout << "Vpisi vektor 1: ";
|
||||
vpis(polje1, x);
|
||||
cout << "Vpisi vektor 2: ";
|
||||
vpis(polje2, x);
|
||||
for(int i = 0; i < x; i++){
|
||||
polje3[i] = polje1[i] + polje2[i];
|
||||
}
|
||||
for(int i = 0; i < x; i ++){
|
||||
polje4[i] = polje1[i] - polje2[i];
|
||||
}
|
||||
}
|
||||
// zmnozi vektor1 s skalarjem (vnesi polje1, polje3 je rezultat, x = velikost polij, j = skalar)
|
||||
void mnozenjesskalarjem(const int polje1[], int polje3[],const int x,const int j){
|
||||
for(int i = 0; i < x; i++){
|
||||
polje3[i] = polje1[i] * j;
|
||||
}
|
||||
}
|
||||
// vrne skalarni produkt j (vnesi polje1 in polje2, x = velikost polij)
|
||||
int skalarniprodukt(const int polje1[], const int polje2[], const int x){
|
||||
int polje3[300];
|
||||
for(int i = 0; i < x; i++){
|
||||
polje3[i] = polje1[i] * polje2[i];
|
||||
}
|
||||
int j = 0;
|
||||
for(int i = 0; i < x; i++){
|
||||
j += polje3[i];
|
||||
}
|
||||
return j;
|
||||
}
|
||||
//izracuna vektorski produkt polja1 in polja2 v polju3
|
||||
void vektorskiprodukt(int polje1[], int polje2[], int polje3[], const int x){
|
||||
cout << "Vektorsi produkt" << endl;
|
||||
cout << "Vpisi vektor 1: ";
|
||||
vpis(polje1, x);
|
||||
cout << "Vpisi vektor 2: ";
|
||||
vpis(polje2, x);
|
||||
polje3[0] = polje1[1]*polje2[2] - polje1[2]*polje2[1];
|
||||
polje3[1] = polje1[2]*polje2[0] - polje1[0]*polje2[2];
|
||||
polje3[2] = polje1[0]*polje2[1] - polje1[1]*polje2[0];
|
||||
}
|
||||
// najdi naslednje prastevilo
|
||||
int stevilo(int x){
|
||||
int del;
|
||||
x++;
|
||||
for(x; x>0; x++){
|
||||
del = 0;
|
||||
for(int i=2; i<x; i++){
|
||||
if(x%i==0){del=i;}
|
||||
}
|
||||
if(del==0){return x;}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
// najdi prastevila v območju
|
||||
void prastevila(int polje1[], int &x){
|
||||
int j, k;
|
||||
cout << "Izpis prastevil" << endl << "Vpisi spodnjo mejo: ";
|
||||
cin >> j;
|
||||
cout << "Vpisi zgorno mejo: ";
|
||||
cin >> k;
|
||||
cout << endl;
|
||||
x = 0;
|
||||
while (k > j) {
|
||||
j = stevilo(j);
|
||||
if(j < k){
|
||||
polje1[x] = j;
|
||||
x++;
|
||||
}
|
||||
}
|
||||
}
|
||||
//bubble sort
|
||||
void sort(int polje[], const int x){
|
||||
for (int j = 0; j < x; j++){
|
||||
for (int i = 0; i < x-j-1;i++){
|
||||
if(polje[i]>polje[i+1]){
|
||||
int tem = polje[i];
|
||||
polje[i] = polje[i+1];
|
||||
polje[i+1] = tem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// najdi mediano
|
||||
double mediana(int polje1[], int &x){
|
||||
double j;
|
||||
int d;
|
||||
cout << "Vpisi velikost polja: ";
|
||||
cin >> x;
|
||||
cout << "Vpisi v polje: ";
|
||||
vpis(polje1, x);
|
||||
sort(polje1, x);
|
||||
if(x % 2 == 0){
|
||||
d = x / 2;
|
||||
j = polje1[d] + polje1[d - 1];
|
||||
j /= 2;
|
||||
return j;
|
||||
}else{
|
||||
d = x / 2;
|
||||
j = polje1[d];
|
||||
return j;
|
||||
}
|
||||
}
|
||||
|
||||
double povprecje(const int polje1[], const int x){
|
||||
double j = 0;
|
||||
for (int i = 0; i < x; i++){
|
||||
j = j + polje1[i];
|
||||
}
|
||||
j /= x;
|
||||
return j;
|
||||
}
|
||||
// standardna deviacia
|
||||
double STD(const int polje1[], const int x, const double j){
|
||||
double k = 0; // E(x- povp(x))^2
|
||||
for(int i = 0; i < x; i ++){
|
||||
k = k + pow(polje1[i]-j,2);
|
||||
}
|
||||
k = k/(x-1);
|
||||
k = sqrt(k);
|
||||
return k;
|
||||
}
|
||||
|
||||
int sekvenca(int polje1[], int x){
|
||||
vpis(polje1,x);
|
||||
|
||||
for(int i = 0;i<x;i++){
|
||||
if(polje1[i]==0){
|
||||
polje1[i] = -1;
|
||||
}
|
||||
}
|
||||
|
||||
int sum1 = 0;
|
||||
for(int k = 1;k<=x-1;k++){
|
||||
int sum2 = 0;
|
||||
|
||||
for(int i = 1;i<=x-k;i++){
|
||||
sum2 += polje1[i-1] * polje1[i-1+k];
|
||||
}
|
||||
|
||||
sum1 += sum2*sum2;
|
||||
}
|
||||
return sum1;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
int polje1[400];
|
||||
int polje2[400];
|
||||
int polje3[400];
|
||||
int polje4[400];
|
||||
int x; // velikost polja
|
||||
double j; // zacasna spremenljivka
|
||||
|
||||
//1 najdi pozicijo in vrednost minimalnega stevila
|
||||
int poz = 0; //pozicija (prenos preko reference
|
||||
int minvred; // minimalna vrednost (prenos preko reference)
|
||||
minimalna(polje1, x, poz, minvred);
|
||||
cout << "Minimalna vrednost: " << minvred << endl;
|
||||
cout << "Pozicija minimalne vrednosti: " << poz << endl << endl;
|
||||
|
||||
//2 najdi iskano stevilo
|
||||
j = index (polje1, x);
|
||||
cout << "Pozicija iskanega stevila: " << j << endl << endl;
|
||||
|
||||
//3 Vrne vsoto in razliko vektorjev
|
||||
cout << "Vektorji" << endl << endl;
|
||||
vsotarazlika(x, polje1, polje2, polje3, polje4);
|
||||
cout << "Vsota vektorjev: ";
|
||||
izpis(polje3, x);
|
||||
cout << "Razlika vektorjev: ";
|
||||
izpis(polje4, x);
|
||||
|
||||
//4 zmnozi vektor1 s skalarjem
|
||||
cout << "Vpisi skalar: ";
|
||||
cin >> j;
|
||||
mnozenjesskalarjem(polje1, polje3, x, j);
|
||||
cout << "Skalarni produkt vektorja 1: ";
|
||||
izpis(polje3, x);
|
||||
|
||||
//5 skalarni produkt
|
||||
j = skalarniprodukt(polje1, polje2, x);
|
||||
cout << "Skalarni produkt vektorja 1 in 2 je: " << j << endl << endl;
|
||||
|
||||
//6 vektorski produkt
|
||||
x = 3;
|
||||
vektorskiprodukt(polje1, polje2, polje3, x);
|
||||
cout << "Vektorski produkt je: ";
|
||||
izpis(polje3,x);
|
||||
|
||||
//7 izpis prastevil
|
||||
prastevila(polje1, x);
|
||||
izpis(polje1, x);
|
||||
|
||||
//8 izracunaj mediano
|
||||
cout << "Izracun mediane, povprecja, Std, sortiranje" << endl << endl;
|
||||
x = 0;
|
||||
j = mediana(polje1,x);
|
||||
cout << "Mediana polja je: " << j << endl;
|
||||
|
||||
//9 povprecna vrednost in standardna deviacija
|
||||
j = povprecje(polje1,x);
|
||||
cout << "Povprecje polja je: " << j << endl;
|
||||
j = STD(polje1, x, j);
|
||||
cout << "Standardna deviacia je: " << j << endl;
|
||||
|
||||
//10 bubble sort
|
||||
cout << "Sortirano polje1: ";
|
||||
izpis(polje1, x);
|
||||
|
||||
//11 Sekvenca
|
||||
x = 305;
|
||||
j = sekvenca(polje1, x);
|
||||
cout << j;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
154
semester_1/programiranje_1/Vaje/Vaja_7/Stiri_v_vrsto/main.cpp
Normal file
@@ -0,0 +1,154 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
//nafilaj polje z praznim prostorom
|
||||
void fill (int array [20][20], const int x){
|
||||
for(int i = 0; i<x; i++){
|
||||
for (int j = 0; j<x; j++){
|
||||
array [i][j] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//izpisi polje
|
||||
void print (const int array [20][20], const int x){
|
||||
for(int i = 1; i <= x; i++){
|
||||
cout << i << " ";
|
||||
}
|
||||
|
||||
cout << endl << endl;
|
||||
for(int i = 0; i<x; i++){
|
||||
for (int j = 0; j<x; j++){
|
||||
|
||||
if (array [i][j]==0){
|
||||
cout << "-";
|
||||
}else if (array [i][j] == 1) {
|
||||
cout << "X";
|
||||
}else{
|
||||
cout << "O";
|
||||
}
|
||||
cout << " ";
|
||||
}
|
||||
cout << endl;
|
||||
}
|
||||
cout << endl;
|
||||
}
|
||||
|
||||
//spusti kovanec na pravo mesto
|
||||
int drop (int array [20][20], const int x, const int s, const int p){
|
||||
for(int i = 0; i<x; i++){
|
||||
if(array[i][s] != 0){
|
||||
array [i-1][s]= p;
|
||||
return i-1;
|
||||
}else if (i == x-1){
|
||||
array [i][s] = p;
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
//Izberi stolpec
|
||||
void stolpec (int &s){
|
||||
cout << "Izberi stolpec: ";
|
||||
cin >> s;
|
||||
s = s - 1;
|
||||
}
|
||||
|
||||
// zamenjaj igralce
|
||||
void zamenjaj (int &p){
|
||||
if(p==1){
|
||||
p = 2;
|
||||
}else {
|
||||
p = 1;
|
||||
}
|
||||
}
|
||||
|
||||
int check (const int array [20][20], const int x, const int s, const int v, const int p){
|
||||
int zmaga = 0;
|
||||
|
||||
//preglej stolpec
|
||||
for(int i = 0; i<x; i++){
|
||||
if(array[i][s] == p){
|
||||
zmaga ++;
|
||||
}else{
|
||||
zmaga = 0;
|
||||
}
|
||||
if (zmaga>=4){
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
zmaga = 0;
|
||||
//preglej vrstico
|
||||
for(int i = 0; i<x; i++){
|
||||
if(array[v][i] == p){
|
||||
zmaga ++;
|
||||
}else{
|
||||
zmaga = 0;
|
||||
}
|
||||
if (zmaga>=4){
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
//pregled po diagonali
|
||||
if (array[v][s] == p && array[v+1][s+1] == p && array[v+2][s+2] == p && array[v+3][s+3] == p){return 1;}
|
||||
if (array[v][s] == p && array[v-1][s-1] == p && array[v-2][s-2] == p && array[v-3][s-3] == p){return 1;}
|
||||
if (array[v-1][s-1] == p && array[v][s] == p && array[v+1][s+1] == p && array[v+2][s+2] == p){return 1;}
|
||||
if (array[v-2][s-2] == p && array[v-1][s-1] == p && array[v][s] == p && array[v+1][s+1] == p){return 1;}
|
||||
|
||||
if (array[v][s] == p && array[v-1][s+1] == p && array[v-2][s+2] == p && array[v-3][s+3] == p){return 1;}
|
||||
if (array[v][s] == p && array[v+1][s-1] == p && array[v+2][s-2] == p && array[v+3][s-3] == p){return 1;}
|
||||
if (array[v][s] == p && array[v+1][s-1] == p && array[v-1][s+1] == p && array[v-2][s+2] == p){return 1;}
|
||||
if (array[v][s] == p && array[v+2][s-2] == p && array[v+1][s-1] == p && array[v-1][s+1] == p){return 1;}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void zmagalje (const int p){
|
||||
cout << "Zmagal je: ";
|
||||
if (p == 1){
|
||||
cout << "X" << endl;
|
||||
}else{
|
||||
cout << "O" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
int x;
|
||||
int array [20][20];
|
||||
cout << "Vpisi velikost polja: ";
|
||||
cin >> x;
|
||||
while (x<=4){
|
||||
cout << "Premajhno polje" << endl;
|
||||
cout << "Vpisi velikost polja: ";
|
||||
cin >> x;
|
||||
}
|
||||
while (x>20){
|
||||
cout << "Preveliko polje" << endl;
|
||||
cout << "Vpisi velikost polja: ";
|
||||
cin >> x;
|
||||
}
|
||||
|
||||
fill(array,x);
|
||||
print(array, x);
|
||||
|
||||
int p = 2; // player
|
||||
int s; // stolpci
|
||||
int v; // vrstice
|
||||
int finished = 0;//stanje igre ce je 0 se nadaljuje ce je 1 je konec
|
||||
|
||||
while (finished == 0) {
|
||||
zamenjaj(p);
|
||||
cout << "Na vrsto je igralec: " << p << endl;
|
||||
stolpec (s);
|
||||
v = drop (array, x, s, p);
|
||||
print(array, x);
|
||||
finished = check(array, x, s, v, p);
|
||||
}
|
||||
|
||||
zmagalje(p);
|
||||
|
||||
return 0;
|
||||
}
|
170
semester_1/programiranje_1/Vaje/Vaja_8/char_array/main.cpp
Normal file
@@ -0,0 +1,170 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
void izpis(const int array[], const int x){
|
||||
for(int i = 0; i<x; i++){
|
||||
cout << array[i] << " ";
|
||||
}
|
||||
cout << endl << endl;
|
||||
}
|
||||
|
||||
void obrniNiz(const char string[], char invstring[], const int x){
|
||||
for(int i = 0; i < x; i++){
|
||||
invstring[i] = string[x-1-i];
|
||||
}
|
||||
}
|
||||
|
||||
void znaki(const char string[], const int x, int &samoglasniki, int &soglasniki){
|
||||
samoglasniki = 0;
|
||||
soglasniki = 0;
|
||||
for(int i = 0; i < x; i++){
|
||||
if (string[i] == 'a' || string[i] == 'e' || string[i] == 'i' || string[i] == 'o' || string[i] == 'u' || string[i] == 'A' || string[i] == 'E' || string[i] == 'I' || string[i] == 'O' || string[i] == 'U'){
|
||||
samoglasniki++;
|
||||
}else{
|
||||
soglasniki++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int primerjaj(const char string1[], const char string2[], const int x){
|
||||
int enakost = 1;
|
||||
for(int i = 0; i < x; i ++){
|
||||
if(string1[i] != string2[i]){
|
||||
enakost = 0;
|
||||
}
|
||||
}
|
||||
return enakost;
|
||||
}
|
||||
|
||||
void zdruzi(const char string1[], const char string2[], char string[], const int x){
|
||||
for(int i = 0; i < x; i++){
|
||||
string[i] = string1[i];
|
||||
string[x+i] = string2[i];
|
||||
}
|
||||
}
|
||||
|
||||
void tolowercase(char string1[], int x){
|
||||
for(int i = 0; i < x; i++){
|
||||
if(string1[i] >= 65 && string1[i] <= 92){
|
||||
string1[i] = string1[i] + 32;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void charvint(const char string[], int array[], const int x){
|
||||
for(int i = 0; i < x; i++){
|
||||
array[i] = int(string[i]);
|
||||
}
|
||||
}
|
||||
|
||||
void intvcahr(const int array[], char string[], const int x){
|
||||
for(int i = 0; i < x; i++){
|
||||
string[i] = char(array[i]);
|
||||
}
|
||||
}
|
||||
|
||||
void piramida(const char string[], const int x){
|
||||
int rec = x;
|
||||
for(int i = 0; i < x; i++){
|
||||
|
||||
for(int k=0;k<rec-1;k++)cout<<" ";
|
||||
rec--;
|
||||
|
||||
if(i == 0){
|
||||
cout << string[i] << endl;
|
||||
}else{
|
||||
cout << string[i];
|
||||
for(int j = 0; j < i*2; j++){
|
||||
cout << " ";
|
||||
}
|
||||
cout << string[i] << endl;
|
||||
}
|
||||
}
|
||||
cout << string << string << endl;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
char string1[200];
|
||||
char string2[200];
|
||||
char string3[200];
|
||||
char string4[200];
|
||||
int array[200];
|
||||
int x, y, z;
|
||||
cout << "Vpisi dolzino besede: ";
|
||||
cin >> x;
|
||||
cout << "Vpisi niz: ";
|
||||
cin >> string1;
|
||||
|
||||
cout << "Vpisi drugi niz: ";
|
||||
cin >> string2;
|
||||
cout << endl;
|
||||
|
||||
//obrne string
|
||||
obrniNiz(string1,string3,x);
|
||||
cout << "Obrnjen niz: " << string3 << endl << endl;
|
||||
|
||||
//presteje samoglasnike in soglasnike
|
||||
znaki(string1, x, y, z);
|
||||
cout << "Stevilo samoglasnikov: " << y << endl << endl;
|
||||
cout << "Stevilo soglasnikov: " << z << endl << endl;
|
||||
|
||||
//primerjaj string1 in string2(inv string1) da ugotovis ali je ponidrom
|
||||
y = primerjaj(string1, string3, x);
|
||||
if(y == 1){
|
||||
cout << "Beseda je polindrom" << endl << endl;
|
||||
}else {
|
||||
cout << "Beseda ni polindrom" << endl << endl;
|
||||
}
|
||||
|
||||
//primerjaj dva stringa
|
||||
y = primerjaj(string1, string2, x);
|
||||
if(y == 1){
|
||||
cout << "Besedi sta enaki" << endl << endl;
|
||||
}else {
|
||||
cout << "Besedi nista enaki" << endl << endl;
|
||||
}
|
||||
|
||||
//doda prvemu nizu znakov doda drugi niz znakov
|
||||
zdruzi(string1, string2, string4, x);
|
||||
cout << "Zdruzen niz: " << string4 << endl << endl;
|
||||
|
||||
//spremeni velike crke v male
|
||||
tolowercase(string1,x);
|
||||
cout << "Vse v malih crkah: " << string1 << endl << endl;
|
||||
|
||||
//spremeni char polje v int polje
|
||||
charvint(string1, array, x);
|
||||
cout << "Iz char v int: ";
|
||||
izpis(array, x);
|
||||
|
||||
//spremeni int polje v char polje
|
||||
intvcahr(array, string3, x);
|
||||
cout << "Iz int v char: " << string3 << endl << endl;
|
||||
|
||||
//encript polje z 1 in 7 funkcijo in jo pomnozi z klucem
|
||||
obrniNiz(string1, string3, x);
|
||||
charvint(string3, array, x);
|
||||
cout << "Vpisi kljuc: ";
|
||||
cin >> y;
|
||||
cout << endl;
|
||||
for(int i = 0; i < x; i++){
|
||||
array[i] *= y;
|
||||
}
|
||||
cout << "Inkriptiran text: ";
|
||||
izpis(array, x);
|
||||
|
||||
//decript array
|
||||
for(int i = 0; i < x; i++){
|
||||
array[i] /= y;
|
||||
}
|
||||
intvcahr(array, string3, x);
|
||||
obrniNiz(string3, string2, x);
|
||||
cout << "Dekriptiran text: " << string2 << endl << endl;
|
||||
|
||||
// piramida
|
||||
piramida(string1, x);
|
||||
|
||||
return 0;
|
||||
}
|
119
semester_1/programiranje_1/Vaje/Vaja_9/Police/main.cpp
Normal file
@@ -0,0 +1,119 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
using namespace std;
|
||||
|
||||
void print(int polica [3][4]){
|
||||
for(int i = 0; i<3; i++){
|
||||
for(int j = 0; j < 4; j++){
|
||||
cout << polica [i][j] << " ";
|
||||
}
|
||||
cout << endl;
|
||||
}
|
||||
}
|
||||
|
||||
void copy(int array1[3][4], int array2[3][4]){
|
||||
for(int i = 0; i<3; i++){
|
||||
for(int j = 0; j < 4; j++){
|
||||
array2[i][j] = array1[i][j];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void konecdneva(int array[3][4]){
|
||||
//roglicki 0,3
|
||||
array [0][3] = 0;
|
||||
|
||||
//jabolka 1,2
|
||||
array [1][2] = 0;
|
||||
|
||||
//paradiznik 2,2
|
||||
array [2][2] = 0;
|
||||
|
||||
//pomarance 1,0
|
||||
array [1][0] /= 2;
|
||||
|
||||
//fige 1,3
|
||||
array [1][3] /= 4;
|
||||
}
|
||||
|
||||
void simetricna(int array[3][4]){
|
||||
int isto = 1;
|
||||
for(int i = 0; i<3; i++){
|
||||
for(int j = 0; j < 4; j++){
|
||||
if(array[i][j] != array[j][i]){
|
||||
isto = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isto == 1){
|
||||
cout << "Matrika je simetricna \n \n";
|
||||
}else{
|
||||
cout << "Matrika ni simetricna \n \n";
|
||||
}
|
||||
}
|
||||
|
||||
void skalar(int array [3][4]){
|
||||
for(int i = 0; i<3; i++){
|
||||
for(int j = 0; j < 4; j++){
|
||||
array[i][j] *= 365;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void bublesort(int array [3][4]){
|
||||
for (int j = 0; j < 4; j++){
|
||||
for (int i = 0; i < 4-j-1; i++){
|
||||
if(array[i]<array[i+1]){
|
||||
int tem = array [0][i];
|
||||
array [0][i] = array [0][i+1];
|
||||
array [0][i+1] = tem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int diagonala(int array [3][4]){
|
||||
int j = 0;
|
||||
int skupaj = 0;
|
||||
for(int i = 0; i<3; i++){
|
||||
array[i][j] = pow(array[i][j],3);
|
||||
skupaj += array[i][j];
|
||||
j++;
|
||||
}
|
||||
int povprecje = skupaj / 3;
|
||||
return povprecje;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
int police [3][4] = {{ 8, 6, 4, 3},
|
||||
{12, 4, 10, 12},
|
||||
{ 4, 3, 13, 8}};
|
||||
int konec [3][4];
|
||||
//kopiraj police v konec array
|
||||
copy(police, konec);
|
||||
|
||||
//izpisi zacetne police
|
||||
cout << "Zacetne police \n";
|
||||
print(police);
|
||||
|
||||
//konec dneva
|
||||
konecdneva(konec);
|
||||
cout << "Konec dneva police \n";
|
||||
print(konec);
|
||||
simetricna(konec);
|
||||
|
||||
//mnozenje s skalarjem
|
||||
cout << "Zacetne police zmnozene z skalarjem \n";
|
||||
skalar(police);
|
||||
bublesort(police);
|
||||
print(police);
|
||||
|
||||
cout << endl << "Po diagonali na kub \n";
|
||||
int x = 0;
|
||||
x = diagonala(konec);
|
||||
print(konec);
|
||||
cout << "Povprecje je " << x << endl;
|
||||
return 0;
|
||||
}
|
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/Image/R3.webp
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/Image/R5.webp
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/Image/R7.webp
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/Image/feri.jpg
Normal file
After Width: | Height: | Size: 162 KiB |
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/Image/i3.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/Image/i5.jpg
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/Image/i7.jpg
Normal file
After Width: | Height: | Size: 6.9 KiB |
109
semester_1/uvod_v_svetovni_splet/Vaja_2/Pages/izdelki.html
Normal file
@@ -0,0 +1,109 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Nikolova spletna stran</title>
|
||||
<meta name="description" content="Demonstracija 2 vaje">
|
||||
<meta name="keywords" content="USS, FERI, HTML">
|
||||
<meta name="author" content="Nikola Petrov">
|
||||
<meta name="viewport" content="width=device-with, initial-scale=1.0">
|
||||
<style>
|
||||
table, td{border: 1px solid black;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>
|
||||
Nikolova spletna stran
|
||||
</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="../index.html">Glavna stran</a></li>
|
||||
<li><a href="izdelki.html">Izdelki</a></li>
|
||||
<li><a href="svetovanje.html">Svetovanje</a></li>
|
||||
<li><a href="https://estudij.um.si" target="_blank">Vaje</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<p>i7 11700k</p>
|
||||
<img src="../Image/i7.jpg" alt="i7" width="400" height="300">
|
||||
<dl>
|
||||
<dt>Št jedr</dt>
|
||||
<dd>8</dd>
|
||||
<dt>Frekvenca</dt>
|
||||
<dd>3.60 GHz</dd>
|
||||
<dt>Cena</dt>
|
||||
<dd>420€</dd>
|
||||
</dl>
|
||||
</td>
|
||||
<td>
|
||||
<p>Ryzen7 5800X</p>
|
||||
<img src="../Image/R7.webp" alt="R7" width="400" height="300">
|
||||
<dl>
|
||||
<dt>Št jedr</dt>
|
||||
<dd>8</dd>
|
||||
<dt>Frekvenca</dt>
|
||||
<dd>3.80 GHz</dd>
|
||||
<dt>Cena</dt>
|
||||
<dd>430€</dd>
|
||||
</dl>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>i5 11600k</p>
|
||||
<img src="../Image/i5.jpg" alt="i5" width="400" height="300">
|
||||
<dl>
|
||||
<dt>Št jedr</dt>
|
||||
<dd>6</dd>
|
||||
<dt>Frekvenca</dt>
|
||||
<dd>3.90 GHz</dd>
|
||||
<dt>Cena</dt>
|
||||
<dd>280€</dd>
|
||||
</dl>
|
||||
</td>
|
||||
<td>
|
||||
<p>Ryzen5 5600X</p>
|
||||
<img src="../Image/R5.webp" alt="R7" width="400" height="300">
|
||||
<dl>
|
||||
<dt>Št jedr</dt>
|
||||
<dd>6</dd>
|
||||
<dt>Frekvenca</dt>
|
||||
<dd>3.7 GHz</dd>
|
||||
<dt>Cena</dt>
|
||||
<dd>330€</dd>
|
||||
</dl>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>i3 10100</p>
|
||||
<img src="../Image/i3.jpg" alt="i3" width="400" height="300">
|
||||
<dl>
|
||||
<dt>Št jedr</dt>
|
||||
<dd>4</dd>
|
||||
<dt>Frekvenca</dt>
|
||||
<dd>3.60 GHz</dd>
|
||||
<dt>Cena</dt>
|
||||
<dd>140€</dd>
|
||||
</dl>
|
||||
</td>
|
||||
<td>
|
||||
<p>Ryzen3 3300X</p>
|
||||
<img src="../Image/R3.webp" alt="R7" width="400" height="300">
|
||||
<dl>
|
||||
<dt>Št jedr</dt>
|
||||
<dd>4</dd>
|
||||
<dt>Frekvenca</dt>
|
||||
<dd>3.80 GHz</dd>
|
||||
<dt>Cena</dt>
|
||||
<dd>150€</dd>
|
||||
</dl>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,81 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Nikolova spletna stran</title>
|
||||
<meta name="description" content="Demonstracija 2 vaje">
|
||||
<meta name="keywords" content="USS, FERI, HTML">
|
||||
<meta name="author" content="Nikola Petrov">
|
||||
<meta name="viewport" content="width=device-with, initial-scale=1.0">
|
||||
<style>
|
||||
div{margin-bottom: 10px;}
|
||||
table{display: inline-block;width: 150px;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>
|
||||
Nikolova spletna stran
|
||||
</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="../index.html">Glavna stran</a></li>
|
||||
<li><a href="izdelki.html">Izdelki</a></li>
|
||||
<li><a href="svetovanje.html">Svetovanje</a></li>
|
||||
<li><a href="https://estudij.um.si" target="_blank">Vaje</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<section>
|
||||
<h2>Svetovanje</h2>
|
||||
<h3>Kontaktni podatki</h3>
|
||||
<form action="svetovanje.html" method="get" id="svetovanje">
|
||||
<!--ime-->
|
||||
<div>
|
||||
<label for="name_input">Ime in priimek:</label>
|
||||
<input type="text" id="name_input" name="iname">
|
||||
</div><div>
|
||||
<!--email-->
|
||||
<label for="email_input">E-naslov:</label>
|
||||
<input type="email" id="email_input" name="iemail">
|
||||
</div><div>
|
||||
<!--kraj-->
|
||||
<label for="kraj_input">Kraj:</label>
|
||||
<select name="kraj" id="kraj_input">
|
||||
<option value="ljubljana">Ljubljana</option>
|
||||
<option value="maribor">Maribor</option>
|
||||
<option value="kranj">Kranj</option>
|
||||
<option value="koper">Koper</option>
|
||||
<option value="novo_mesto">Novo mesto</option>
|
||||
</select>
|
||||
</div><div>
|
||||
<!--vrsta računalnika-->
|
||||
<label>Vrsta računalnika:</label>
|
||||
<input type="radio" id="od1_radio" name="od1r" value="true">
|
||||
<label for="od1_radio">Namizni</label>
|
||||
<input type="radio" id="od2_radio" name="od2r" value="true">
|
||||
<label for="od2_radio">Prenosni</label>
|
||||
<input type="radio" id="od3_radio" name="od3r" value="true">
|
||||
<label for="od3_radio">All-in-One</label>
|
||||
</div><div>
|
||||
<!--namen-->
|
||||
<label>Namen uporabe:</label>
|
||||
<input type="checkbox" id="od1_checkbox" name="od1c" value="true">
|
||||
<label for="od1_checkbox">Igranje iger</label>
|
||||
<input type="checkbox" id="od2_checkbox" name="od2c" value="true">
|
||||
<label for="od2_checkbox">Video obdelava</label>
|
||||
<input type="checkbox" id="od3_checkbox" name="od3c" value="true">
|
||||
<label for="od3_checkbox">3D modeliranje</label>
|
||||
<input type="checkbox" id="od4_checkbox" name="od4c" value="true">
|
||||
<label for="od4_checkbox">Strojno učenje</label>
|
||||
</div><div>
|
||||
<!--comment-->
|
||||
<textarea name="comment" form="svetovanje" cols="60" rows="10">Komentiraj</textarea>
|
||||
</div><div>
|
||||
<!--pošlji-->
|
||||
<input type="submit" value="Pošlji">
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
BIN
semester_1/uvod_v_svetovni_splet/Vaja_2/SSV2.zip
Normal file
56
semester_1/uvod_v_svetovni_splet/Vaja_2/Test/Text File.txt
Normal file
@@ -0,0 +1,56 @@
|
||||
<p>
|
||||
Ta<i>spletna stran</i> stuži za demonstracijo jezika <b>HTML</b>
|
||||
Več o html-ju lahko izveste na <a href="https://www.w3schools.com/" target="_blank">povezavi</a>
|
||||
Za<u>dodatna</u> uprašanja pišite na<a href="mailto:nikola.petrov@student.um.si">e-naslov</a>
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
Predmetnik 1. LEtnika RIT
|
||||
</div>
|
||||
<ol>
|
||||
<li>Uvod v računalništvo</li>
|
||||
<li>Programiranje 1</li>
|
||||
<li>SPO</li>
|
||||
<li>USS</li>
|
||||
<li>Matematika</li>
|
||||
</ol>
|
||||
<span>Kratice predmetov</span>
|
||||
<dl>
|
||||
<dt>USS</dt>
|
||||
<dd>Uvod v svetovni splet</dd>
|
||||
<dt>SPO</dt>
|
||||
<dd>Sodobna programska oprema</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<a href="Pages/vaje.html">Zagovori vaj</a>
|
||||
<footer>
|
||||
<p>
|
||||
Avtor:Nikola Petrov
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
|
||||
|
||||
|
||||
<figure>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vaja</th>
|
||||
<th>Št. točk</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Osnove spleta</td>
|
||||
<td>5 točk</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>HTML</td>
|
||||
<td>8 Točk</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</figure>
|
66
semester_1/uvod_v_svetovni_splet/Vaja_2/Test/vaje.html
Normal file
@@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" content="Demonstracija 2 vaje">
|
||||
<meta name="keywords" content="USS, FERI, HTML">
|
||||
<meta name="author" content="Nikola Petrov">
|
||||
<meta name="viewport" content="width=device-with, initial-scale=1.0">
|
||||
</head>
|
||||
<body style="background-color: palegreen;">
|
||||
<header>
|
||||
<h1>
|
||||
predstavitev 2. vaje pri predmetu USS
|
||||
</h1>
|
||||
<nav>
|
||||
<a href="../index.html">Glavna stran</a>
|
||||
<a href="https://estudij.um.si/">Estudij</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section>
|
||||
<figure>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vaja</th>
|
||||
<th>Št. točk</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Osnove spleta</td>
|
||||
<td>5 točk</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>HTML</td>
|
||||
<td>8 Točk</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</figure>
|
||||
<span>Prijava na zagovor vaje</span>
|
||||
<form>
|
||||
<!--ime-->
|
||||
<label for="name_input">Ime študenta</label>
|
||||
<input type="text" id="name_input" name="iname" value="Janez">
|
||||
<br/>
|
||||
<!--email-->
|
||||
<label for="email_input">E-naslov</label>
|
||||
<input type="email" id="email_input" name="iemail">
|
||||
<br/>
|
||||
<!--geslo-->
|
||||
<label for="password_input">Geslo</label>
|
||||
<input type="password" id="password_input" name="ipassword">
|
||||
<br/>
|
||||
<!--da ali ne-->
|
||||
<label>Zagovarjal bom vajo</label>
|
||||
<input type="checkbox" id="vaja1_checkbox" name="vaja1" value="true">
|
||||
<label for="vaja1_checkbox">vaja 1</label>
|
||||
<input type="checkbox" id="vaja2_checkbox" name="vaja2" value="true">
|
||||
<label for="vaja2_checkbox">vaja 2</label>
|
||||
<!--pošlji-->
|
||||
<input type="submit" value="Pošlji">
|
||||
</form>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
45
semester_1/uvod_v_svetovni_splet/Vaja_2/index.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Nikolova spletna stran</title>
|
||||
<meta name="description" content="Demonstracija 2 vaje">
|
||||
<meta name="keywords" content="USS, FERI, HTML">
|
||||
<meta name="author" content="Nikola Petrov">
|
||||
<meta name="viewport" content="width=device-with, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>
|
||||
Nikolova spletna stran
|
||||
</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="index.html">Glavna stran</a></li>
|
||||
<li><a href="Pages/izdelki.html">Izdelki</a></li>
|
||||
<li><a href="Pages/svetovanje.html">Svetovanje</a></li>
|
||||
<li><a href="https://estudij.um.si" target="_blank">Vaje</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div>
|
||||
<article>
|
||||
<h3>O meni</h3>
|
||||
<p>Sem <a href="mailto:nikola.petrov@student.um.si">Nikola Petrov</a> in sem študent na <b>Univerza v Mariboru</b>.<br>
|
||||
To je moja spletna stran, ki sem jo naredil za predmet <u>Uvod v svetovni splet</u>.<br>
|
||||
Rad se okvarjam z elektroniko in računalniki</p>
|
||||
<div>
|
||||
<figure>
|
||||
<img src="Image/feri.jpg" alt="FERI" width="600" height="400">
|
||||
<figcaption>Stavba fakultete za elektroniko, računalništvo in informatiko</figcaption>
|
||||
</figure>
|
||||
<hr>
|
||||
<figure>
|
||||
<iframe width="600" height="315" src="https://www.youtube.com/embed/uRoU4_Yj7QY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
<figcaption>Video</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
semester_1/uvod_v_svetovni_splet/Vaja_3/CSS.zip
Normal file
46
semester_1/uvod_v_svetovni_splet/Vaja_3/CSS/index.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Moja spletna stran</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="index.html">Domov</a></li>
|
||||
<li><a href="izdelki.html">Izdelki</a></li>
|
||||
<li><a href="svetovanje.html">Svetovanje</a></li>
|
||||
<li><a href="http://estudij.um.si">Vaje</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<div class="vsebina"> <!--Preimenoval article v div-->
|
||||
<div class="kartica">
|
||||
<h2>Naslov</h2>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse non risus ipsum. Curabitur in consectetur mauris, nec ultrices elit. Proin sit amet condimentum urna. Maecenas iaculis eros ac orci faucibus laoreet. Sed congue, diam in suscipit rhoncus, metus sem consequat nibh, in aliquet lacus ligula at neque. Fusce eu sem lorem. Vestibulum in tellus convallis, ultricies ligula a, consectetur dolor. Quisque felis ipsum, condimentum ut finibus nec, interdum semper dui. Ut tempus rutrum tincidunt. Phasellus pulvinar dolor et nunc imperdiet iaculis. Aliquam erat volutpat. Sed nec dolor sed nisl aliquam tincidunt. Interdum et malesuada fames ac ante ipsum primis in faucibus. Praesent posuere dapibus ipsum. Quisque ac mi pretium, faucibus nisi et, elementum nunc. Duis eu porta mauris, id ultrices dolor.
|
||||
</p>
|
||||
<figure>
|
||||
<img src="slika.jpg" />
|
||||
<figcaption>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="kartica">
|
||||
<h2>Video: Big Buck Bunny</h2>
|
||||
<video controls>
|
||||
<source src="mov_bbb.mp4" type="video/mp4">
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
<p>
|
||||
Ut non tempus dui, non euismod leo. Ut dignissim fermentum enim, vitae luctus nunc aliquam a. Donec in auctor purus, tempor porttitor orci. Ut sagittis sem eu lacus euismod pellentesque. Cras eu orci arcu. Nullam euismod mattis leo. Quisque vel volutpat ante, non posuere magna. In feugiat mi nunc.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
66
semester_1/uvod_v_svetovni_splet/Vaja_3/CSS/izdelki.html
Normal file
@@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Moja spletna stran</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="index.html">Domov</a></li>
|
||||
<li><a href="izdelki.html">Izdelki</a></li>
|
||||
<li><a href="svetovanje.html">Svetovanje</a></li>
|
||||
<li><a href="http://estudij.um.si">Vaje</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="vsebina">
|
||||
<div class="kartica izdelek">
|
||||
<h3>Procesor Intel Core-i9-7900X</h3>
|
||||
<img src="https://www.evetech.co.za/repository/ProductImages/intel-Core-i9-7900X-Processor-1000px-v1.jpg" />
|
||||
<div class="opis">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse non risus ipsum. Curabitur in consectetur mauris, nec ultrices elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kartica izdelek">
|
||||
<h3>Grafična kartica GeForce RTX 2080 Ti</h3>
|
||||
<img src="https://asset.msi.com/resize/image/global/product/product_1_20180919185540_5ba22b2ce7ec4.png62405b38c58fe0f07fcef2367d8a9ba1/1024.png" />
|
||||
<div class="opis">
|
||||
<p>Etiam dignissim lectus purus, et rhoncus nibh dignissim at. Nullam lorem sem, sagittis eget ornare et, gravida ut felis. Duis lobortis, sem quis tincidunt accumsan, leo ante iaculis nulla, eget tincidunt dui massa tristique quam. Phasellus dignissim odio sit amet congue molestie. Sed vestibulum erat ac lectus facilisis suscipit. Nam sodales ligula et risus aliquam, vitae ultrices sem ultrices. Curabitur viverra ac sem in aliquet. Morbi dapibus dui mi, sit amet vulputate felis sollicitudin in. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas tristique ornare efficitur. Phasellus vulputate mollis ante ac tincidunt. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kartica izdelek">
|
||||
<h3>Grafična kartica GeForce RTX 2080 Ti</h3>
|
||||
<img src="https://asset.msi.com/resize/image/global/product/product_1_20180919185540_5ba22b2ce7ec4.png62405b38c58fe0f07fcef2367d8a9ba1/1024.png" />
|
||||
<div class="opis">
|
||||
<p>Etiam dignissim lectus purus, et rhoncus nibh dignissim at. Nullam lorem sem, sagittis eget ornare et, gravida ut felis. Duis lobortis, sem quis tincidunt accumsan, leo ante iaculis nulla, eget tincidunt dui massa tristique quam. Phasellus dignissim odio sit amet congue molestie. Sed vestibulum erat ac lectus facilisis suscipit. Nam sodales ligula et risus aliquam, vitae ultrices sem ultrices. Curabitur viverra ac sem in aliquet. Morbi dapibus dui mi, sit amet vulputate felis sollicitudin in. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas tristique ornare efficitur. Phasellus vulputate mollis ante ac tincidunt. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kartica izdelek">
|
||||
<h3>Procesor Intel Core-i9-7900X</h3>
|
||||
<img src="https://www.evetech.co.za/repository/ProductImages/intel-Core-i9-7900X-Processor-1000px-v1.jpg" />
|
||||
<div class="opis">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse non risus ipsum. Curabitur in consectetur mauris, nec ultrices elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kartica izdelek">
|
||||
<h3>Procesor Intel Core-i9-7900X</h3>
|
||||
<img src="https://www.evetech.co.za/repository/ProductImages/intel-Core-i9-7900X-Processor-1000px-v1.jpg" />
|
||||
<div class="opis">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse non risus ipsum. Curabitur in consectetur mauris, nec ultrices elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kartica izdelek">
|
||||
<h3>Grafična kartica GeForce RTX 2080 Ti</h3>
|
||||
<img src="https://asset.msi.com/resize/image/global/product/product_1_20180919185540_5ba22b2ce7ec4.png62405b38c58fe0f07fcef2367d8a9ba1/1024.png" />
|
||||
<div class="opis">
|
||||
<p>Etiam dignissim lectus purus, et rhoncus nibh dignissim at. Nullam lorem sem, sagittis eget ornare et, gravida ut felis. Duis lobortis, sem quis tincidunt accumsan, leo ante iaculis nulla, eget tincidunt dui massa tristique quam. Phasellus dignissim odio sit amet congue molestie. Sed vestibulum erat ac lectus facilisis suscipit. Nam sodales ligula et risus aliquam, vitae ultrices sem ultrices. Curabitur viverra ac sem in aliquet. Morbi dapibus dui mi, sit amet vulputate felis sollicitudin in. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas tristique ornare efficitur. Phasellus vulputate mollis ante ac tincidunt. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
semester_1/uvod_v_svetovni_splet/Vaja_3/CSS/mov_bbb.mp4
Normal file
BIN
semester_1/uvod_v_svetovni_splet/Vaja_3/CSS/slika.jpg
Normal file
After Width: | Height: | Size: 162 KiB |
251
semester_1/uvod_v_svetovni_splet/Vaja_3/CSS/style.css
Normal file
@@ -0,0 +1,251 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
|
||||
|
||||
html{
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
background-color: #404040;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
padding: 0px; /*Določi zunanji odmik*/
|
||||
}
|
||||
|
||||
body{
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
background-color: #404040;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
padding: 0px; /*Določi zunanji odmik*/
|
||||
margin-top: 110px;
|
||||
}
|
||||
|
||||
*{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
header{
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
h1{
|
||||
background-color: black;
|
||||
color: orange;
|
||||
text-align: center;
|
||||
outline-offset: 10px; /*Določi notranji odmik*/
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
||||
nav ul{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
nav ul li{
|
||||
float: left;
|
||||
}
|
||||
|
||||
nav ul li a{
|
||||
display: block;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav ul li a:hover{
|
||||
background-color: #111;
|
||||
}
|
||||
|
||||
div.vsebina{
|
||||
max-width: 1000px;
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
div.kartica{
|
||||
background-color: #707070;
|
||||
margin-top: 20px;
|
||||
color: white;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
h2{
|
||||
display: block;
|
||||
padding: 10px;
|
||||
color: white;
|
||||
background-color: orange;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p{
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
/*INDEX*/
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
figure{
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
figcaption{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
video{
|
||||
width: 100%;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/*IZDELKI*/
|
||||
|
||||
h3{
|
||||
background-color: orange;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
margin: 0px;
|
||||
height: 40px;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
div.izdelek p{
|
||||
margin: 0px;
|
||||
padding: 5px;
|
||||
height: 150px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
div.izdelek img{
|
||||
max-width: 100%;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
div.izdelek{
|
||||
display: inline-block;
|
||||
height: 400px;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
/*SVETOVANJE*/
|
||||
|
||||
form.obrazec{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
label.oznaka{
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
input[type=text]{
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
background-color: #cccccc;
|
||||
border-radius: 20px;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
padding-left: 20px;
|
||||
padding-bottom: 20px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
textarea{
|
||||
border-width: 20px;
|
||||
display:block;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
resize: none;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
padding-left: 20px;
|
||||
padding-bottom: 20px;
|
||||
border-radius: 2px;
|
||||
background-color: #cccccc;
|
||||
border-color: orange;
|
||||
}
|
||||
|
||||
textarea:focus{
|
||||
border-color: pink;
|
||||
}
|
||||
|
||||
input[type=submit]{
|
||||
background-color: orange;
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
margin-top: 10px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input[type=submit]:hover{
|
||||
background-color: darkorange;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*RESIZE*/
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
|
||||
label.radio-gumb{
|
||||
display: block;
|
||||
}
|
||||
|
||||
label.checkbox-gumb{
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.izdelek{
|
||||
width:90%;
|
||||
}
|
||||
|
||||
|
||||
nav ul{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
nav ul li{
|
||||
float: none;
|
||||
}
|
||||
|
||||
nav ul li a{
|
||||
display: block;
|
||||
color: white;
|
||||
padding: 8px 16px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body{
|
||||
margin-top: 210px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 601px) and (max-width: 1000px) {
|
||||
|
||||
label.radio-gumb{
|
||||
display: block;
|
||||
}
|
||||
|
||||
label.checkbox-gumb{
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.izdelek{
|
||||
width: 45%;
|
||||
}
|
||||
}
|
45
semester_1/uvod_v_svetovni_splet/Vaja_3/CSS/svetovanje.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Moja spletna stran</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="index.html">Domov</a></li>
|
||||
<li><a href="izdelki.html">Izdelki</a></li>
|
||||
<li><a href="svetovanje.html">Svetovanje</a></li>
|
||||
<li><a href="http://estudij.um.si">Vaje</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<div class="vsebina">
|
||||
<div class="kartica">
|
||||
<h2>Anketa</h2>
|
||||
<form class="obrazec">
|
||||
<label class="oznaka">Ime in priimek:</label><input type="text"/><br/>
|
||||
<label class="oznaka">Kraj:</label><input type="text"/><br/>
|
||||
<label class="oznaka">Elektronska pošta:</label><input type="text"/><br/>
|
||||
<label class="oznaka">Vrsta računalnika:</label>
|
||||
<label class="radio-gumb" for="namizni"><input type="radio" name="vrsta" id="namizni">Namizni<span class="pika"></span></label>
|
||||
<label class="radio-gumb" for="prenosni"><input type="radio" name="vrsta" id="prenosni">Prenosni<span class="pika"></span></label>
|
||||
<label class="radio-gumb" for="allinone"><input type="radio" name="vrsta" id="allinone">All-In-One<span class="pika"></span></label>
|
||||
<br/>
|
||||
<label class="oznaka">Namen uporabe:</label>
|
||||
<label class="checkbox-gumb" for="igre"><input name="namen" type="checkbox" id="igre">Igranje iger<span class="kljukica"></label>
|
||||
<label class="checkbox-gumb" for="video"><input name="namen" type="checkbox" id="video">Video obdelava<span class="kljukica"></label>
|
||||
<label class="checkbox-gumb" for="3d"><input name="namen" type="checkbox" id="3d">3D modeliranje<span class="kljukica"></label>
|
||||
<label class="checkbox-gumb" for="ml"><input name="namen" type="checkbox" id="ml">Strojno učenje<span class="kljukica"></label>
|
||||
<br/>
|
||||
<label class="oznaka">Komentar:</label><textarea></textarea><br/>
|
||||
<input type="submit" value="Pošlji"/>
|
||||
</form>
|
||||
</div>
|
||||
<div id="content">
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 831 KiB |
After Width: | Height: | Size: 539 KiB |
After Width: | Height: | Size: 162 KiB |
After Width: | Height: | Size: 242 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 143 KiB |
After Width: | Height: | Size: 656 KiB |
After Width: | Height: | Size: 313 KiB |
After Width: | Height: | Size: 195 KiB |
After Width: | Height: | Size: 590 KiB |
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Demo vaja 3 - CSS</title>
|
||||
<link rel="stylesheet" href="./styles/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Demo vaja 3 - CSS</h1>
|
||||
</header>
|
||||
<div id="textContainer">
|
||||
<h2>Besedilo</h2>
|
||||
<div>
|
||||
<p class="sampleParagraph">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eu posuere ipsum. Pellentesque a efficitur eros. Ut lacinia, ex eu faucibus rutrum, libero ligula ultrices est, ut venenatis est arcu nec massa. Donec ultricies ante purus, sed tincidunt justo lobortis ut. Fusce nec mauris in odio accumsan varius id non ante. Suspendisse sodales felis eu nisi malesuada congue sed a dolor. Aenean sed velit ligula. Nulla vitae lorem consectetur, faucibus erat vitae, sollicitudin quam. Sed facilisis sit amet ante vel auctor. Phasellus commodo, mi at egestas gravida, lacus metus tempus dui, a dictum leo quam quis massa. Sed molestie purus nisl, vitae finibus eros varius id. Nam posuere tempus risus vitae consequat. Donec posuere bibendum nibh, non semper purus eleifend ut. Etiam mauris orci, dignissim ut blandit id, sollicitudin eget sem. Donec pretium tincidunt est eu imperdiet. Nulla sodales diam sed elementum ultricies.
|
||||
</p>
|
||||
<p class="sampleParagraph">
|
||||
Etiam ornare interdum odio. Praesent eget lorem interdum, vehicula sem vitae, fringilla risus. Etiam eleifend massa magna, non interdum ipsum lacinia et. Aenean vel posuere justo. Praesent eu felis volutpat, placerat quam et, feugiat orci. Donec sollicitudin sapien quis mauris pellentesque placerat. Nam tempor erat sed euismod ultricies. Fusce aliquam eleifend neque accumsan fermentum. Nam sed mauris id arcu vehicula accumsan.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="columnContainer">
|
||||
<div id="leftColumn">
|
||||
<figure>
|
||||
<figcaption id="feriImageCaption">Vaša fakulteta</figcaption>
|
||||
<img src="./images/feri.jpg" id="feriImage" alt="FERI">
|
||||
</figure>
|
||||
<div>
|
||||
Promocijski video si lahko ogledate na <a href="https://www.youtube.com/watch?v=wVacjt_8Ha4&t=1s&ab_channel=FERIUM" target="_blank">povezavi</a>.
|
||||
</div>
|
||||
</div>
|
||||
<div id="rightColumn">
|
||||
<figure id="ectsFigure">
|
||||
<table id="ectsTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Predmet</th>
|
||||
<th>ECTS točke</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="USS">
|
||||
<td>Uvod v svetovni splet</td>
|
||||
<td>6</td>
|
||||
</tr>
|
||||
<tr id="Programiranje1">
|
||||
<td>Programiranje 1</td>
|
||||
<td>7</td>
|
||||
</tr>
|
||||
<tr id="Matematika1">
|
||||
<td>Matematika 1</td>
|
||||
<td>6</td>
|
||||
</tr>
|
||||
<tr id="SPO">
|
||||
<td>Sodobna programska orodja</td>
|
||||
<td>5</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
<div id="flexContainer">
|
||||
<div id="flexLeftColumn"> <!-- pozor: izjemoma slike niso znotraj značke <figure> -->
|
||||
<img src="./images/dallas_mavericks.jpg" alt="DallasMavericks" class="leftColumnFlexImage">
|
||||
<img src="./images/ferrari.jpg" alt="Ferrari" class="leftColumnFlexImage">
|
||||
</div>
|
||||
<div id="flexRightColumn">
|
||||
<img src="./images/K2.jpg" alt="K2" class="rightColumnFlexImage">
|
||||
<img src="./images/snowboarding.jpg" alt="Snowboarding" class="rightColumnFlexImage">
|
||||
<img src="./images/rally.jpg" alt="Rally" class="rightColumnFlexImage">
|
||||
<img src="./images/ultrawide_sunset.jpg" alt="Sunset" class="rightColumnFlexImage">
|
||||
<img src="./images/pag.jpg" alt="IslandPag" class="rightColumnFlexImage">
|
||||
<img src="./images/surfing.jpg" alt="Surfing" class="rightColumnFlexImage">
|
||||
<img src="./images/kitesurfing.jpg" alt="Kitesurfing" class="rightColumnFlexImage">
|
||||
</div>
|
||||
</div>
|
||||
<footer id="footer">
|
||||
<p>Več informacij je na voljo na <a href="https://feri.um.si/" target="_blank">povezavi</a>.</p>
|
||||
<p>Avtor: Ime Priimek</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,167 @@
|
||||
html{
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
body{
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
*{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#columnContainer{
|
||||
height: 50%;
|
||||
width: 90%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#textContainer{
|
||||
height: 30%;
|
||||
margin-bottom: 20px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#leftColumn{
|
||||
float: left;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
#rightColumn{
|
||||
float: left;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
footer{
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1,h2{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.sampleParagraph{
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#textContainer p:first-of-type{
|
||||
color: darkblue;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#textContainer p:first-of-type::first-letter{
|
||||
color: orange;
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
a[href*="youtube"]{
|
||||
color: red;
|
||||
}
|
||||
|
||||
#feriImage {
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
#feriImage:hover{
|
||||
border-radius: 40%;
|
||||
opacity: 0.7; /*0-1*/
|
||||
transition: 250ms;
|
||||
}
|
||||
|
||||
#feriImageCaption{
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
#ectsFigure{
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#ectsTable {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#ectsTable td:nth-child(1){
|
||||
border: 1px solid black;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#ectsTable td:nth-child(2){
|
||||
border: 1px solid red;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#ectsTable td:nth-child(even){
|
||||
background-color: #b3b3b3;
|
||||
}
|
||||
|
||||
#ectsTable td:nth-child(odd){
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#ects tr:hover{
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/*flex box*/
|
||||
|
||||
#flexContainer{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
column-gap: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#flexLeftColumn{
|
||||
display: flex;
|
||||
flex: 1 0 300px; /*dovoli širjenje, dovoli krčenje, začetna širina*/
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#flexRightColumn{
|
||||
display: flex;
|
||||
flex: 70%;
|
||||
flex-flow: row wrap;
|
||||
gap: 20px;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.leftColumnFlexImage{
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.rightColumnFlexImage{
|
||||
max-width: 100%;
|
||||
max-height: 250px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width:800px){
|
||||
#leftColum{
|
||||
width: 100%;
|
||||
}
|
||||
#rightColum{
|
||||
width: 100%;
|
||||
}
|
||||
footer{
|
||||
float: left;
|
||||
}
|
||||
#flexContainer{
|
||||
flex-direction: column;
|
||||
float: left;
|
||||
row-gap:20px;
|
||||
}
|
||||
}
|
34
semester_1/uvod_v_svetovni_splet/Vaja_4/Demo/index.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Demo vaja 4 - Javascript</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<script src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Demo vaja 4 - Javascript</h1>
|
||||
</header>
|
||||
<div>
|
||||
<button type="button" onclick="openPrompt()">Odpri prompt okno</button>
|
||||
</div>
|
||||
<div id="tableContainer">
|
||||
<!-- Tukaj bomo vstavili tabelo -->
|
||||
<figure id="tableFigure">
|
||||
|
||||
</figure>
|
||||
</div>
|
||||
<div id="formContainer">
|
||||
<!-- Nad formo bomo izvedli preverjanje ustreznosti vsebine -->
|
||||
<form method="GET" action="index.html">
|
||||
<label>Uporabniško ime</label><br>
|
||||
<input id="usernameInput" type="text" oninput="onUsernameChange()"><span id="usernameWarning" class="incorrectInput">Neprimerno uporabniško ime</span><br>
|
||||
<label>Geslo</label><br>
|
||||
<input id="passwordInput" type="password" oninput="onPasswordChange()"><span id="passwordWarning" class="incorrectInput">Neprimerno geslo</span><br><br>
|
||||
<input id="submitButton" type="submit">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
120
semester_1/uvod_v_svetovni_splet/Vaja_4/Demo/script.js
Normal file
@@ -0,0 +1,120 @@
|
||||
var usernameInput = null;
|
||||
var usernameWarningSpan = null;
|
||||
var passwordInput = null;
|
||||
var passwprdWarnignSpan = null;
|
||||
var submitButton = null;
|
||||
|
||||
window.onload = (event) =>
|
||||
{
|
||||
usernameInput = document.getElementById("usernameInput");
|
||||
usernameWarningSpan = document.getElementById("usernameWarning")
|
||||
passwordInput = document.getElementById("passwordInput")
|
||||
passwordWarnignSpan = document.getElementById("passwordWarning")
|
||||
submitButton = document.getElementById("submitButton");
|
||||
|
||||
console.log(usernameInput);
|
||||
|
||||
checkSubmit()
|
||||
};
|
||||
|
||||
function onUsernameChange()
|
||||
{
|
||||
console.log(usernameInput.value);
|
||||
|
||||
if(/^[a-zA-Z0-9_.,]+$/.test(usernameInput.value)) //ustrezno uporabnisko ime
|
||||
{
|
||||
usernameWarningSpan.setAttribute("class", "correctInput");
|
||||
usernameWarningSpan.innerHTML = "Primerno uporavniško ime";
|
||||
}
|
||||
|
||||
else //neustrezno uporabnisko ime
|
||||
{
|
||||
usernameWarningSpan.setAttribute("class", "incorrectInput");
|
||||
usernameWarningSpan.innerHTML = "Neprimerno uporavniško ime";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function onPasswordChange()
|
||||
{
|
||||
if(/^[a-zA-Z0-9_.,]*[A-Z]+[a-zA-Z0-9_.,]*$/.test(passwordInput.value) && passwordInput.value.length >= 6)
|
||||
{
|
||||
passwordWarnignSpan.setAttribute("class", "correctInput");
|
||||
passwprdWarnignSpan.innerHTML = "Primerno geslo";
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
passwordWarnignSpan.setAttribute("class", "incorrectInput");
|
||||
passwprdWarnignSpan.innerHTML = "Neprimerno geslo";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function checkSubmit()
|
||||
{
|
||||
const usernameWarningClass = usernameWarningSpan.getAttribute("class");
|
||||
const passwordWarningClass = passwordWarnignSpan.getAttribute("class");
|
||||
|
||||
//ali "incorectInput" ali "CorrectInput"
|
||||
if(usernameWarningClass == 'IncorrectInput' || passwordWarningClass == 'IncorrectInput')
|
||||
{
|
||||
submitButton.disabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
submitButton.disabled = false;
|
||||
}
|
||||
|
||||
function openPrompt()
|
||||
{
|
||||
let numberString = window.prompt("Vnesi dve števili, ločeni z vejico");
|
||||
|
||||
if(numberString !== null)
|
||||
{
|
||||
let splitNumbersString = numberString.replace(/\s/g,'').split(',');
|
||||
|
||||
const N_rows = parseInt(splitNumbersString[0]); //niz 5 --> st. 5
|
||||
const N_cols = parseInt(splitNumbersString[1]);
|
||||
|
||||
let htmlTableFigure = document.getElementById("tableFigure");
|
||||
htmlTableFigure.innerHTML = "";
|
||||
|
||||
if(isNaN(N_rows) || isNaN(N_cols))
|
||||
{
|
||||
alert("Neprimeren vnos!");
|
||||
return;
|
||||
}
|
||||
|
||||
let htmlTable = document.createElement("table");
|
||||
htmlTable.setAttribute("class", "colorTable");
|
||||
|
||||
let htmlTableContent = "";
|
||||
for(let i = 0; i < N_rows; i++)
|
||||
{
|
||||
htmlTableContent += "<tr>"
|
||||
for(let j = 0; j < N_cols; j++)
|
||||
{
|
||||
htmlTableContent += "<td id = 'cell" + String(i) + "|" + String(j) + "'class='cells' onclick='selectTableCell(this.id)'>" + String(i) + "," + String(j) + "</td>";
|
||||
}
|
||||
htmlTableContent += "</tr>"
|
||||
}
|
||||
htmlTable.innerHTML = htmlTableContent;
|
||||
|
||||
htmlTableFigure.appendChild(htmlTable)
|
||||
}
|
||||
}
|
||||
|
||||
function selectTableCell(tableCellId)
|
||||
{
|
||||
const tableCells = document.getElementsByClassName("cells");
|
||||
for(let i=0; i < tableCells.length; i++)
|
||||
{
|
||||
tableCells[i].setAttribute("class", "cells")
|
||||
}
|
||||
|
||||
const selectedCell = document.getElementById(tableCellId);
|
||||
selectedCell.setAttribute("class", "cells selectedCell");
|
||||
}
|
120
semester_1/uvod_v_svetovni_splet/Vaja_4/Demo/script.js.bak
Normal file
@@ -0,0 +1,120 @@
|
||||
var usernameInput = null;
|
||||
var usernameWarningSpan = null;
|
||||
var passwordInput = null;
|
||||
var passwprdWarnignSpan = null;
|
||||
var submitButton = null;
|
||||
|
||||
window.onload = (event) =>
|
||||
{
|
||||
usernameInput = document.getElementById("usernameInput");
|
||||
usernameWarningSpan = document.getElementById("usernameWarning")
|
||||
passwordInput = document.getElementById("passwordInput")
|
||||
passwordWarnignSpan = document.getElementById("passwordWarning")
|
||||
submitButton = document.getElementById("submitButton");
|
||||
|
||||
console.log(usernameInput);
|
||||
|
||||
checkSubmit()
|
||||
};
|
||||
|
||||
function onUsernameChange()
|
||||
{
|
||||
console.log(usernameInput.value);
|
||||
|
||||
if(/^[a-zA-Z0-9_.,]+$/.test(usernameInput.value)) //ustrezno uporabnisko ime
|
||||
{
|
||||
usernameWarningSpan.setAttribute("class", "correctInput");
|
||||
usernameWarningSpan.innerHTML = "Primerno uporavniško ime";
|
||||
}
|
||||
|
||||
else //neustrezno uporabnisko ime
|
||||
{
|
||||
usernameWarningSpan.setAttribute("class", "incorrectInput");
|
||||
usernameWarningSpan.innerHTML = "Neprimerno uporavniško ime";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function onPasswordChange()
|
||||
{
|
||||
if(/^[a-zA-Z0-9_.,]*[A-Z]+[a-zA-Z0-9_.,]*$/.test(passwordInput.value) && passwordInput.value.length >= 6)
|
||||
{
|
||||
passwordWarnignSpan.setAttribute("class", "correctInput")
|
||||
passwprdWarnignSpan.innerHTML = "Primerno geslo"
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
passwordWarnignSpan.setAttribute("class", "incorrectInput")
|
||||
passwprdWarnignSpan.innerHTML = "Neprimerno geslo"
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function checkSubmit()
|
||||
{
|
||||
const usernameWarningClass = usernameWarningSpan.getAttribute("class");
|
||||
const passwordWarningClass = passwordWarnignSpan.getAttribute("class");
|
||||
|
||||
//ali "incorectInput" ali "CorrectInput"
|
||||
if(usernameWarningClass == 'IncorrectInput' || passwordWarningClass == 'IncorrectInput')
|
||||
{
|
||||
submitButton.disabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
submitButton.disabled = false;
|
||||
}
|
||||
|
||||
function openPrompt()
|
||||
{
|
||||
let numberString = window.prompt("Vnesi dve števili, ločeni z vejico");
|
||||
|
||||
if(numberString !== null)
|
||||
{
|
||||
let splitNumbersString = numberString.replace(/\s/g,'').split(',');
|
||||
|
||||
const N_rows = parseInt(splitNumbersString[0]); //niz 5 --> st. 5
|
||||
const N_cols = parseInt(splitNumbersString[1]);
|
||||
|
||||
let htmlTableFigure = document.getElementById("tableFigure");
|
||||
htmlTableFigure.innerHTML = "";
|
||||
|
||||
if(isNaN(N_rows) || isNaN(N_cols))
|
||||
{
|
||||
alert("Neprimeren vnos!");
|
||||
return;
|
||||
}
|
||||
|
||||
let htmlTable = document.createElement("table");
|
||||
htmlTable.setAttribute("class", "colorTable");
|
||||
|
||||
let htmlTableContent = "";
|
||||
for(let i = 0; i < N_rows; i++)
|
||||
{
|
||||
htmlTableContent += "<tr>"
|
||||
for(let j = 0; j < N_cols; j++)
|
||||
{
|
||||
htmlTableContent += "<td id = 'cell" + String(i) + "|" + String(j) + "'class='cells' onclick='selectTableCell(this.id)'>" + String(i) + "," + String(j) + "</td>";
|
||||
}
|
||||
htmlTableContent += "</tr>"
|
||||
}
|
||||
htmlTable.innerHTML = htmlTableContent;
|
||||
|
||||
htmlTableFigure.appendChild(htmlTable)
|
||||
}
|
||||
}
|
||||
|
||||
function selectTableCell(tableCellId)
|
||||
{
|
||||
const tableCells = document.getElementsByClassName("cells");
|
||||
for(let i=0; i < tableCells.length; i++)
|
||||
{
|
||||
tableCells[i].setAttribute("class", "cells")
|
||||
}
|
||||
|
||||
const selectedCell = document.getElementById(tableCellId);
|
||||
selectedCell.setAttribute("class", "cells selectedCell");
|
||||
}
|
33
semester_1/uvod_v_svetovni_splet/Vaja_4/Demo/styles.css
Normal file
@@ -0,0 +1,33 @@
|
||||
html {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
.selectedCell {
|
||||
background-color: red;
|
||||
border: 1px solid black;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.colorTable * {
|
||||
border: 1px solid black;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#usernameWarning, #passwordWarning {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.correctInput {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.incorrectInput {
|
||||
color: darkred;
|
||||
}
|
BIN
semester_1/uvod_v_svetovni_splet/Vaja_4/Naloga.zip
Normal file
1
semester_1/uvod_v_svetovni_splet/Vaja_4/Naloga/demo.html
Normal file
@@ -0,0 +1 @@
|
||||
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"› 5 <title>Vaja4</title> 6 7 </head> 8 <body onload="checkRadio()"> 9 <table> 10 <form id="login-form" name="formH> 11 <tr> 12 <td><label for="usernameH>Uporabnigko ime:</label></td> 13 <td><input type="text" id="username" oninput="checkUsername()" name="username"><span style=color:red; id="userError"></span></td><br> 14 </tr> 15 16 <tr> 17 <td> <label for="mail">E-pogta:</label> </td> 18 <td> <input type="text" id="mail" oninput="checkMail()" name="mail"><span style=color:red; id="mailError"></span></td> 19 </tr> 20 <tr> 21 <td><label for="pass">Geslo:</label></td> 22 <td><input type="password" id="pass" oninput="checkPassword()" name="pass"><span style=color:red; id="passError"></span></td> 23 </t r> 24 25 <tr> 26 <td><label for="repeatPassH>Ponovi geslo:</label></td> 27 <td><input type="password" id=HrepeatPass" oninput=HcheckRepeatPassword()H name="repeatPass"><span style=color:red; id="repeatPassError"></span></td> 28 </t r> 29 30 <tr> 31 <td><input type="radio" id="gender male" oninput="checkRadio()" name="gender" value="male"› Mogki</td> 32 <td><input type="radio" id="gender female" oninput="checkRadio()" name="gender" value="femaleH> 2enski <span style=color:red; id="genderError"></span></td> 33 </t r> 34 <tr> 35 <td> <input type="submit" onclick="checkOnSubmit()" id="submit" value="Poglji"></td> 36 </t r> 37 38 39 </form> 40 </table> 41 42 <script> 43 44 const usernameError = document.getElementById('userError'); 45 const mailError = document.getElementById('mailError'); 46 const passError = document.getElementById('passError'); 47 const repeatPassError = document.getElementById('repeatPassError'); 48 const genderError = document.getElementById('genderError'); 49 50 const username = document.form.username; 51 const mail = document.form.mail; 52 const pass = document.form.pass; 53 const repeatPass = document.form.repeatPass; 54 const gender male = document.form.gender male; 55 const gender female = document.form.gender female; 56 const send = document.form.submit; 57 let error = 0; 58 59 60 61 checkUsername = () => { 62 63 usernameDatabase = ["usernamer, "uporabnik2", "admin", Huporabnik3", "username2"]; 64 65 for(i=0; i<usernameDatabase.length;i++){ 66 if (username.value == usernameDatabase[i]){ 67 usernameError.innerHTML ="Podvojeno ime"; 68 } 69 else{ 70 niPodvojeno = true; 71 } 72 } 73 74 75 if(username.value.length < 3){ 76 usernameError.innerHTML ="Minimalno stevilo znakov je 3!"; 77 uplme=false; 78 } 79 else if(username.value.length >= 3){ 80 usernameError.innerHTML ="Mo6lo uporabnigko ime."; 81 uplme = true; 82 83 } 84 else if(username.value.length > 19){ 85 usernameError.innerHTML ="Predolgo"; 86 uplme= false; 87 } 88 89 } 90 91 //https://www.w3resource.com/javascript/form/email-validation.php 92 93 checkMail = () => { 94 95 if (r\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(mail.value)) { 96 97 mailError.innerHTML ="Pravilno vpisan mail"; 98 mailFormat = true; 99 } 100 else{ 101 mailError.innerHTML ="Nepravilno vpisan mail"; 102 mailFormat = false; 103 } 104 105 } 106 107 108 checkPassword = () => { 109 if(pass.value.length < 6){ 110 passError.innerHTML ="Minimalno stevilo znakov je 6!H; 111 goodPass = false; 112 } 113 else if (pass.value.search(/[a-z]/) < 0){ 114 passError.innerHTML ="Neustrezno geslo!"; 115 goodPass = false; 116 } 117 else if (pass.value.search(/[A-Z]/) < 0){ 118 passError.innerHTML ="Neustrezno geslo!"; 119 goodPass = false; 120 } 121 else if (pass.value.search(/[0-9]/) < 0){ 122 passError.innerHTML ="Neustrezno geslo!"; 123 goodPass = false; 124 } 125 126 else{ 127 passError.innerHTML ="Ustrezno geslo!"; 128 goodPass = true; 129 } 130 131 } 132 133 134 checkRepeatPassword = () => { 135 136 if(repeatPass.value == pass.value){ 137 repeatPassError.innerHTML=HGesli se ujemata"; 138 repeatedPass = true; 139 } 140 else{ 141 repeatPassError.innerHTML="Gesli se ne ujemata"; 142 repeatedPass = false; 143 144 } 145 } 146 147 148 checkRadio = () => { 149 if (gender male.checked == true gender female.checked == true){ 150 genderError.innerHTML="Pravilne; 151 checkedRadio = true; 152 } 153 154 else { 155 genderError.innerHTML="Nujno izberi!"; 156 checkedRadio = false; 157 } 158 159 } 160 161 checkOnSubmit = () => { 162 if (niPodvojeno == true && uplme == true && mailFormat == true && goodPass == true && repeatedPass == true && checkedRadio == true) { 163 164 window.alert('Podatki so pravilni'); 165 } 166 167 168 else { 169 170 window.alert('Ponovno vpisite podatke.'); 171 window.location.reload(); 172 173 } 174 } 175 176 </script> 177 178 </body> 179 </html>
|
20
semester_1/uvod_v_svetovni_splet/Vaja_4/Naloga/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="obrazec\obrazec.html">obrazec</a></li>
|
||||
<li><a href="seznam\seznam.html">seznam</a></li>
|
||||
<li><a href="izracun.html">izracun</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
87
semester_1/uvod_v_svetovni_splet/Vaja_4/Naloga/izracun.html
Normal file
@@ -0,0 +1,87 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Write example</title>
|
||||
<script>
|
||||
let A = parseInt(window.prompt("Vpisi stevilko A"));
|
||||
let B = parseInt(window.prompt("vpisi stevilko B"));
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<th >A:</th>
|
||||
<th id="A"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >B:</th>
|
||||
<th id="B"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Vsota:</th>
|
||||
<th id="C"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Razlika:</th>
|
||||
<th id="D"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Mnozenje:</th>
|
||||
<th id="E"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Deljenje:</th>
|
||||
<th id="F"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Ostanek:</th>
|
||||
<th id="G"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th id="H"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<script>
|
||||
|
||||
function color(x){
|
||||
if (x>=0){
|
||||
return "<span style='color:green; font-weight:bold;'>" + x + "</span>";
|
||||
}
|
||||
else{
|
||||
return "<span style='color:red; font-weight:bold;'>" + x + "</span>";
|
||||
}
|
||||
}
|
||||
|
||||
if(isNaN(A) || isNaN(B)){
|
||||
document.getElementById("Table").innerHTML = "<tr> <th> error </th></tr>";
|
||||
}
|
||||
else{
|
||||
document.getElementById("A").innerHTML = color(A);
|
||||
document.getElementById("B").innerHTML = color(B);
|
||||
document.getElementById("C").innerHTML = color(A+B);
|
||||
document.getElementById("D").innerHTML = color(A-B);
|
||||
document.getElementById("E").innerHTML = color(A*B);
|
||||
|
||||
if( B == 0){
|
||||
document.getElementById("F").innerHTML = "Ni mogoce";
|
||||
document.getElementById("G").innerHTML = "Ni mogoce";
|
||||
}
|
||||
else{
|
||||
document.getElementById("F").innerHTML = color(A/B);
|
||||
document.getElementById("G").innerHTML = color(A%B);
|
||||
}
|
||||
|
||||
if(A>B){
|
||||
document.getElementById("H").innerHTML = "A je vecje B";
|
||||
}
|
||||
else if(A == B){
|
||||
document.getElementById("H").innerHTML = "A je enako B";
|
||||
}
|
||||
else{
|
||||
document.getElementById("H").innerHTML = "A je manjse B";
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,87 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Write example</title>
|
||||
<script>
|
||||
let A = parseInt(window.prompt("Vpisi stevilko A"));
|
||||
let B = parseInt(window.prompt("vpisi stevilko B"));
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<th >A:</th>
|
||||
<th id="A"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >B:</th>
|
||||
<th id="B"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Vsota:</th>
|
||||
<th id="C"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Razlika:</th>
|
||||
<th id="D"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Mnozenje:</th>
|
||||
<th id="E"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Deljenje:</th>
|
||||
<th id="F"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >Ostanek:</th>
|
||||
<th id="G"></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th id="H"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<script>
|
||||
|
||||
function color(x){
|
||||
if (x>=0){
|
||||
return "<span style='color:green; font-weight:bold;'>" + x + "</span>";
|
||||
}
|
||||
else{
|
||||
return "<span style='color:red; font-weight:bold;'>" + x + "</span>";
|
||||
}
|
||||
}
|
||||
|
||||
if(isNaN(A) || isNaN(B)){
|
||||
document.getElementById("Table").innerHTML = "<tr> <th> error </th></tr>";
|
||||
}
|
||||
else{
|
||||
document.getElementById("A").innerHTML = color(A);
|
||||
document.getElementById("B").innerHTML = color(B);
|
||||
document.getElementById("C").innerHTML = color(A+B);
|
||||
document.getElementById("D").innerHTML = color(A-B);
|
||||
document.getElementById("E").innerHTML = color(A*B);
|
||||
|
||||
if( B == 0){
|
||||
document.getElementById("F").innerHTML = "Ni mogoce";
|
||||
document.getElementById("G").innerHTML = "Ni mogoce";
|
||||
}
|
||||
else{
|
||||
document.getElementById("F").innerHTML = color(A/B);
|
||||
document.getElementById("G").innerHTML = color(A%B);
|
||||
}
|
||||
|
||||
if(A>B){
|
||||
document.getElementById("H").innerHTML = "A je vecje B";
|
||||
}
|
||||
else if(A == B){
|
||||
document.getElementById("H").innerHTML = "A je enako B";
|
||||
}
|
||||
else{
|
||||
document.getElementById("H").innerHTML = "A je manjse B";
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,11 @@
|
||||
span {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.correctInput {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.incorrectInput {
|
||||
color: darkred;
|
||||
}
|
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="obrazec.css">
|
||||
<script src="obrazec.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<form method="GET" action="index.html">
|
||||
<label>Uporabniško ime</label><br>
|
||||
<input id="uporabniskoIme" type="text" oninput="onUsernameChange()">
|
||||
<span id="uporabniškoImeUpozorilo" class="incorrectInput">Neprimerno uporabniško ime</span><br>
|
||||
|
||||
<label>Email</label><br>
|
||||
<input id="Email" type="text" oninput="onEmailChange()">
|
||||
<span id="EmailUpozorilo" class="incorrectInput">Neprimerni Email</span><br>
|
||||
|
||||
<label>Geslo</label><br>
|
||||
<input id="Geslo" type="password" oninput="onPasswordChange()">
|
||||
<span id="GesloUpozorilo" class="incorrectInput">Neprimerno geslo</span><br>
|
||||
|
||||
<label>Ponovi geslo</label><br>
|
||||
<input id="Geslo1" type="password" oninput="onPassword1Change()">
|
||||
<span id="Geslo1Upozorilo" class="incorrectInput">Geslo ni isto</span><br>
|
||||
|
||||
<label>Spol</label><br>
|
||||
<span><input type="radio" name="spol" id="SpolMoski" oninput="onSpolChange()">Moški</span>
|
||||
<span><input type="radio" name="spol" id="SpolZenski" oninput="onSpolChange()">Ženski</span>
|
||||
<span id="SpolUpozorilo" class="incorrectInput">Izberi spol</span><br>
|
||||
|
||||
<br><input id="submitButton" type="submit">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,127 @@
|
||||
var uporabniskoIme = null;
|
||||
var uporabniškoImeUpozorilo = null;
|
||||
|
||||
var Email = null;
|
||||
var EmailUpozorilo = null;
|
||||
|
||||
var Geslo = null;
|
||||
var GesloUpozorilo = null;
|
||||
|
||||
var Geslo1 = null;
|
||||
var Geslo1Upozorilo = null;
|
||||
|
||||
var SpolMoski = null;
|
||||
var SpolZenski = null;
|
||||
var SpolUpozorilo = null;
|
||||
|
||||
var submitButton = null;
|
||||
let imena = ['Nikola','Peter','Aljaz','Nik','David'];
|
||||
|
||||
window.onload = (event) =>{
|
||||
uporabniskoIme = document.getElementById("uporabniskoIme");
|
||||
uporabniškoImeUpozorilo = document.getElementById("uporabniškoImeUpozorilo");
|
||||
|
||||
Email = document.getElementById("Email");
|
||||
EmailUpozorilo = document.getElementById("EmailUpozorilo");
|
||||
|
||||
Geslo = document.getElementById("Geslo");
|
||||
GesloUpozorilo = document.getElementById("GesloUpozorilo");
|
||||
|
||||
Geslo1 = document.getElementById("Geslo1");
|
||||
Geslo1Upozorilo = document.getElementById("Geslo1Upozorilo");
|
||||
|
||||
SpolMoski = document.getElementById("SpolMoski");
|
||||
SpolZenski= document.getElementById("SpolZenski");
|
||||
SpolUpozorilo= document.getElementById("SpolUpozorilo");
|
||||
|
||||
submitButton = document.getElementById("submitButton");
|
||||
|
||||
checkSubmit()
|
||||
};
|
||||
|
||||
function onUsernameChange(){
|
||||
|
||||
if(/^[a-zA-Z0-9_.,]{3,20}$/.test(uporabniskoIme.value) && !imena.includes(uporabniskoIme.value)){
|
||||
uporabniškoImeUpozorilo.setAttribute("class", "correctInput");
|
||||
uporabniškoImeUpozorilo.innerHTML = "Primerno uporavniško ime";
|
||||
}
|
||||
|
||||
else{
|
||||
uporabniškoImeUpozorilo.setAttribute("class", "incorrectInput");
|
||||
uporabniškoImeUpozorilo.innerHTML = "Neprimerno uporavniško ime";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function onEmailChange(){
|
||||
|
||||
if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(Email.value)){
|
||||
EmailUpozorilo.setAttribute("class", "correctInput");
|
||||
EmailUpozorilo.innerHTML = "Primerni Email";
|
||||
}
|
||||
|
||||
else{
|
||||
EmailUpozorilo.setAttribute("class", "incorrectInput");
|
||||
EmailUpozorilo.innerHTML = "Neprimerni Email";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function onPasswordChange(){
|
||||
if(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{6,}$/.test(Geslo.value))
|
||||
{
|
||||
GesloUpozorilo.setAttribute("class", "correctInput");
|
||||
GesloUpozorilo.innerHTML = "Primerno geslo";
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
GesloUpozorilo.setAttribute("class", "incorrectInput");
|
||||
GesloUpozorilo.innerHTML = "Neprimerno geslo";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function onPassword1Change(){
|
||||
if(Geslo1.value == Geslo.value){
|
||||
Geslo1Upozorilo.setAttribute("class", "correctInput");
|
||||
Geslo1Upozorilo.innerHTML = "Geslo je isto";
|
||||
}
|
||||
else{
|
||||
Geslo1Upozorilo.setAttribute("class", "incorrectInput");
|
||||
Geslo1Upozorilo.innerHTML = "Geslo ni isto";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function onSpolChange(){
|
||||
if(SpolMoski.checked == true || SpolZenski.checked == true){
|
||||
SpolUpozorilo.setAttribute("class", "correctInput");
|
||||
SpolUpozorilo.innerHTML = "Vredu";
|
||||
}
|
||||
else{
|
||||
SpolUpozorilo.setAttribute("class", "incorrectInput");
|
||||
SpolUpozorilo.innerHTML = "Izberi spol";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function checkSubmit(){
|
||||
const ImeUpozoriloClass = uporabniškoImeUpozorilo.getAttribute("class");
|
||||
const EmailUpozoriloClass = EmailUpozorilo.getAttribute("class");
|
||||
const GesloUpozoriloClass = GesloUpozorilo.getAttribute("class");
|
||||
const Geslo1UpozoriloClass = Geslo1Upozorilo.getAttribute("class");
|
||||
const SpolUpozoriloClass = SpolUpozorilo.getAttribute("class");
|
||||
|
||||
if(ImeUpozoriloClass == 'IncorrectInput' || EmailUpozoriloClass == 'IncorrectInput' || GesloUpozoriloClass == 'IncorrectInput' || Geslo1UpozoriloClass == 'IncorrectInput' || SpolUpozoriloClass == 'IncorrectInput'){
|
||||
submitButton.disabled = true;
|
||||
}
|
||||
else{
|
||||
submitButton.disabled = false;
|
||||
}
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="seznam.js"></script>
|
||||
<style>
|
||||
.selectedDiv{
|
||||
border: 1px solid red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body onload="openPrompt()">
|
||||
<div id="A" style="text-align: center; ">Klikni me</div>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,33 @@
|
||||
let R = parseInt(window.prompt("Vpisi stevilko R"));
|
||||
let G = parseInt(window.prompt("Vpisi stevilko G"));
|
||||
let B = parseInt(window.prompt("Vpisi stevilko B"));
|
||||
let velikost = parseInt(window.prompt("Vpisi stevilko Velikost"));
|
||||
|
||||
let r = R/velikost;
|
||||
let g = G/velikost;
|
||||
let b = B/velikost;
|
||||
|
||||
function openPrompt(){
|
||||
let barva = document.getElementById("A");
|
||||
let block = "";
|
||||
let i;
|
||||
for(i = 0; i <= velikost; i++){
|
||||
block += "<div class='Div' id='" + String(i) + "' style=' color: rgb(" + String(255-R) + "," + String(255-G) + "," + String(255-B) +"); background-color: rgb(" + String(R) + "," + String(G) + "," + String(B) + ");' onclick='selectDiv(this.id)'>rgb(" + String(R) + "," + String(G) + "," + String(B) + ")</div>";
|
||||
R = R-r;
|
||||
G = G-g;
|
||||
B = B-b;
|
||||
}
|
||||
barva.innerHTML = block;
|
||||
}
|
||||
|
||||
function selectDiv(DivId)
|
||||
{
|
||||
const Div = document.getElementsByClassName("Div");
|
||||
for(let i=0; i < velikost; i++)
|
||||
{
|
||||
Div[i].setAttribute("class", "Div")
|
||||
}
|
||||
|
||||
const selectedDiv = document.getElementById(DivId);
|
||||
selectedDiv.setAttribute("class", "Div selectedDiv");
|
||||
}
|
68
semester_1/uvod_v_svetovni_splet/Vaja_4/Test/script.js
Normal file
@@ -0,0 +1,68 @@
|
||||
var uporabniskoIme = null;
|
||||
var usernameWarningSpan = null;
|
||||
var passwordInput = null;
|
||||
var passwprdWarnignSpan = null;
|
||||
var submitButton = null;
|
||||
|
||||
window.onload = (event) =>
|
||||
{
|
||||
uporabniskoIme = document.getElementById("uporabniskoIme");
|
||||
usernameWarningSpan = document.getElementById("usernameWarning")
|
||||
passwordInput = document.getElementById("passwordInput")
|
||||
passwprdWarnignSpan = document.getElementById("passwordWarning")
|
||||
submitButton = document.getElementById("submitButton");
|
||||
|
||||
checkSubmit()
|
||||
};
|
||||
|
||||
function onUsernameChange()
|
||||
{
|
||||
|
||||
if(/^[a-zA-Z0-9_.,]+$/.test(uporabniskoIme.value)) //ustrezno uporabnisko ime
|
||||
{
|
||||
usernameWarningSpan.setAttribute("class", "correctInput");
|
||||
usernameWarningSpan.innerHTML = "Primerno uporavniško ime";
|
||||
}
|
||||
|
||||
else //neustrezno uporabnisko ime
|
||||
{
|
||||
usernameWarningSpan.setAttribute("class", "incorrectInput");
|
||||
usernameWarningSpan.innerHTML = "Neprimerno uporavniško ime";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
/*^[a-zA-Z0-9_.,]*[A-Z]+[a-zA-Z0-9_.,]*$ */
|
||||
|
||||
function onPasswordChange()
|
||||
{
|
||||
if(/^[a-zA-Z0-9_.,]+$/.test(passwordInput.value) && passwordInput.value.length >= 6)
|
||||
{
|
||||
passwprdWarnignSpan.setAttribute("class", "correctInput");
|
||||
passwprdWarnignSpan.innerHTML = "Primerno geslo";
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
passwprdWarnignSpan.setAttribute("class", "incorrectInput");
|
||||
passwprdWarnignSpan.innerHTML = "Neprimerno geslo";
|
||||
}
|
||||
|
||||
checkSubmit()
|
||||
}
|
||||
|
||||
function checkSubmit()
|
||||
{
|
||||
const usernameWarningClass = usernameWarningSpan.getAttribute("class");
|
||||
const passwordWarningClass = passwordWarnignSpan.getAttribute("class");
|
||||
|
||||
//ali "incorectInput" ali "CorrectInput"
|
||||
if(usernameWarningClass == 'IncorrectInput' || passwordWarningClass == 'IncorrectInput')
|
||||
{
|
||||
submitButton.disabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
submitButton.disabled = false;
|
||||
}
|
33
semester_1/uvod_v_svetovni_splet/Vaja_4/Test/styles.css
Normal file
@@ -0,0 +1,33 @@
|
||||
html {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
.selectedCell {
|
||||
background-color: red;
|
||||
border: 1px solid black;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.colorTable * {
|
||||
border: 1px solid black;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#usernameWarning, #passwordWarning {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.correctInput {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.incorrectInput {
|
||||
color: darkred;
|
||||
}
|
7
semester_1/uvod_v_svetovni_splet/Vaja_5/Demo/Dem/bootstrap/css/bootstrap.min.css
vendored
Normal file
7
semester_1/uvod_v_svetovni_splet/Vaja_5/Demo/Dem/bootstrap/js/bootstrap.bundle.min.js
vendored
Normal file
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 208 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 42 KiB |
54
semester_1/uvod_v_svetovni_splet/Vaja_5/Demo/Dem/index.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Demo vaja 5 - jQuery in Bootstrap</title>
|
||||
|
||||
<!-- Bootstrap v5.1.3 CSS -->
|
||||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- jQuery v3.6.0 -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
|
||||
<!-- Naša koda -->
|
||||
<script src="script.js"></script>
|
||||
<!-- Naši stili -->
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-md navbar-light bg-light">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand">Demo vaja 5</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="colapse"
|
||||
data-bstarget="#navbarNavAltMarkup" aria-controls="navbarNavAčtMarkup"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse nvabar-collapse" id="navbarNavAltMarkup">
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<header>
|
||||
<h1>Demo vaja 5 - jQuery in Bootstrap</h1>
|
||||
</header>
|
||||
<div>
|
||||
<span>Dodaj sadje v seznam</span><br>
|
||||
<input type="text" id="addFruitInput"><button id="addFruitButton" disabled>Dodaj</button>
|
||||
<ol id="fruitList">
|
||||
<li>Banane</li>
|
||||
<li>Češnje</li>
|
||||
<li>Borovnice</li>
|
||||
</ol>
|
||||
<button id="deleteFruitButton" disabled>Izbriši sadje</button>
|
||||
<span id="lastAddedFruitTimeSpan">Zadnji vnos ob ?</span>
|
||||
</div>
|
||||
<div>
|
||||
<img id="fruitImage">
|
||||
</div>
|
||||
|
||||
<!-- Bootstrap v5.1.3 Javascript -->
|
||||
<script src="bootstrap/js/bootstrap.bundle.min.js"></script>-
|
||||
</body>
|
||||
</html>
|
69
semester_1/uvod_v_svetovni_splet/Vaja_5/Demo/Dem/script.js
Normal file
@@ -0,0 +1,69 @@
|
||||
var addfruitButton;
|
||||
var addFruitInput;
|
||||
var fruitList;
|
||||
var deleteFruitButton;
|
||||
var lastAddedFruitTimeSpan;
|
||||
var fruitImage;
|
||||
|
||||
const fruitImagesPaths = {
|
||||
"ananas" : "./images/ananas.jpg",
|
||||
"češnja" : "./images/češnja.jpg",
|
||||
"hruška" : "."
|
||||
}
|
||||
|
||||
const notFoundFruitImagePath = "./images/not_";
|
||||
|
||||
$(document).ready(() => {
|
||||
addfruitButton = $("#addfruitButton");
|
||||
addFruitInput = $("#addFruitInput");
|
||||
fruitList = $("#fruitList");
|
||||
deleteFruitButton =$("#deleteFruitButton";
|
||||
lastAddedFruitTimeSpan =$("#lastAddedFruitTimeSpan");
|
||||
fruitImage =$("#fruitImage");
|
||||
|
||||
addFruitInput.on("input", ()){
|
||||
const isTextPresentInInput = addFruitInput.val().length > 0;
|
||||
|
||||
if (isTextPresentInInput){
|
||||
addfruitButton.prop("disabled", false);
|
||||
}
|
||||
else{
|
||||
addfruitButton,prop("disabled", true);
|
||||
}
|
||||
}
|
||||
|
||||
addfruitButton.click(() => {
|
||||
const addedFruit = addFruitInput.val();
|
||||
|
||||
fruitList.append("<li>" + addedFruit + "</li>");
|
||||
addfruitButton.prop("disabled", true);
|
||||
addFruitInput.val("");
|
||||
fruitList.children().last().trigger("click");
|
||||
const currentDate = new Date();
|
||||
const options = {
|
||||
hour: 'numeric',
|
||||
minuste: 'numeric',
|
||||
second: 'numeric',
|
||||
};
|
||||
|
||||
const currentDateString = new Intl.DateTimeFormat("de-AT",options).format(currentDate);
|
||||
lastAddedFruitTimeSpan.text("Zadnji vnos od: " + currentDateString);
|
||||
|
||||
})
|
||||
|
||||
$(document).on("click","li", onClickFruit);
|
||||
|
||||
deleteFruitButton.clic(() => {
|
||||
$("li.selectedFruit").first().remove();
|
||||
})
|
||||
})
|
||||
|
||||
function onClickFruit(){
|
||||
const fruit = $(this).text().toLowerCase();
|
||||
$(this).siblings().removeClass("selectedFruit");
|
||||
$(this).addClass("selectedFruit");
|
||||
|
||||
if(fruit in fruitImagesPaths){
|
||||
const fruitImagesPaths
|
||||
}
|
||||
}
|
33
semester_1/uvod_v_svetovni_splet/Vaja_5/Demo/Dem/styles.css
Normal file
@@ -0,0 +1,33 @@
|
||||
html {
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
box-sizing: border-box;
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
background-color: skyblue;
|
||||
}
|
||||
|
||||
/*.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
background-color: #f5f5f5;
|
||||
}*/
|
||||
|
||||
#fruitImage
|
||||
{
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.selectedFruit
|
||||
{
|
||||
color: red;
|
||||
}
|
||||
|
BIN
semester_1/uvod_v_svetovni_splet/Vaja_5/Demo/USS_vaja_5_demo.zip
Normal file
7
semester_1/uvod_v_svetovni_splet/Vaja_5/Demo/USS_vaja_5_demo/bootstrap/css/bootstrap.min.css
vendored
Normal file
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 208 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 42 KiB |