mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Random whitespace update
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d6d82a5af8
commit
0d1da0563b
7 changed files with 62 additions and 56 deletions
|
@ -425,8 +425,10 @@ public:
|
||||||
virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
|
virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
|
||||||
virtual Qt::ItemFlags flags(const QModelIndex &index) const;
|
virtual Qt::ItemFlags flags(const QModelIndex &index) const;
|
||||||
bool *checkState;
|
bool *checkState;
|
||||||
public slots:
|
public
|
||||||
|
slots:
|
||||||
void repopulate();
|
void repopulate();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
explicit TagFilterModel(QObject *parent = 0);
|
explicit TagFilterModel(QObject *parent = 0);
|
||||||
};
|
};
|
||||||
|
|
|
@ -416,8 +416,7 @@ void DateWidget::keyPressEvent(QKeyEvent *event)
|
||||||
#define COMPONENT_FROM_UI(_component) what->_component = ui._component->isChecked()
|
#define COMPONENT_FROM_UI(_component) what->_component = ui._component->isChecked()
|
||||||
#define UI_FROM_COMPONENT(_component) ui._component->setChecked(what->_component)
|
#define UI_FROM_COMPONENT(_component) ui._component->setChecked(what->_component)
|
||||||
|
|
||||||
DiveComponentSelection::DiveComponentSelection(QWidget *parent, struct dive *target, struct dive_components *_what):
|
DiveComponentSelection::DiveComponentSelection(QWidget *parent, struct dive *target, struct dive_components *_what) : targetDive(target)
|
||||||
targetDive(target)
|
|
||||||
{
|
{
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
what = _what;
|
what = _what;
|
||||||
|
|
|
@ -96,8 +96,10 @@ class DateWidget : public QWidget {
|
||||||
public:
|
public:
|
||||||
DateWidget(QWidget *parent = 0);
|
DateWidget(QWidget *parent = 0);
|
||||||
QDate date() const;
|
QDate date() const;
|
||||||
public slots:
|
public
|
||||||
|
slots:
|
||||||
void setDate(const QDate &date);
|
void setDate(const QDate &date);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void paintEvent(QPaintEvent *event);
|
void paintEvent(QPaintEvent *event);
|
||||||
void mousePressEvent(QMouseEvent *event);
|
void mousePressEvent(QMouseEvent *event);
|
||||||
|
@ -108,6 +110,7 @@ protected:
|
||||||
bool eventFilter(QObject *, QEvent *);
|
bool eventFilter(QObject *, QEvent *);
|
||||||
signals:
|
signals:
|
||||||
void dateChanged(const QDate &date);
|
void dateChanged(const QDate &date);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QDate mDate;
|
QDate mDate;
|
||||||
QCalendarWidget *calendarWidget;
|
QCalendarWidget *calendarWidget;
|
||||||
|
@ -120,6 +123,7 @@ public:
|
||||||
private
|
private
|
||||||
slots:
|
slots:
|
||||||
void buttonClicked(QAbstractButton *button);
|
void buttonClicked(QAbstractButton *button);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::DiveComponentSelectionDialog ui;
|
Ui::DiveComponentSelectionDialog ui;
|
||||||
struct dive *targetDive;
|
struct dive *targetDive;
|
||||||
|
@ -130,6 +134,7 @@ class TagFilter : public QWidget {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
TagFilter(QWidget *parent = 0);
|
TagFilter(QWidget *parent = 0);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::TagFilter ui;
|
Ui::TagFilter ui;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue