Плагин – виджет обеспечивает доступ из Ананас.Скрипта ко всем публичным методам QComboBox, являясь врапером последнего. Наследует QComboBox.
Подробнее...
|
int | count () const |
|
void | insertStringList (const QStringList &, int index=-1) |
|
void | insertStrList (const QStrList &, int index=-1) |
|
void | insertStrList (const QStrList *, int index=-1) |
|
void | insertStrList (const char **, int numStrings=-1, int index=-1) |
|
void | insertItem (const QString &text, int index=-1) |
|
void | insertItem (const QPixmap &pixmap, int index=-1) |
|
void | insertItem (const QPixmap &pixmap, const QString &text, int index=-1) |
|
void | removeItem (int index) |
|
int | currentItem () |
|
virtual void | setCurrentItem (int index) |
|
QString | currentText () const |
|
virtual void | setCurrentText (const QString &) |
|
QString | text (int index) const |
|
const QPixmap * | pixmap (int index) const |
|
void | changeItem (const QString &text, int index) |
|
void | changeItem (const QPixmap &pixmap, int index) |
|
void | changeItem (const QPixmap &pixmap, const QString &text, int index) |
|
bool | autoResize () const |
|
virtual void | setAutoResize (bool) |
|
QSize | sizeHint () const |
|
void | setPalette (const QPalette &) |
|
void | setFont (const QFont &) |
|
void | setEnabled (bool) |
|
virtual void | setSizeLimit (int) |
|
int | sizeLimit () const |
|
virtual void | setMaxCount (int) |
|
int | maxCount () const |
|
virtual void | setInsertionPolicy (Policy policy) |
|
QComboBox::Policy | insertionPolicy () const |
|
virtual void | setValidator (const QValidator *) |
|
const QValidator * | validator () const |
|
virtual void | setListBox (QListBox *) |
|
QListBox * | listBox () const |
|
virtual void | setLineEdit (QLineEdit *edit) |
|
QLineEdit * | lineEdit () const |
|
virtual void | setAutoCompletion (bool) |
|
bool | autoCompletion () const |
|
bool | eventFilter (QObject *object, QEvent *event) |
|
void | setDuplicatesEnabled (bool enable) |
|
bool | duplicatesEnabled () const |
|
bool | editable () const |
|
void | setEditable (bool) |
|
virtual void | popup () |
|
void | hide () |
|
Плагин – виджет обеспечивает доступ из Ананас.Скрипта ко всем публичным методам QComboBox, являясь врапером последнего. Наследует QComboBox.
Смотрите документацию на QComboBox, поставляемую вместе с библиотекой QT компании TrollTech или на сайте
http://trolltech.com
Все публичные методы QComboBox доступны как публичные слоты AComboBox.
* var myBox=Widget("aComboBox1");
* myBox.clear();
* myBox.insertItem("Первый пункт");
* myBox.insertItem("Второй пункт");
* myBox.insertItem("Третий пункт");
* myBox.setCurrentItem(1);
*