comparison widgets/PropertyBox.h @ 285:9dd432665059

* Add a colour database, and Add New Colour function to the colour combo in property box. The colour property is only correctly handled in the waveform layer so far. * Add en_GB translation, to translate those annoying Color texts in the Qt colour picker dialog.
author Chris Cannam
date Wed, 11 Jul 2007 17:21:37 +0000
parents 21a5e4e7cb92
children 2f83b6e3b8ca
comparison
equal deleted inserted replaced
284:1284955856ab 285:9dd432665059
61 void playPanDialChanged(int); 61 void playPanDialChanged(int);
62 62
63 void populateViewPlayFrame(); 63 void populateViewPlayFrame();
64 64
65 void unitDatabaseChanged(); 65 void unitDatabaseChanged();
66 void colourDatabaseChanged();
66 67
67 void editPlugin(); 68 void editPlugin();
68 69
69 void mouseEnteredWidget(); 70 void mouseEnteredWidget();
70 void mouseLeftWidget(); 71 void mouseLeftWidget();
71 72
72 protected: 73 protected:
73 void updatePropertyEditor(PropertyContainer::PropertyName, 74 void updatePropertyEditor(PropertyContainer::PropertyName,
74 bool rangeChanged = false); 75 bool rangeChanged = false);
75 void updateContextHelp(QObject *o); 76 void updateContextHelp(QObject *o);
77 void addNewColour();
76 78
77 QLabel *m_nameWidget; 79 QLabel *m_nameWidget;
78 QWidget *m_mainWidget; 80 QWidget *m_mainWidget;
79 QGridLayout *m_layout; 81 QGridLayout *m_layout;
80 PropertyContainer *m_container; 82 PropertyContainer *m_container;