fields

package
v0.0.0-...-151ce6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RoleEquipes []Choice
)

Functions

This section is empty.

Types

type Approfondissement

type Approfondissement Enum

func NewApprofondissement

func NewApprofondissement(editable bool) Approfondissement

func (Approfondissement) GetData

func (Approfondissement) SetData

func (f Approfondissement) SetData(data rd.Approfondissement)

type Bool

type Bool struct {
	*widgets.QCheckBox
}

func NewBool

func NewBool(editable bool) Bool

func (Bool) GetData

func (f Bool) GetData() rd.Bool

func (Bool) SetData

func (f Bool) SetData(data rd.Bool)

type BoutonId

type BoutonId struct {
	*widgets.QPushButton

	DataChanged func()
	// contains filtered or unexported fields
}

func NewBoutonIdAide

func NewBoutonIdAide(editable bool, base *dm.BaseLocale) *BoutonId

func NewBoutonIdCamp

func NewBoutonIdCamp(editable bool, base *dm.BaseLocale) *BoutonId

func NewBoutonIdFacture

func NewBoutonIdFacture(editable bool, base *dm.BaseLocale) *BoutonId

func NewBoutonIdGroupe

func NewBoutonIdGroupe(editable bool, base *dm.BaseLocale) *BoutonId

func NewBoutonIdParticipant

func NewBoutonIdParticipant(editable bool, base *dm.BaseLocale) *BoutonId

func NewBoutonIdPersonne

func NewBoutonIdPersonne(editable bool, base *dm.BaseLocale, withOrganismes bool) *BoutonId

func NewBoutonIdStructureaide

func NewBoutonIdStructureaide(editable bool, base *dm.BaseLocale) *BoutonId

func (BoutonId) GetData

func (b BoutonId) GetData() rd.IId

func (*BoutonId) SetData

func (b *BoutonId) SetData(id rd.IId)

type Bus

type Bus Enum

func NewBus

func NewBus(editable bool) Bus

func (Bus) GetData

func (f Bus) GetData() rd.Bus

func (Bus) SetData

func (f Bus) SetData(data rd.Bus)

type Camp

type Camp struct {
	Enum
	// contains filtered or unexported fields
}

func NewCamp

func NewCamp(editable bool, base *dm.BaseLocale, showNull bool) Camp

func (Camp) GetData

func (f Camp) GetData() *dm.AccesCamp

func (Camp) SetChoices

func (f Camp) SetChoices(camps []dm.AccesCamp)

func (Camp) SetData

func (f Camp) SetData(data rd.OptionnalId)

func (*Camp) ShowTerminated

func (f *Camp) ShowTerminated(show bool)

func (*Camp) Update

func (f *Camp) Update()

type CategorieDocument

type CategorieDocument Enum

func NewCategorieDocument

func NewCategorieDocument(base *dm.BaseLocale, editable bool) CategorieDocument

func NewOptionnalCategorieDocument

func NewOptionnalCategorieDocument(base *dm.BaseLocale) CategorieDocument

NewOptionnalCategorieDocument ajoute un champ "Indifférent" et se restreint aux personnes.

func (CategorieDocument) GetData

func (CategorieDocument) SetData

func (f CategorieDocument) SetData(data rd.BuiltinContrainte)

type Choice

type Choice = struct {
	Field string
	Label string
}

type ChoiceInt

type ChoiceInt = struct {
	Field int
	Label string
}

type ChoixStatut

type ChoixStatut struct {
	*widgets.QComboBox
}

func NewChoixStatut

func NewChoixStatut(editable bool) ChoixStatut

func (ChoixStatut) GetData

func (f ChoixStatut) GetData() int64

func (*ChoixStatut) SetChoix

func (f *ChoixStatut) SetChoix(choices []rd.PrixParStatut)

func (ChoixStatut) SetData

func (f ChoixStatut) SetData(data int64)

type Completion

type Completion Enum

func NewCompletion

func NewCompletion(editable bool) Completion

func (Completion) GetData

func (f Completion) GetData() rd.Completion

func (Completion) SetData

func (f Completion) SetData(data rd.Completion)

func (Completion) Setup

func (f Completion) Setup(labels []LabelCompletion)

type Cotisation

type Cotisation struct {
	*widgets.QPushButton
	// contains filtered or unexported fields
}

func NewCotisation

func NewCotisation(editable bool) Cotisation

func (Cotisation) GetData

func (f Cotisation) GetData() rd.Cotisation

func (*Cotisation) SetData

func (f *Cotisation) SetData(data rd.Cotisation)

type Date

type Date struct {
	*widgets.QFrame
	// contains filtered or unexported fields
}

func NewDate

func NewDate(editable bool, centuryHint int) Date

func (Date) ConnectDataChanged

func (f Date) ConnectDataChanged(fu func())

func (Date) GetData

func (f Date) GetData() rd.Date

func (Date) SetData

func (f Date) SetData(data rd.Date)

func (Date) SetEditable

func (f Date) SetEditable(b bool)

type Departement

type Departement String

func NewDepartement

func NewDepartement(editable bool) Departement

func (Departement) GetData

func (f Departement) GetData() rd.Departement

func (Departement) SetData

func (f Departement) SetData(data rd.Departement)

type Destinataires

type Destinataires struct {
	lists.Table

	OnClick func(destinataire rd.Destinataire)
	// contains filtered or unexported fields
}

func NewDestinataires

func NewDestinataires(editable bool) *Destinataires

func (Destinataires) GetData

func (*Destinataires) SetData

func (f *Destinataires) SetData(data rd.DestinatairesOptionnels)

type Diplome

type Diplome Enum

func NewDiplome

func NewDiplome(editable bool) Diplome

func (Diplome) GetData

func (f Diplome) GetData() rd.Diplome

func (Diplome) SetData

func (f Diplome) SetData(data rd.Diplome)

type Enum

type Enum struct {
	*widgets.QComboBox
}

func NewEnum

func NewEnum(items []Choice, editable bool) Enum

func (Enum) GetData

func (w Enum) GetData() string

func (Enum) SetData

func (w Enum) SetData(data string)

type Euros

type Euros struct {
	*widgets.QDoubleSpinBox
}

func NewEuros

func NewEuros(editable bool) Euros

func (Euros) GetData

func (f Euros) GetData() rd.Euros

func (Euros) SetData

func (f Euros) SetData(data rd.Euros)

type Exemplaires

type Exemplaires struct {
	*widgets.QFrame
	// contains filtered or unexported fields
}

func NewExemplaires

func NewExemplaires(editable bool) Exemplaires

func (Exemplaires) GetData

func (f Exemplaires) GetData() rd.Exemplaires

func (Exemplaires) SetData

func (f Exemplaires) SetData(data rd.Exemplaires)

type Int

type Int struct {
	*widgets.QSpinBox
}

func NewInt

func NewInt(editable bool) Int

func (Int) GetData

func (f Int) GetData() rd.Int

func (Int) SetData

func (f Int) SetData(data rd.Int)

type LabelCompletion

type LabelCompletion struct {
	Label      string
	Completion rd.Completion
}

type Mails

type Mails struct {
	// contains filtered or unexported fields
}

Mails permet la modification d'une liste d'adresses mails

func NewMails

func NewMails(editable bool) Mails

func (Mails) GetData

func (f Mails) GetData() []string

func (Mails) SetData

func (f Mails) SetData(data []string)

type ModePaiment

type ModePaiment Enum

func NewModePaiment

func NewModePaiment(editable bool) ModePaiment

func (ModePaiment) GetData

func (f ModePaiment) GetData() rd.ModePaiment

func (ModePaiment) SetData

func (f ModePaiment) SetData(data rd.ModePaiment)

type MultiLineString

type MultiLineString struct {
	*widgets.QPlainTextEdit
}

func NewMultiLineString

func NewMultiLineString(editable bool, placeholder string) MultiLineString

func (MultiLineString) GetData

func (f MultiLineString) GetData() rd.String

func (MultiLineString) SetData

func (f MultiLineString) SetData(data rd.String)

type OptionPrixParticipant

type OptionPrixParticipant struct {
	*widgets.QFrame

	Categorie string
	// contains filtered or unexported fields
}

func NewOptionPrixParticipant

func NewOptionPrixParticipant(editable bool, categorie string, status []rd.PrixParStatut, datesCamp rd.Plage) OptionPrixParticipant

func (OptionPrixParticipant) GetData

func (OptionPrixParticipant) SetData

type OptionnalBool

type OptionnalBool Enum

func NewOptionnalBool

func NewOptionnalBool(editable bool, labelOui, labelNon string) OptionnalBool

func (OptionnalBool) GetData

func (f OptionnalBool) GetData() rd.OptionnalBool

func (OptionnalBool) SetData

func (f OptionnalBool) SetData(data rd.OptionnalBool)

type OptionnalPlage

type OptionnalPlage struct {
	Plage
	// contains filtered or unexported fields
}

OptionnalPlage représente une plage optionnelle avec une valeur par défaut si le champ est vide

func NewOptionnalPlage

func NewOptionnalPlage(editable bool, defaut rd.Plage) OptionnalPlage

func (OptionnalPlage) GetData

func (f OptionnalPlage) GetData() rd.Plage

func (*OptionnalPlage) SetData

func (f *OptionnalPlage) SetData(data rd.Plage)

type OptionsCamp

type OptionsCamp struct {
	*widgets.QGroupBox
	// contains filtered or unexported fields
}

OptionsCamp accède aux options d'un camp. Voir aussi OptionsParticipant

func NewOptionsCamp

func NewOptionsCamp(editable bool) OptionsCamp

func (OptionsCamp) GetData

func (f OptionsCamp) GetData() rd.OptionsCamp

func (OptionsCamp) SetData

func (f OptionsCamp) SetData(data rd.OptionsCamp)

func (OptionsCamp) SetEditable

func (f OptionsCamp) SetEditable(b bool)

type OptionsFinanceParticipant

type OptionsFinanceParticipant struct {
	*widgets.QPushButton

	OptionPrixParticipant OptionPrixParticipant

	DataChanged func()
	// contains filtered or unexported fields
}

OptionsFinanceParticipant regroupe les remises et l'option sur le prix.

func NewOptionsFinanceParticipant

func NewOptionsFinanceParticipant(editable bool, categorie string, status []rd.PrixParStatut, defaultPlage rd.Plage) *OptionsFinanceParticipant

func (OptionsFinanceParticipant) GetData

func (OptionsFinanceParticipant) SetData

type OptionsParticipant

type OptionsParticipant struct {
	*widgets.QFrame
	// contains filtered or unexported fields
}

OptionsParticipant accède aux options d'un participant. Répond à OptionsCamp

func NewOptionsParticipant

func NewOptionsParticipant(editable bool) OptionsParticipant

func (OptionsParticipant) GetData

func (OptionsParticipant) SetData

func (f OptionsParticipant) SetData(data rd.OptionsParticipant)

type OptionsPrixCamp

type OptionsPrixCamp struct {
	*widgets.QPushButton

	// requis pour pouvoir ajuster les options
	GetPrixBaseNbJoursMax func() (prixBase rd.Euros, nbJoursMax int)
	// contains filtered or unexported fields
}

func NewOptionsPrixCamp

func NewOptionsPrixCamp(editable bool) *OptionsPrixCamp

func (OptionsPrixCamp) GetData

func (f OptionsPrixCamp) GetData() rd.OptionPrixCamp

func (*OptionsPrixCamp) SetData

func (f *OptionsPrixCamp) SetData(data rd.OptionPrixCamp, prixBase rd.Euros, nbJoursMax int)

func (OptionsPrixCamp) SetEditable

func (f OptionsPrixCamp) SetEditable(b bool)

type Plage

type Plage struct {
	*widgets.QFrame
	// contains filtered or unexported fields
}

Plage représente deux dates

func NewPlage

func NewPlage(editable bool) Plage

func (Plage) GetData

func (f Plage) GetData() rd.Plage

func (Plage) SetData

func (f Plage) SetData(data rd.Plage)

func (Plage) SetMonthMode

func (f Plage) SetMonthMode()

SetMonthMode paramètre le widget pour la saisie d'une plage de mois.

func (Plage) Valid

func (f Plage) Valid() bool

type Pourcent

type Pourcent struct {
	*widgets.QSpinBox
}

func NewPourcent

func NewPourcent(editable bool) Pourcent

func (Pourcent) GetData

func (f Pourcent) GetData() rd.Pourcent

func (Pourcent) SetData

func (f Pourcent) SetData(data rd.Pourcent)

type RangMembreAsso

type RangMembreAsso Enum

func NewRangMembreAsso

func NewRangMembreAsso(editable bool, showIndifferent bool) RangMembreAsso

func (RangMembreAsso) GetData

func (f RangMembreAsso) GetData() rd.RangMembreAsso

func (RangMembreAsso) SetData

func (f RangMembreAsso) SetData(data rd.RangMembreAsso)

type Roles

type Roles struct {
	*widgets.QPushButton
	// contains filtered or unexported fields
}

func NewRoles

func NewRoles(editable bool) *Roles

func (Roles) GetData

func (m Roles) GetData() rd.Roles

func (*Roles) SetData

func (m *Roles) SetData(values rd.Roles)

type SchemaPaiement

type SchemaPaiement Enum

func NewSchemaPaiement

func NewSchemaPaiement(editable bool) SchemaPaiement

func (SchemaPaiement) GetData

func (f SchemaPaiement) GetData() rd.SchemaPaiement

func (SchemaPaiement) SetData

func (f SchemaPaiement) SetData(data rd.SchemaPaiement)

type Semaine

type Semaine Enum

func NewSemaine

func NewSemaine(editable bool) Semaine

func (Semaine) GetData

func (f Semaine) GetData() rd.Semaine

func (Semaine) SetData

func (f Semaine) SetData(data rd.Semaine)

type Sexe

type Sexe Enum

func NewSexe

func NewSexe(editable bool) Sexe

func (Sexe) GetData

func (f Sexe) GetData() rd.Sexe

func (Sexe) SetData

func (f Sexe) SetData(data rd.Sexe)

type StatutAttente

type StatutAttente enumInt

func NewStatutAttente

func NewStatutAttente(editable bool) StatutAttente

func (StatutAttente) GetData

func (f StatutAttente) GetData() rd.StatutAttente

func (StatutAttente) SetData

func (f StatutAttente) SetData(data rd.StatutAttente)

type String

type String struct {
	*widgets.QLineEdit
}

func NewString

func NewString(editable bool) String

func NewString2

func NewString2(editable bool, maxLength uint, completions []string) String

func (String) GetData

func (f String) GetData() rd.String

func (String) SetData

func (f String) SetData(data rd.String)

type Tels

type Tels struct {
	// contains filtered or unexported fields
}

Tels permet la modification d'une liste de numéros de téléphones

func NewTels

func NewTels(editable bool) Tels

func (Tels) GetData

func (f Tels) GetData() rd.Tels

func (Tels) SetData

func (f Tels) SetData(data rd.Tels)

type Year

type Year enumInt

Year propose le choix parmis un nombre fixe d'année, ou indifférent.

func NewYear

func NewYear() Year

func (Year) GetData

func (f Year) GetData() int

func (Year) SetData

func (f Year) SetData(data int)

func (Year) SetYears

func (f Year) SetYears(years []int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL