src/DetailNode.h

Fri, 20 Jan 2023 16:44:08 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 20 Jan 2023 16:44:08 +0100
changeset 467
c5f6f3f1b714
parent 346
792058058c2f
permissions
-rw-r--r--

Added more buttons to the images tab. Load images from the database and display thumbnails added. Added support for jpeg files. Rename pictures in the database to .png. Added temporary images_list, images_count and images_current variables to the product record.

#ifndef _DETAILNODE_H
#define _DETAILNODE_H

#include <QDialog>
#include <QDoubleSpinBox>
#include <QCheckBox>
#include <QComboBox>
#include <QRadioButton>
#include <QLineEdit>
#include <QDialogButtonBox>


namespace Ui {
class DetailNode;
}

class DetailNode : public QDialog
{
    Q_OBJECT

signals:
    void entry_changed();

public:
    explicit DetailNode(int id, QWidget *parent = 0);
    ~DetailNode();

private slots:
    void on_quitButton_clicked();
    void refreshTable(void);
    void control_reboot();
    void control_rebirth();

public slots:
    void refreshNode(QString);

private:
    Ui::DetailNode *ui;
    QString _node, _group_id, _uuid;
    int recno;
};

#endif

mercurial