QML Hormone data

I decided to some studying of the endocrine system and decided I need to re-memorize the different hormones once again. I can’t use KWordQuiz since I have to remember two different attributes for each hormone, so I am going to have to make my own kind of flash cards. Here is the GPLed work that I have so far:


import QtQuick 1.0

Item {
    property alias hormoneModel: hModel
    ListModel {
        id: hModel

        ListElement {
            name: "Follicle-stimulating (FSH)"
            source: "Anterior pituitary"
            action: "Females: stimulates maturation of Graafian follicles in ovary. Males: spermatogenesis"
        }

        ListElement {
            name: "Luteinizing (LH)"
            source: "Anterior pituitary"
            action: "In female: ovulation. In male: stimulates Leydig cell production of testosterone"
        }

        ListElement {
            name: "Adrenocorticotropic (ACTH)"
            source: "Anterior pituitary"
            action: "Synthesis of corticosteroids (glucocorticoids and androgens) in adrenocortical cells"
        }

        ListElement {
            name: "Thyroid-stimulating (TSH)"
            source: "Anterior pituitary"
            action: "Stimulates the thyroid to secrete thyroxine (T4) and triiodothyronine (T3)"
        }

        ListElement {
            name: "Prolactin"
            source: "Anterior pituitary"
            action: "Milk production in mammary glands; sexual gratification after sexual acts"
        }

        ListElement {
            name: "Endorphins"
            source: "Anterior pituitary"
            action: "Inhibit the perception of pain in the brain"
        }

        ListElement {
            name: "Growth hormone"
            source: "Anterior pituitary"
            action: "Stimulates growth and cell reproduction"
        }

        ListElement {
            name: "Oxytocin"
            source: "Hypothalamus; stored in posterior pituitary"
            action: "Stimulates uterine conteractions during labor; release breast milk"
        }

        ListElement {
            name: "Vasopressin (ADH)"
            source: "Hypothalamus; stored in posterior pituitary"
            action: "Retention of water in kidneys"
        }

        ListElement {
            name: "Thyroid hormones (T4, T3)"
            source: "Thyroid"
            action: "Increase the basal metabolic rate; sensitivity to catecholamines, affect protein synthesis"
        }

        ListElement {
            name: "Calcitonin"
            source: "Thyroid"
            action: "Construct bone; reduce blood Ca2+"
        }

        ListElement {
            name: "Parathyroid hormone"
            source: "Parathyroid"
            action: "increase blood Ca2+; indirectly stimulate osteoclasts"
        }

        ListElement {
            name: "Glucocorticoid"
            source: "Adrenal cortex"
            action: "Stimulation of gluconeogenesis; Inhibition of glucose uptake in muscle and adipose tissue; Stimulation of fat breakdown in adipose tissue"
        }

        ListElement {
            name: "Mineralocorticoids"
            source: "Adrenal cortex"
            action: "Acts on the kidneys to provide active reabsorption of sodium and an associated passive reabsorption of water"
        }

        ListElement {
            name: "Epinephrine"
            source: "Adrenal medulla"
            action: "Fight-or-flight response; Boosts the supply of oxygen and glucose to the brain and muscles"
        }

        ListElement {
            name: "Norepinephrine"
            source: "Adrenal medulla"
            action: "Fight-or-flight response; Boosts the supply of oxygen and glucose to the brain and muscles"
        }

        ListElement {
            name: "Glucagon"
            source: "Pancreas"
            action: "Increases blood glucose level"
        }

        ListElement {
            name: "Insulin"
            source: "Pancreas"
            action: "Intake of glucose, glycogenesis and glycolysis in liver and muscle from blood"
        }

        ListElement {
            name: "Somatostatin"
            source: "Pancreas"
            action: "Inhibit release of GH, insulin and glucagon; Lowers rate of gastric emptying"
        }

        ListElement {
            name: "Testosterone"
            source: "Testes"
            action: "Growth of muscle mass and strength, increased bone density, growth and strength"
        }

        ListElement {
            name: "Estrogen"
            source: "Ovary"
            action: "promote formation of female secondary sex characteristics; accelerate metabolism; reduce muscle mass; increase fat stores"
        }

        ListElement {
            name: "Progesterone"
            source: "Ovary"
            action: "Support pregnancy; Raise epidermal growth"
        }

        ListElement {
            name: "Melatonin"
            source: "Pineal"
            action: "Antioxidant and causes drowsiness"
        }

        ListElement {
            name: "Atrial-natriuretic peptide"
            source: "Heart muscle cells"
            action: "Reduction in blood volume and therefore a reduction in cardiac output and systemic blood pressure"
        }

        ListElement {
            name: "Thymosins"
            source: "Thymus"
            action: "Enhance cell-mediated immunity and lymphocte development"
        }
    }
}

As for how the quiz will look like, it will probably be something like:

Yeah, it will be a listview of listviews

Yeah, it will be a listview of listviews

About tshah

I used to be an employee of Lockheed Martin, Proxpro and Integrated Computer Solutions. I am now a dental student at the Tufts University School of Dental Medicine.
This entry was posted in Computer Programs and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s