Add initial project structure with essential files including .gitignore, application resources, and various model and view components for the application. Implemented asynchronous parsing support and database structure checks.
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
#ifndef CELLSETTINGSDIALOG_H
|
||||
#define CELLSETTINGSDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QSpinBox>
|
||||
#include <QLabel>
|
||||
#include <QVBoxLayout>
|
||||
#include <QHBoxLayout>
|
||||
#include <QPushButton>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QCheckBox>
|
||||
|
||||
class CellSettingsDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CellSettingsDialog(int row, int column, const QString &cellName,
|
||||
int currentStretch = 100,
|
||||
bool currentIsHeader = false,
|
||||
bool currentIsUnderline = true,
|
||||
QWidget *parent = nullptr);
|
||||
~CellSettingsDialog();
|
||||
|
||||
int getStretch() const;
|
||||
bool isHeader() const;
|
||||
bool isUnderline() const;
|
||||
|
||||
private:
|
||||
void setUp();
|
||||
void setUpConnections();
|
||||
|
||||
int m_row;
|
||||
int m_column;
|
||||
QString m_cellName;
|
||||
|
||||
QSpinBox *m_stretchSpinBox;
|
||||
QCheckBox *m_isHeaderCheckBox;
|
||||
QCheckBox *m_isUnderlineCheckBox;
|
||||
QLabel *m_cellNameLabel;
|
||||
QDialogButtonBox *m_buttonBox;
|
||||
};
|
||||
|
||||
#endif // CELLSETTINGSDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user