Un onglet "standard" de la boîte de dialogue de propriétés wxWidgets. More...
#include "cogitant/display/wx.h"
Public Member Functions | |
| PageStandard_Wx (unsigned int tp) | |
| Constructeur. More... | |
| bool | canHandleSet (std::list< Drawing::Element > const &el) const |
| L'opération permet-elle d'éditer les propriétés des objets de el ? | |
| std::string | pageName () const |
| Nom de la page. More... | |
| void | createPanel (wxNotebook *nbparent) |
| Création du wxPanel correpondant à la page. More... | |
Public Member Functions inherited from cogitantdisplay::OperationPropertyDialogTabbed_Wx::Page_Wx | |
| Page_Wx () | |
| Constructeur. More... | |
| wxPanel * | panel () const |
| Accès au wxPanel. More... | |
| wxSizer * | sizer () const |
| Accès au wxSizer. More... | |
Public Member Functions inherited from cogitantdisplay::OperationPropertyDialogTabbed::Page | |
| Page () | |
| Constructeur. More... | |
| ~Page () | |
| Destructeur. More... | |
| Context * | context () const |
| Contexte d'affichage. More... | |
| Drawing * | drawing () const |
| Dessin. More... | |
| Editor * | editor () const |
| Accès à l'éditeur. More... | |
| Clipping * | clipping () const |
| Accès au clipping. More... | |
| std::list< Drawing::Element > const * | setOfElements () const |
| Accès aux éléments édités. More... | |
| bool | ok () const |
| L'utilisateur a-t'il confirmé ? | |
| void | setSet (std::list< Drawing::Element > const *soe) |
| Sélection des éléments graphiques à éditer. More... | |
| void | setClipping (Clipping *cl) |
| Sélection du clipping représentant ce qui doit être mis à jour. More... | |
| void | setEditor (Editor *ed) |
| Sélection de l'éditeur. More... | |
| void | onInternalApply () |
| Application des modifications. More... | |
| void | parent (OperationPropertyDialogTabbed *parent) |
| Choix du parent. More... | |
| OperationPropertyDialogTabbed * | parent () const |
| Accès au parent. More... | |
| void | clear () |
| Suppression des controles automatiques. More... | |
Public Member Functions inherited from cogitantdisplay::OperationPropertyDialog | |
| OperationPropertyDialog () | |
| Constructeur par défaut. More... | |
| bool | canHandle (Drawing::Element const *el) |
| L'opération peut-elle gérer l'élément ? More... | |
| void | runSet (std::list< Drawing::Element > const &soe) |
| Édition des propriétés des objets sélectionnés. More... | |
| void | runElement (Drawing::Element el) |
| Ne pas utiliser cette méthode, mais runSet(). More... | |
| virtual void | addClipping () |
| Ajoute tous les objets de la sélection au clipping. More... | |
| virtual void | flushClipping () |
| Génère un message de rafraichissement pour le Panel et vide le Clipping. More... | |
| virtual void | setPropertyBefore (cogitant::Property::Type tp) |
| Prépare la modificiation de la propriété pour tous les objets sélectionnés. More... | |
| virtual void | setPropertyAfter (cogitant::Property::Type tp) |
| Finit la modification de la propriété pour tous les objets sélectionnés. More... | |
| virtual bool | setType (cogitant::iSet val, bool beforeafter=false) |
| Fixe le type (de concept, relation, emboîtement) des objets sélectionnés. More... | |
| virtual bool | setReferent (cogitant::Concept::ReferentType rt, cogitant::iSet ind, bool beforeafter=false) |
| Fixe le référent des objets sélectionnés. More... | |
| virtual bool | setProperty (cogitant::Property::Type tp, unsigned int val, bool beforeafter=false) |
| Fixe la valeur de la propriété pour tous les objets sélectionnés. More... | |
| virtual bool | setProperty (cogitant::Property::Type tp, std::string const &val, bool beforeafter=false) |
| Fixe la valeur de la propriété pour tous les objets sélectionnés. More... | |
| virtual bool | setProperty (std::string const &tp, std::string const &val) |
| Fixe la valeur de la propriété pour tous les objets sélectionnés. More... | |
| virtual bool | removeProperty (cogitant::Property::Type tp, bool beforeafter=false) |
| Suppression de la propriété pour les éléments sélectionnés. More... | |
| virtual bool | removeProperty (std::string const &tp, bool beforeafter=false) |
| Suppression de la propriété pour les éléments sélectionnés. More... | |
| virtual cogitant::iSet | readType () |
| Accès à la valeur de la propriété type des éléments sélectionnés. More... | |
| virtual cogitant::iSet | readReferent () |
| Accès au référent des éléments séletionnés. More... | |
| virtual unsigned int | readPropertyInt (cogitant::Property::Type tp, bool *defined=NULL, bool *diffval=NULL) |
| Accès à valeur de la propriété des éléments sélectionnés. More... | |
| virtual std::string | readPropertyString (cogitant::Property::Type tp, bool *defined=NULL, bool *diffval=NULL) |
| Accès à valeur de la propriété des éléments sélectionnés. More... | |
| virtual std::string | readProperty (std::string const &tp, bool *defined=NULL, bool *diffval=NULL) |
| Accès à valeur de la propriété des éléments sélectionnés. More... | |
Public Member Functions inherited from cogitantdisplay::Operation | |
| Operation () | |
| Constructeur par défaut. More... | |
| Operation (Context *c, Drawing *d) | |
| Constructeur. More... | |
| Error | check () |
| Vérification des paramètres. More... | |
| void | setContext (Context *c) |
| Modification du contexte d'affichage utilisé. More... | |
| void | setDrawing (Drawing *d) |
| Modification du dessin utilisé par l'opération. More... | |
| void | run () |
| Exécution de l'opération. More... | |
Public Member Functions inherited from cogitant::OperationBase | |
| void | stop () |
| Stopper l'opération dès que possible. More... | |
| bool | isStopped () const |
| Est-ce que l'opération a été stoppée. More... | |
| OperationBase () | |
| Constructeur. More... | |
| OperationBase (OperationBase const &o) | |
| Constructeur par recopie. More... | |
| ~OperationBase () | |
| Destructeur. More... | |
Public Member Functions inherited from cogitant::ObservableObject | |
| ObservableObject () | |
| Constructeur. More... | |
| ObservableObject (ObservableObject const &o) | |
| Constructeur par recopie. More... | |
| ~ObservableObject () | |
| Destructeur. More... | |
| ObserverSet const & | observers () const |
| Accès à l'ensemble des observateurs. More... | |
| bool | hasObservers () const |
| Existence d'observateurs. More... | |
| bool | hasObservers (ObserverMessage::Type mt) const |
| Existence d'observateurs qui écoutent le type de message passé. More... | |
| void | attachObserver (Observer *obs) |
| Ajoute un nouvel observateur à l'objet. More... | |
| void | detachObserver (Observer *obs) |
| Supprime le lien entre l'observateur et l'objet. More... | |
| void | notifyObservers (ObserverMessage const *msg) |
| Envoie le message de modification à tous les observateurs. More... | |
Public Member Functions inherited from cogitant::CogitantObject | |
| CogitantObject () | |
| Constructeur. More... | |
| CogitantObject (CogitantObject const &o) | |
| Constructeur par recopie. More... | |
| virtual | ~CogitantObject () |
| Destructeur. More... | |
| PropertySet * | properties () |
| Accès à l'ensemble des propriétés. More... | |
| virtual std::string | toString () const |
| Transformation en chaîne de caractères. More... | |
| std::string | className () const |
| Nom de la classe. More... | |
| PropertySet const * | properties () const |
| Accès en lecture seule à l'ensemble des propriétés. More... | |
| bool | hasProperties () const |
| Existence de propriétés. More... | |
| CogitantObject & | operator= (CogitantObject const &ob) |
| Affectation. More... | |
Additional Inherited Members | |
Public Types inherited from cogitant::OperationBase | |
| typedef unsigned int | Error |
| Résultat de la vérification des arguments d'une opération. More... | |
Static Public Attributes inherited from cogitant::OperationBase | |
| static const Error | CHECKOK |
| Pas d'erreur. More... | |
| static const Error | ARGUMENTS |
| Certains paramètres de l'opération n'ont pas été fixés. More... | |
| static const Error | UNUSED |
| Symbole d'erreur inutilisé. More... | |
Protected Member Functions inherited from cogitantdisplay::OperationPropertyDialogTabbed_Wx::Page_Wx | |
| Control * | newControl (std::string const &name, unsigned char tp, cogitant::Property::Type proptype) |
| Création d'un nouvel élément d'interface. More... | |
Protected Member Functions inherited from cogitantdisplay::OperationPropertyDialogTabbed::Page | |
| virtual void | addControl (std::string const &name, Control *control) |
| Ajout d'un élément d'interface associé à une propriété. More... | |
| Control * | addChoice (std::string const &name, std::vector< std::string > const &choices, cogitant::Property::Type proptype) |
| Création d'un élément d'interface permettant de choisir parmi une liste. More... | |
| Control * | addInteger (std::string const &name, int min, int max, cogitant::Property::Type proptype) |
| Création d'un élément d'interface permettant de saisir un entier. More... | |
| Control * | addColor (std::string const &name, cogitant::Property::Type proptype) |
| Création d'un élément d'interface permettant de saisir une couleur. More... | |
| Control * | addText (std::string const &name, cogitant::Property::Type proptype) |
| Création d'un élément d'interface permettant de saisir du texte. More... | |
| Control * | addFontStyle (std::string const &name, cogitant::Property::Type proptype) |
| Création d'un élément d'interface permettant de sélectionner un style de police. More... | |
| std::string | pageNameStandard (unsigned int tp) const |
| Onglets standards : nom de l'onglet. More... | |
| void | addControlsStandard (unsigned int tp) |
| Onglets standards : ajout des controles. More... | |
| bool | canHandleSetStandard (unsigned int tp, std::list< Drawing::Element > const &el) const |
| Onglets standards : gestion par l'onglet. More... | |
Protected Member Functions inherited from cogitant::ObservableObject | |
| virtual ObserverSet * | allocObservers () const |
| Fonction créant l'instance d'une sous classe de ObserverSet pour la représentation de l'ensemble des observateurs de l'objet. More... | |
| ObserverSet & | observers () |
| Accès à l'ensemble des observateurs. More... | |
Protected Member Functions inherited from cogitant::CogitantObject | |
| virtual PropertySet * | allocProperties () const |
| Fonction créant l'instance d'une sous classe de PropertySet pour la représentation des propriétés de l'objet. More... | |
Protected Attributes inherited from cogitantdisplay::OperationPropertyDialogTabbed_Wx::Page_Wx | |
| wxPanel * | m_panel |
| Le wxPanel pour l'affichage de la page. | |
| wxSizer * | m_sizer |
| Le wxSizer pour l'arrangement des composants à l'intérieur du panel. | |
Protected Attributes inherited from cogitantdisplay::OperationPropertyDialogTabbed::Page | |
| OperationPropertyDialogTabbed * | m_parent |
| La boîte de dialogue dont fait partie la page. | |
| std::vector< Control * > | m_autocontrols |
| Contrôles gérés automatiquement par la page. | |
Protected Attributes inherited from cogitantdisplay::Operation | |
| Drawing * | i_drawing |
| Dessin. | |
| Context * | i_context |
| Contexte d'affichage. | |
Protected Attributes inherited from cogitant::OperationBase | |
| bool | m_stop |
| Arrêt de l'exécution de l'opération demandé. More... | |
Un onglet "standard" de la boîte de dialogue de propriétés wxWidgets.
| cogitantdisplay::OperationPropertyDialogTabbed_Wx::PageStandard_Wx::PageStandard_Wx | ( | unsigned int | tp | ) |
Constructeur.
|
virtual |
Création du wxPanel correpondant à la page.
Reimplemented from cogitantdisplay::OperationPropertyDialogTabbed_Wx::Page_Wx.
|
virtual |
Nom de la page.
Implements cogitantdisplay::OperationPropertyDialogTabbed::Page.