MagicSmoke  $VERSION$
ticketedit.cpp File Reference
#include "ticketedit.h"
#include "centbox.h"
#include "misc.h"
#include "ticketrender.h"
#include "MOTicket"
#include "MOVoucher"
#include <QBuffer>
#include <DPtr>
#include <QAction>
#include <QBoxLayout>
#include <QComboBox>
#include <QCoreApplication>
#include <QDateTimeEdit>
#include <QDebug>
#include <QDomDocument>
#include <QDomElement>
#include <QDoubleSpinBox>
#include <QFileDialog>
#include <QFontDatabase>
#include <QHeaderView>
#include <QInputDialog>
#include <QItemDelegate>
#include <QLabel>
#include <QLineEdit>
#include <QMenu>
#include <QMenuBar>
#include <QMessageBox>
#include <QPointF>
#include <QPushButton>
#include <QScrollArea>
#include <QSettings>
#include <QSignalMapper>
#include <QSizeF>
#include <QSplitter>
#include <QStandardItemModel>
#include <QStatusBar>
#include <QTableView>
#include <QTemporaryFile>
#include <Unzip>
#include <Zip>

Classes

class  MTEExampleDelegate
 
class  MTELabel
 

Macros

#define HALIGN   8
 
#define HCONTENT   0x20
 
#define HFILE   4
 
#define HFONT   2
 
#define HRECT   1
 
#define HSMOOTH   0x10
 

Functions

static QString align2str (Qt::Alignment a)
 
static QString align2xml (Qt::Alignment a)
 
 DEFINE_DPTR (MTicketEditor)
 
class DPTR_CLASS_NAME (MTicketEditor)
 
const QString example ("BARCODE\tABCDEFGHIJK\tstring\n""PRICE\t12.34\tmoney\n""ROOM\tThe invisible Cabinet\tstring\n""TITLE\tSome title, this is.\tstring\n""DATETIME\t2023-01-23T19:54\tdate\n""ARTIST\tHenry the Drycleaner\tstring\n""PRICECATEGORY\tExpensive\tstring\n""PRICECATEGORYABBR\texp\tstring\n""VALUE\t12.00\tmoney\n""VALIDDATE\t2023-12-31\tdate")
 
static QString point2str (QPointF p)
 
static QString size2str (QSizeF s)
 
static QPointF str2point (QString s)
 
static QSizeF str2size (QString s)
 

Macro Definition Documentation

#define HALIGN   8

Referenced by DPTR_CLASS_NAME().

#define HCONTENT   0x20

Referenced by DPTR_CLASS_NAME().

#define HFILE   4

Referenced by DPTR_CLASS_NAME().

#define HFONT   2

Referenced by DPTR_CLASS_NAME().

#define HRECT   1

Referenced by DPTR_CLASS_NAME().

#define HSMOOTH   0x10

Referenced by DPTR_CLASS_NAME().

Function Documentation

static QString align2str ( Qt::Alignment  a)
inlinestatic
static QString align2xml ( Qt::Alignment  a)
inlinestatic
DEFINE_DPTR ( MTicketEditor  )
class DPTR_CLASS_NAME ( MTicketEditor  )

References HALIGN, HCONTENT, HFILE, HFONT, HRECT, and HSMOOTH.

const QString example ( "BARCODE\tABCDEFGHIJK\tstring\n""PRICE\t12.34\tmoney\n""ROOM\tThe invisible Cabinet\tstring\n""TITLE\tSome  title,
this is.\tstring\n""DATETIME\t2023-01-23T19:54\tdate\n""ARTIST\tHenry the Drycleaner\tstring\n""PRICECATEGORY\tExpensive\tstring\n""PRICECATEGORYABBR\texp\tstring\n""VALUE\t12.00\tmoney\n""VALIDDATE\t2023-12-31\tdate"   
)
static QString point2str ( QPointF  p)
inlinestatic
static QString size2str ( QSizeF  s)
inlinestatic
static QPointF str2point ( QString  s)
inlinestatic
static QSizeF str2size ( QString  s)
inlinestatic