-
Notifications
You must be signed in to change notification settings - Fork 0
/
eklemaas.h
62 lines (55 loc) · 1.42 KB
/
eklemaas.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef MAASEKLE_H
#define MAASEKLE_H
#include <QDialog>
#include <QDir>
#include <QComboBox>
#include <QCalendarWidget>
#include <QDebug>
#include <QCloseEvent>
namespace Ui {
class maasekle;
}
class maasekle : public QDialog
{
Q_OBJECT
public:
explicit maasekle(QWidget *parent = 0);
~maasekle();
void ilkYukleme();
void ontanimliAyarlar();
QStringList getListeMaas();
double getToplamTutar();
void takvimAcikIseKapat();
void setListeCalisanlar(QStringList list);
QStringList getListeCbMaasTur();
void setListeHesap(QStringList list);
void closeEvent(QCloseEvent *event);
void keyPressEvent(QKeyEvent *e);
public slots:
void tamam();
void kapat();
void satirSil();
void satirEkle(int,int);
void tarihiAl();
void takvimiAc(int a, int b);
void hucreyeTiklandi(int a,int b);
private:
Ui::maasekle *ui;
QCalendarWidget *cal;
QStringList listeMaas;//tamam a tıklanınca girişleri ana ekrana göndermek için
QStringList listeCalisanlar;//maas ekle penceresinde calisan combobox unu doldurmak için
QStringList listeCbMaasTur;
QStringList listeHesap;//hesap isimlerini cb ye eklemek için
bool takvimAcik;
double toplamTutar;
int msSutunSil;
int msSutunTarih;
int msSutunCalisan;
int msSutunTutar;
int msSutunAy;
int msSutunTur;
int msSutunHesap;
int satir;
int sutun;
};
#endif // MAASEKLE_H