mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-22 10:04:53 -05:00
Some checks are pending
Build Porymap / build-linux (, 5.14.2) (push) Waiting to run
Build Porymap / build-linux (, 6.8.*) (push) Waiting to run
Build Porymap / build-linux (minimal, 5.14.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
23 lines
581 B
C++
23 lines
581 B
C++
#ifndef EVENTCOMBOBOX_H
|
|
#define EVENTCOMBOBOX_H
|
|
|
|
#include "noscrollwidgets.h"
|
|
|
|
#include <QRegularExpression>
|
|
|
|
class EventComboBox : public NoScrollComboBox
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit EventComboBox(QWidget *parent = nullptr) : NoScrollComboBox(parent) {
|
|
// Make speed a priority when loading comboboxes.
|
|
// Set combo boxes to smallest reasonable size.
|
|
setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLengthWithIcon);
|
|
|
|
// In general, event combo boxes are always editable.
|
|
setEditable(true);
|
|
}
|
|
};
|
|
|
|
#endif // EVENTCOMBOBOX_H
|