Kaydet (Commit) 385434e6 authored tarafından bayram karahan's avatar bayram karahan

1.0

üst
QMAKE_CXX.INCDIRS = \
/usr/include/c++/8 \
/usr/include/x86_64-linux-gnu/c++/8 \
/usr/include/c++/8/backward \
/usr/lib/gcc/x86_64-linux-gnu/8/include \
/usr/local/include \
/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed \
/usr/include/x86_64-linux-gnu \
/usr/include
QMAKE_CXX.LIBDIRS = \
/usr/lib/gcc/x86_64-linux-gnu/8 \
/usr/lib/x86_64-linux-gnu \
/usr/lib \
/lib/x86_64-linux-gnu \
/lib
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 8
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
QMAKE_CXX.COMPILER_MACROS = \
QT_COMPILER_STDCXX \
QMAKE_GCC_MAJOR_VERSION \
QMAKE_GCC_MINOR_VERSION \
QMAKE_GCC_PATCH_VERSION
bffe33466feb4e2d16fca7e7a0a8ce8b95353c8c
\ No newline at end of file
Package: e-carp-dbgsym
Source: e-carp
Version: 1.0.0
Auto-Built-Package: debug-symbols
Architecture: amd64
Maintainer: Bayram KARAHAN <bayramk@gmail.com>
Installed-Size: 555
Depends: e-carp (= 1.0.0)
Section: debug
Priority: optional
Description: debug symbols for e-carp
Build-Ids: bffe33466feb4e2d16fca7e7a0a8ce8b95353c8c
16937cffcef86b9a76a9dfbf82d80ae1 usr/lib/debug/.build-id/bf/fe33466feb4e2d16fca7e7a0a8ce8b95353c8c.debug
e-carp (1.0.0) unstable; urgency=medium
* Initial Release
-- Bayram KARAHAN <bayramk@gmail.com> Sun, 27 Dec 2020 14:31:08 +0300
Source: e-carp
Section: utils
Priority: optional
Maintainer: Bayram KARAHAN <bayramk@gmail.com>
Build-Depends: debhelper (>= 9),
libc6,
libgcc1,
libgcc-8-dev,
libgl1-mesa-glx | libgl1,
libqt5core5a,
libqt5gui5,
libstdc++6,
qtdeclarative5-dev
Standards-Version: 3.9.8
Homepage: http://pardus.org.tr
Package: e-carp
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends},
libqt5core5a,
libqt5gui5,
libqt5svg5-dev,
libqt5widgets5,
libstdc++6,
libqt5multimedia5-plugins,
libqt5multimediawidgets5
Description: E-Carp Uygulaması
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: e-carp
Source: https://github.com/bayramkarahan/e-ag
Files: *
Copyright: 2022 Bayram KARAHAN <bayramk@gmail.com>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
dh_update_autotools_config
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
dh_auto_install
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_strip
dh_makeshlibs
override_dh_shlibdeps dh_shlibdeps
dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
shlibs:Depends=libc6 (>= 2.14), libgcc1 (>= 1:3.0), libgl1, libqt5core5a (>= 5.11.0~rc1), libqt5gui5 (>= 5.0.2), libqt5multimedia5 (>= 5.6.0~beta), libqt5network5 (>= 5.0.2), libqt5widgets5 (>= 5.0.2), libstdc++6 (>= 4.1.1)
misc:Depends=
misc:Pre-Depends=
e-carp-dbgsym_1.0.0_amd64.deb debug optional automatic=yes
e-carp_1.0.0_amd64.buildinfo utils optional
e-carp_1.0.0_amd64.deb utils optional
#!/usr/bin/make -f
export QT_SELECT := qt5
%:
dh $@
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
[Desktop Entry]
Version=1.0
Name=E-Carp Application
Name[tr]=E-Carp Uygulaması
Type=Application
Comment=Simple Qt based E-Carp Application
Comment[tr]=Basit Qt tabanlı E-Carp Uygulaması
Terminal=false
Exec=/usr/bin/e-carp
Icon=/usr/share/e-carp/e-carp.svg
Categories=Qt;Utility;Games;
Keywords=oyun;carp;mul;
GenericName=E-Carp
#-------------------------------------------------
#
# Project created by QtCreator 2022-04-10T17:06:24
#
#-------------------------------------------------
QT += core gui multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = e-carp
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
TARGET = e-carp
CONFIG += c++11
SOURCES += \
main.cpp \
mainwindow.cpp
HEADERS += \
mainwindow.cpp.autosave \
hakkinda.h \
mainwindow.h
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
resources.qrc
SUBDIRS += \
carpanya.pro
desktop_file.files = e-carp.desktop
desktop_file.path = /usr/share/applications/
icon.files = icons/e-carp.svg
icon.path = /usr/share/e-carp/
win.files = win.mp3
win.path = /usr/share/e-carp/
click.files = click.mp3
click.path = /usr/share/e-carp/
INSTALLS += target desktop_file icon win click
target.path = /usr/bin
DISTFILES += \
e-carp.desktop
This diff is collapsed.
/*****************************************************************************
* Copyright (C) 2020 by Bayram KARAHAN *
* <bayramk@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
*****************************************************************************/
#include<QCheckBox>
#include<QProcess>
#include<QPalette>
#include<QPushButton>
#ifndef HAKKINDA_H
#define HAKKINDA_H
QWidget *MainWindow::hakkinda()
{
QWidget *hakkindaPage=new QWidget();
/*******************************************************/
hakkindaPage->setFixedWidth(boy*80);
hakkindaPage->setFixedHeight(boy*80);
auto *hak=new QLabel(hakkindaPage);
hak->setText("\nBu Uygulama Öğrencilerin Çarpmayı Eğlenceli Öğrenmeleri için Yazılmıştır."
"\n"
"\n Copyright (C) 2022 by Bayram KARAHAN "
"\n\n kod.pardus.org.tr/karahan/e-carp "
"\n github.com/bayramkarahan/e-carp "
"\n"
"\n\n "
"\n This program is free software; you can redistribute it and/or modify "
"\n it under the terms of the GNU General Public License as published by "
"\n the Free Software Foundation; either version 3 of the License, or "
"\n (at your option) any later version. "
"\n "
"\n This program is distributed in the hope that it will be useful, "
"\n but WITHOUT ANY WARRANTY; without even the implied warranty of "
"\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
"\n GNU General Public License for more details. "
"\n "
"\n You should have received a copy of the GNU General Public License "
"\n along with this program; if not, write to the "
"\n Free Software Foundation, Inc., "
"\n 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . "
"\n\n\n"
"İstek ve önerileriniz için;"
"\nE-Posta: bayramk@gmail.com"
"\nbayramkarahan.blogspot.com"
"\n");
QFont ff( "Arial", 8, QFont::Normal);
hak->setFont(ff);
auto layout = new QGridLayout(hakkindaPage);
layout->setContentsMargins(0, 0, 0,0);
layout->addWidget( hak,20,0,1,1,Qt::AlignHCenter);
// layout->setColumnStretch(6, 255);
//hakkindaPage->resize(500,300);
// hakkindaPage->setStyleSheet("background-color: #acacac");
return hakkindaPage;
}
#endif // HAKKINDA_H
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1" xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 48 48">
<path fill="#2196F3" d="M37,40H11l-6,6V12c0-3.3,2.7-6,6-6h26c3.3,0,6,2.7,6,6v22C43,37.3,40.3,40,37,40z"/>
<g fill="#fff">
<rect x="22" y="20" width="4" height="11"/>
<circle cx="24" cy="15" r="2"/>
</g>
</svg>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 503.808 503.808" style="enable-background:new 0 0 503.808 503.808;" xml:space="preserve">
<g transform="translate(1 1)">
<path style="fill:#ECF4F7;" d="M327.704,251.075v51.2v128c0,18.773-15.36,34.133-34.133,34.133h-153.6V37.741h153.6
c18.773,0,34.133,15.36,34.133,34.133V251.075z"/>
<path style="fill:#80D6FA;" d="M139.971,37.741v426.667v8.533c0,18.773-13.653,29.867-29.867,23.893l-81.067-32.427
c-19.627-6.827-25.6-15.36-25.6-34.133v-358.4c0-18.773,6.827-27.307,25.6-34.133l81.067-32.427
c16.213-5.973,29.867,5.12,29.867,23.893V37.741z"/>
</g>
<path style="fill:#51565F;" d="M119.637,503.808c-3.413,0-6.827-0.853-10.24-1.707L28.33,469.675
c-20.48-7.68-28.16-17.92-28.16-38.4v-358.4c0-20.48,7.68-30.72,28.16-38.4l81.067-32.427c8.533-3.413,17.067-2.56,23.893,2.56
c7.68,5.12,11.947,14.507,11.947,25.6v443.733c0,11.093-4.267,20.48-11.947,25.6C129.877,502.101,124.757,503.808,119.637,503.808z
M119.637,8.875c-2.56,0-5.12,0.853-7.68,1.707L30.891,43.008c-17.92,6.827-23.04,13.653-23.04,29.867v358.4
c0,17.067,5.12,23.893,23.04,29.867l81.067,32.427c5.973,2.56,11.947,1.707,16.213-0.853c5.12-3.413,7.68-10.24,7.68-18.773V30.208
c0-8.533-2.56-15.36-7.68-18.773C126.464,9.728,123.051,8.875,119.637,8.875z M294.571,469.675H175.104
c-2.56,0-4.267-1.707-4.267-4.267c0-2.56,1.707-4.267,4.267-4.267h119.467c16.213,0,29.867-13.653,29.867-29.867v-128
c0-2.56,1.707-4.267,4.267-4.267s4.267,1.707,4.267,4.267v128C332.971,452.608,315.904,469.675,294.571,469.675z M414.037,341.675
c-0.853,0-2.56,0-3.413-0.853c-1.707-1.707-1.707-4.267,0-5.973l77.653-77.653H192.171c-2.56,0-4.267-1.707-4.267-4.267
c0-2.56,1.707-4.267,4.267-4.267h296.96l-77.653-77.653c-1.707-1.707-1.707-4.267,0-5.973c1.707-1.707,4.267-1.707,5.973,0
l85.333,85.333c0,0,0.853,0.853,0.853,1.707l0,0l0,0c0,0.853,0,0.853,0,1.707l0,0l0,0l0,0l0,0l0,0l0,0l0,0l0,0l0,0
c0,0.853,0,0.853,0,1.707l0,0l0,0c0,0.853-0.853,0.853-0.853,0.853l0,0l0,0l0,0l0,0l0,0l-85.333,85.333
C416.597,340.821,414.891,341.675,414.037,341.675z M106.837,281.941c-2.56,0-4.267-1.707-4.267-4.267v-51.2
c0-2.56,1.707-4.267,4.267-4.267s4.267,1.707,4.267,4.267v51.2C111.104,280.234,109.397,281.941,106.837,281.941z M328.704,205.141
c-2.56,0-4.267-1.707-4.267-4.267v-128c0-16.213-13.653-29.867-29.867-29.867h-120.32c-2.56,0-4.267-1.707-4.267-4.267
c0-2.56,1.707-4.267,4.267-4.267h120.32c21.333,0,38.4,17.067,38.4,38.4v128C332.971,203.434,331.264,205.141,328.704,205.141z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 502.613 502.613" style="enable-background:new 0 0 502.613 502.613;" xml:space="preserve">
<g transform="translate(15 1)">
<path style="fill:#AAB1BA;" d="M272.147,127c21.333,4.267,23.893,20.48,23.893,20.48c85.333,0,85.333,93.867,85.333,93.867v51.2
c-17.067,0-34.133-17.067-34.133-17.067s-34.133-34.133-34.133-68.267c-17.067,29.013-119.467,34.133-153.6,34.133
c0,17.067-8.533,51.2-17.067,68.267c-17.067,0-17.067-17.067-17.067-17.067c-17.067-17.067-17.067-34.133-17.067-34.133
s0-95.573,85.333-127.147c0,0,19.627-7.68,47.787-6.827h0.853l-5.973,48.64l34.987-46.933L272.147,127z"/>
<path style="fill:#FFD0A1;" d="M125.373,292.547c0,0,0,17.067,17.067,17.067c8.533-17.067,17.067-51.2,17.067-68.267
c34.133,0,136.533-5.12,153.6-34.133c0,34.133,34.133,68.267,34.133,68.267s17.067,17.067,34.133,17.067
c9.387,0,17.067,7.68,17.067,17.067v34.133c0,9.387-7.68,17.067-17.067,17.067c0,0-25.6,68.267-42.667,93.867
c-10.24,16.213-25.6,42.667-85.333,42.667s-75.093-26.453-85.333-42.667c-17.067-25.6-42.667-93.867-42.667-93.867
c-9.387,0-17.067-7.68-17.067-17.067v-34.133C108.307,300.227,115.987,292.547,125.373,292.547"/>
<polygon style="fill:#7EE1E6;" points="313.107,70.68 271.293,126.147 236.307,173.08 242.28,124.44 244.84,104.813
193.64,104.813 270.44,2.413 261.907,70.68 "/>
</g>
<path style="fill:#51565F;" d="M268.373,502.613c-59.733,0-76.8-26.453-87.893-42.667l-1.707-1.707
c-15.36-23.04-37.547-79.36-41.813-92.16c-10.24-1.707-17.92-10.24-17.92-21.333v-34.133c0-11.947,9.387-21.333,21.333-21.333
c2.56,0,4.267,1.707,4.267,4.267c0,1.707,0.853,11.093,10.24,12.8c7.68-17.067,15.36-47.787,15.36-64
c0-2.56,1.707-4.267,4.267-4.267c52.907,0,135.68-8.533,150.187-32.427c0.853-1.707,2.56-2.56,5.12-1.707
c1.707,0.853,3.413,2.56,3.413,4.267c0,31.573,32.427,64.853,33.28,64.853c1.707,1.707,1.707,4.267,0,5.973
c-1.707,1.707-4.267,1.707-5.973,0c-1.707-1.707-29.013-29.867-34.133-61.44c-30.72,25.6-124.587,28.16-145.92,28.16
c-0.853,18.773-9.387,49.493-17.067,65.707c-0.853,1.707-2.56,2.56-3.413,2.56c-13.653,0-18.773-9.387-20.48-16.213
c-5.12,1.707-9.387,6.827-9.387,11.947v34.133c0,6.827,5.973,12.8,12.8,12.8c1.707,0,3.413,0.853,4.267,2.56
c0,0.853,25.6,68.267,41.813,93.013l1.707,1.707c10.24,15.36,25.6,38.4,80.213,38.4s69.973-23.04,80.213-38.4l1.707-1.707
c16.213-24.747,41.813-92.16,41.813-93.013c0.853-1.707,2.56-2.56,4.267-2.56c6.827,0,12.8-5.973,12.8-12.8V309.76
c0-6.827-5.973-12.8-12.8-12.8c-2.56,0-4.267-1.707-4.267-4.267v-51.2c0-3.413-0.853-89.6-81.067-89.6
c-2.56,0-4.267-1.707-4.267-4.267s1.707-4.267,4.267-4.267c88.747,0,89.6,97.28,89.6,98.133v46.933
c9.387,1.707,17.067,10.24,17.067,21.333v34.133c0,11.093-7.68,19.627-17.92,21.333c-5.12,12.8-26.453,69.12-41.813,92.16
l-1.707,1.707C345.173,476.16,328.107,502.613,268.373,502.613z M268.373,434.347c-18.773,0-28.16-9.387-29.013-9.387
c-1.707-1.707-1.707-4.267,0-5.973c1.707-1.707,4.267-1.707,5.973,0l0,0c0,0,7.68,7.68,22.187,7.68
c14.507,0,22.187-6.827,22.187-7.68c1.707-1.707,4.267-1.707,5.973,0s1.707,4.267,0,5.973
C296.533,424.96,287.147,434.347,268.373,434.347z M311.04,340.48c-2.56,0-4.267-1.707-4.267-4.267v-4.267h-12.8
c-2.56,0-4.267-1.707-4.267-4.267s1.707-4.267,4.267-4.267h34.133c2.56,0,4.267,1.707,4.267,4.267s-1.707,4.267-4.267,4.267h-12.8
v4.267C315.307,338.773,313.6,340.48,311.04,340.48z M225.707,340.48c-2.56,0-4.267-1.707-4.267-4.267v-4.267h-12.8
c-2.56,0-4.267-1.707-4.267-4.267s1.707-4.267,4.267-4.267h34.133c2.56,0,4.267,1.707,4.267,4.267s-1.707,4.267-4.267,4.267h-12.8
v4.267C229.973,338.773,228.267,340.48,225.707,340.48z M123.307,263.68L123.307,263.68c-2.56,0-4.267-1.707-4.267-4.267
c0-0.853,0.853-98.987,87.893-130.56c2.56-0.853,4.267,0,5.12,2.56c0.853,2.56,0,4.267-2.56,5.12
C128.427,166.4,126.72,258.56,126.72,259.413C127.573,261.973,125.867,263.68,123.307,263.68z M251.307,178.347
c-0.853,0-0.853,0-1.707,0c-1.707-0.853-2.56-2.56-2.56-4.267l7.68-63.147h-46.08c-1.707,0-3.413-0.853-3.413-2.56
c-0.853-1.707-0.853-3.413,0-4.267l76.8-102.4C282.88,0,285.44,0,287.147,0c1.707,0.853,2.56,2.56,2.56,4.267l-7.68,63.147h46.08
c1.707,0,3.413,0.853,3.413,2.56c0,1.707,0.853,3.413,0,4.267l-76.8,102.4C253.867,177.493,253.013,178.347,251.307,178.347z
M217.173,101.547h42.667c0.853,0,2.56,0.853,3.413,1.707c0.853,0.853,0.853,2.56,0.853,3.413l-6.827,52.053l62.293-82.773h-42.667
c-0.853,0-2.56-0.853-3.413-1.707c-0.853-0.853-0.853-2.56-0.853-3.413l6.827-52.053L217.173,101.547z M396.373,127.147
c-0.853,0-1.707,0-2.56-0.853c-1.707-1.707-2.56-4.267-0.853-5.973l29.867-44.373h-26.453c-1.707,0-3.413-0.853-3.413-2.56
c-0.853-1.707-0.853-3.413,0-4.267l34.133-51.2c1.707-1.707,4.267-2.56,5.973-0.853c1.707,1.707,2.56,4.267,0.853,5.973
l-29.867,44.373h26.453c1.707,0,3.413,0.853,3.413,2.56c0.853,1.707,0.853,3.413,0,4.267l-34.133,51.2
C398.933,126.293,398.08,127.147,396.373,127.147z M148.907,93.013c-1.707,0-2.56-0.853-3.413-1.707l-22.187-36.693L109.653,74.24
c-1.707,2.56-5.12,2.56-6.827,0l-34.133-51.2c-1.707-1.707-0.853-4.267,0.853-5.973c1.707-1.707,4.267-0.853,5.973,0.853L106.24,64
l13.653-20.48c0.853-0.853,2.56-1.707,3.413-1.707c1.707,0,2.56,0.853,3.413,1.707l25.6,42.667c0.853,1.707,0.853,4.267-1.707,5.973
C150.613,93.013,149.76,93.013,148.907,93.013z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 392.598 392.598" style="enable-background:new 0 0 392.598 392.598;" xml:space="preserve">
<path style="fill:#56ACE0;" d="M120.469,49.455c0,15.257-12.412,27.669-27.669,27.669c-15.192,0-27.669-12.412-27.669-27.669
S77.543,21.786,92.8,21.786C108.057,21.786,120.469,34.198,120.469,49.455z"/>
<path style="fill:#FFFFFF;" d="M62.287,265.503h61.026v105.244h-19.588v-42.861c0-6.012-4.848-10.925-10.925-10.925
c-6.012,0-10.925,4.849-10.925,10.925v42.861H62.287V265.503z"/>
<path style="fill:#FFC10D;" d="M144.129,181.657v62.061H41.471v-62.061c0-25.277,20.558-45.834,45.834-45.834h10.99
C123.572,135.822,144.129,156.38,144.129,181.657z"/>
<path style="fill:#FFFFFF;" d="M272.129,49.455c0-15.257,12.412-27.669,27.669-27.669c15.257,0,27.669,12.412,27.669,27.669
s-12.412,27.669-27.669,27.669C284.606,77.123,272.129,64.711,272.129,49.455z"/>
<path style="fill:#FFC10D;" d="M269.156,265.503h61.026v105.244h-19.523v-42.861c0-6.012-4.848-10.925-10.925-10.925
c-6.077,0-10.925,4.849-10.925,10.925v42.861h-19.653L269.156,265.503L269.156,265.503z"/>
<path style="fill:#56ACE0;" d="M351.127,181.657v62.061H248.469v-62.061c0-25.277,20.558-45.834,45.834-45.834h10.99
C330.57,135.822,351.127,156.38,351.127,181.657z"/>
<g>
<path style="fill:#194F82;" d="M98.295,113.972h-10.99c-37.301,0-67.685,30.384-67.685,67.685v72.921
c0,6.012,4.848,10.925,10.925,10.925h9.891v116.17c0,6.012,4.848,10.925,10.925,10.925h82.877c6.012,0,10.925-4.848,10.925-10.925
v-116.17h9.891c6.012,0,10.925-4.848,10.925-10.925v-72.921C165.98,144.356,135.661,113.972,98.295,113.972z M144.129,243.717
H41.471v-62.061c0-25.277,20.558-45.834,45.834-45.834h10.99c25.277,0,45.834,20.558,45.834,45.834L144.129,243.717
L144.129,243.717z M123.378,370.747h-19.653v-42.861c0-6.012-4.848-10.925-10.925-10.925c-6.012,0-10.925,4.849-10.925,10.925
v42.861H62.287V265.503h61.026L123.378,370.747L123.378,370.747z"/>
<path style="fill:#194F82;" d="M92.8,0C65.519,0,43.281,22.174,43.281,49.455s22.174,49.455,49.455,49.455
s49.455-22.174,49.455-49.455S120.081,0,92.8,0z M92.8,77.123c-15.192,0-27.669-12.412-27.669-27.669S77.543,21.786,92.8,21.786
s27.669,12.412,27.669,27.669S108.057,77.123,92.8,77.123z"/>
<path style="fill:#194F82;" d="M305.228,113.972h-10.99c-37.301,0-67.685,30.384-67.685,67.685v72.921
c0,6.012,4.848,10.925,10.925,10.925h9.891v116.17c0,6.012,4.848,10.925,10.925,10.925h82.941c6.012,0,10.925-4.848,10.925-10.925
v-116.17h9.891c6.012,0,10.925-4.848,10.925-10.925v-72.921C372.913,144.356,342.594,113.972,305.228,113.972z M351.127,243.717
H248.469v-62.061c0-25.277,20.558-45.834,45.834-45.834h10.99c25.277,0,45.834,20.558,45.834,45.834V243.717L351.127,243.717z
M330.311,370.747h-19.653v-42.861c0-6.012-4.848-10.925-10.925-10.925c-6.077,0-10.925,4.849-10.925,10.925v42.861h-19.653
V265.503h61.026v105.244H330.311z"/>
<path style="fill:#194F82;" d="M299.798,0c-27.281,0-49.455,22.174-49.455,49.455s22.174,49.455,49.455,49.455
s49.455-22.174,49.455-49.455S327.014,0,299.798,0z M299.798,77.123c-15.192,0-27.669-12.412-27.669-27.669
s12.412-27.669,27.669-27.669s27.669,12.412,27.669,27.669S315.055,77.123,299.798,77.123z"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
This diff is collapsed.
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
This diff is collapsed.
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QApplication>
#include<QSize>
#include<QToolButton>
#include<QScreen>
#include<QDebug>
#include<QLabel>
#include<QGridLayout>
#include<QWidget>
#include "QDateTime"
#include<random>
#include<QMessageBox>
#include<QPushButton>
#include<QToolBar>
#include<QFile>
#include<QMediaPlayer>
#include<QMediaContent>
class mx
{
public:
int number;
int player;
};
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
int sayiSec();
void addSayiListe();
QWidget *addPlayer1();
QWidget *addPlayer2();
QWidget *sayiListeWidget();
void sayiListeSelect(int sy, int player);
void player1Disable(int number);
void player2Disable(int number);
void player1WinControl();
void player2WinControl();
void matrixMarker(int number, int player);
public slots:
void about();
void newGamePcHuman();
void newGameHumanHuman();
void player1Click(int btnnumber);
void player2Click(int btnnumber);
void player1AutoSelectClick();
void buttonWinMarker(int a1, int a2, int a3, int player);
private:
int boy;
QList<int> sayiListe,sayiListe1;
QList<QToolButton*> butonSayilarListe;
QList<QToolButton*> player1;
QList<QToolButton*> player2;
QList<int> player1AutoSelectList;
QList<int> player2AutoSelectList;
QLabel *statusLabel;
// QWidget *sayiListeWidget;
QWidget *player2ListeWidget;
QWidget *player1ListeWidget;
QWidget *hakkinda();
QGridLayout *mLayout;
int selectNumberPlayer1=0;
int selectNumberPlayer2=0;
QWidget *slw;
QWidget *ap1;
QWidget *ap2;
int sonuc=0;
mx matrix[6][6];
bool newGameStatus=false;
bool gameFinishStatus=false;
bool newGameKind=false;
QLabel *back;
QMediaPlayer* clickplayer;
QMediaPlayer* winplayer;
int fontsize=25;
};
#endif // MAINWINDOW_H
<RCC>
<qresource prefix="/">
<file>icons/about.svg</file>
<file>icons/close.svg</file>
<file>icons/humanhuman.svg</file>
<file>icons/pchuman.svg</file>
<file>icons/back.png</file>
<file>icons/e-carp.svg</file>
</qresource>
</RCC>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment