The AddComponentDialog class.
More...
#include <addcomponentdialog.h>
Inherits QDialog.
|
virtual bool | event (QEvent *event) noexcept override |
|
◆ AddComponentDialog()
◆ ~AddComponentDialog()
◆ getSelectedComponent()
std::shared_ptr< const Component > getSelectedComponent |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSelectedSymbolVariant()
◆ getSelectedDevice()
std::shared_ptr< const Device > getSelectedDevice |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSelectedPart()
std::shared_ptr< const Part > getSelectedPart |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSelectedPackageAssemblyType()
◆ getAutoOpenAgain()
bool getAutoOpenAgain |
( |
| ) |
const |
|
noexcept |
Check if dialog shall be opened again after the current component.
Returns the checked state of the "Add More" checkbox, i.e. whether the caller should open this dialog again after finishing placement of the component.
- Return values
-
true | Must open this dialog again after placing the component. |
false | Shall not open this dialog again, exit placement tool. |
◆ setLocaleOrder()
void setLocaleOrder |
( |
const QStringList & |
order | ) |
|
|
noexcept |
◆ setNormOrder()
void setNormOrder |
( |
const QStringList & |
order | ) |
|
|
inlinenoexcept |
◆ selectComponentByKeyword()
void selectComponentByKeyword |
( |
const QString |
keyword, |
|
|
const tl::optional< Uuid > & |
selectedDevice = tl::nullopt |
|
) |
| |
|
noexcept |
◆ eventFilter()
bool eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
e |
|
) |
| |
|
overridevirtualnoexcept |
◆ event()
bool event |
( |
QEvent * |
event | ) |
|
|
overrideprotectedvirtualnoexcept |
◆ searchEditTextChanged
void searchEditTextChanged |
( |
const QString & |
text | ) |
|
|
privateslotnoexcept |
◆ treeCategories_currentItemChanged
void treeCategories_currentItemChanged |
( |
const QModelIndex & |
current, |
|
|
const QModelIndex & |
previous |
|
) |
| |
|
privateslotnoexcept |
◆ treeComponents_currentItemChanged
void treeComponents_currentItemChanged |
( |
QTreeWidgetItem * |
current, |
|
|
QTreeWidgetItem * |
previous |
|
) |
| |
|
privateslotnoexcept |
◆ treeComponents_itemDoubleClicked
void treeComponents_itemDoubleClicked |
( |
QTreeWidgetItem * |
item, |
|
|
int |
column |
|
) |
| |
|
privateslotnoexcept |
◆ treeComponents_itemExpanded
void treeComponents_itemExpanded |
( |
QTreeWidgetItem * |
item | ) |
|
|
privateslotnoexcept |
◆ cbxSymbVar_currentIndexChanged
void cbxSymbVar_currentIndexChanged |
( |
int |
index | ) |
|
|
privateslotnoexcept |
◆ customComponentsContextMenuRequested
void customComponentsContextMenuRequested |
( |
const QPoint & |
pos | ) |
|
|
privateslotnoexcept |
◆ searchComponents()
void searchComponents |
( |
const QString & |
input, |
|
|
const tl::optional< Uuid > & |
selectedDevice = tl::nullopt , |
|
|
bool |
selectFirstDevice = false |
|
) |
| |
|
private |
◆ search()
◆ setSelectedCategory()
void setSelectedCategory |
( |
const tl::optional< Uuid > & |
categoryUuid | ) |
|
|
private |
◆ setSelectedComponent()
void setSelectedComponent |
( |
std::shared_ptr< const Component > |
cmp | ) |
|
|
private |
◆ setSelectedSymbVar()
◆ setSelectedDevice()
void setSelectedDevice |
( |
std::shared_ptr< const Device > |
dev | ) |
|
|
private |
◆ setSelectedPart()
void setSelectedPart |
( |
std::shared_ptr< const Part > |
part | ) |
|
|
private |
◆ addPartItem()
void addPartItem |
( |
std::shared_ptr< Part > |
part, |
|
|
QTreeWidgetItem * |
parent |
|
) |
| |
|
private |
◆ schedulePartsInformationUpdate()
void schedulePartsInformationUpdate |
( |
| ) |
|
|
privatenoexcept |
◆ updatePartsInformation()
void updatePartsInformation |
( |
int |
downloadDelayMs = 0 | ) |
|
|
privatenoexcept |
◆ accept()
|
overrideprivatevirtualnoexcept |
◆ mDb
◆ mSettings
◆ mLocaleOrder
◆ mNormOrder
◆ mUi
QScopedPointer<Ui::AddComponentDialog> mUi |
|
private |
◆ mComponentPreviewScene
◆ mDevicePreviewScene
◆ mGraphicsLayerProvider
◆ mCategoryTreeModel
◆ mPartToolTip
◆ mPartInfoProgress
◆ mUpdatePartInformationScheduled
bool mUpdatePartInformationScheduled |
|
private |
◆ mUpdatePartInformationDownloadStart
qint64 mUpdatePartInformationDownloadStart |
|
private |
◆ mUpdatePartInformationOnExpand
bool mUpdatePartInformationOnExpand |
|
private |
◆ mCurrentSearchTerm
QString mCurrentSearchTerm |
|
private |
◆ mSelectedCategoryUuid
tl::optional<Uuid> mSelectedCategoryUuid |
|
private |
◆ mSelectedComponent
std::shared_ptr<const Component> mSelectedComponent |
|
private |
◆ mSelectedSymbVar
◆ mSelectedDevice
std::shared_ptr<const Device> mSelectedDevice |
|
private |
◆ mSelectedPackage
std::unique_ptr<Package> mSelectedPackage |
|
private |
◆ mSelectedPart
std::shared_ptr<const Part> mSelectedPart |
|
private |
◆ mPreviewSymbols
QList<std::shared_ptr<Symbol> > mPreviewSymbols |
|
private |
◆ mPreviewSymbolGraphicsItems
◆ mPreviewFootprintGraphicsItem
◆ mActionCopyMpn
QScopedPointer<QAction> mActionCopyMpn |
|
private |
The documentation for this class was generated from the following files: