formatting
This commit is contained in:
parent
060933f716
commit
498abc873e
2 changed files with 8 additions and 8 deletions
|
@ -10,11 +10,11 @@ class GenusModel : public QAbstractTableModel
|
|||
Q_OBJECT
|
||||
|
||||
private:
|
||||
CheckableItems m_tiere = {
|
||||
"Tiger", "Bär", "Katze", "Pferd", "Gans", "Elefant", "Katze", "Hund"};
|
||||
CheckableItems m_futter = {"Salat", "Fleisch", "Knocken", "Banane", "Apfel",
|
||||
"Möhre", "Honig", "Zucker"};
|
||||
CheckableItems m_zirkus = {"Kiste", "Holz", "Vorhang", "Baum"};
|
||||
CheckableItems m_tiere = { "Tiger", "Bär", "Katze", "Pferd", "Gans",
|
||||
"Elefant", "Katze", "Hund" };
|
||||
CheckableItems m_futter = { "Salat", "Fleisch", "Knocken", "Banane",
|
||||
"Apfel", "Möhre", "Honig", "Zucker" };
|
||||
CheckableItems m_zirkus = { "Kiste", "Holz", "Vorhang", "Baum" };
|
||||
|
||||
public:
|
||||
GenusModel(QObject *parent);
|
||||
|
@ -27,7 +27,7 @@ public:
|
|||
int role = Qt::EditRole) override;
|
||||
|
||||
QVariant headerData(int section, Qt::Orientation orientation,
|
||||
int role = Qt::DisplayRole) const;
|
||||
int role = Qt::DisplayRole) const override;
|
||||
|
||||
void write(QJsonObject &json) const;
|
||||
void read(const QJsonObject &json);
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="MetaDataTab">
|
||||
<attribute name="title">
|
||||
|
@ -50,7 +50,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>905</width>
|
||||
<height>17</height>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
|
|
Loading…
Reference in a new issue