-
Notifications
You must be signed in to change notification settings - Fork 0
/
eklefatura.h
64 lines (57 loc) · 1.4 KB
/
eklefatura.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
63
64
#ifndef FATURAEKLE_H
#define FATURAEKLE_H
#include <QDebug>
#include <QDialog>
#include <QCalendarWidget>
#include <QTextCodec>
#include <QComboBox>
#include <QCloseEvent>
#include <QDir>
namespace Ui {
class faturaEkle;
}
class faturaEkle : public QDialog
{
Q_OBJECT
public:
explicit faturaEkle(QWidget *parent = 0);
~faturaEkle();
void ilkYukleme();
void takvimAcikIseKapat();
void ontanimliAyarlar();
QStringList getListeFatura();
double getToplamTutar();
QStringList getListeCbFaturaTur();
void setListeHesap(QStringList);
void closeEvent(QCloseEvent *event);
void keyPressEvent(QKeyEvent *e);
public slots:
void kapat();
void satirEkle(int, int);
void satirSil();
void takvimiAc(int,int);
void tarihiAl();
void hucreyeTiklandi(int, int);
void tamam();
private:
Ui::faturaEkle *ui;
QCalendarWidget *cal;
QStringList listeFatura;//tamam a tıklanınca girişleri ana ekrana göndermek için
QStringList listeCbFaturaTur;
QStringList listeHesap;//hesap isimlerini cb ye eklemek için
bool takvimAcik;
double toplamTutar;
int satir;
int sutun;
int ftrSutunSil;
int ftrSutunTarih;
int ftrSutunIsim;
int ftrSutunMatrah;
int ftrSutunKdvOrani;
int ftrSutunKdvTutari;
int ftrSutunTutar;
int ftrSutunAciklama;
int ftrSutunTur;
int ftrSutunHesap;
};
#endif // FATURAEKLE_H