19#include <AUI/Platform/ADesktop.h>
20#include <AUI/Thread/AAsyncHolder.h>
21#include "AViewContainer.h"
22#include "ATextField.h"
28class API_AUI_VIEWS AFileChooserView:
public AViewContainerBase {
36 void setPath(
const APath& path);
37 APath getPath()
const;
42 &AFileChooserView::getPath,
43 &AFileChooserView::setPath,
64 return &AFileChooserView::changed;
67 return &AFileChooserView::setPath;
75class API_AUI_VIEWS ADirChooserView:
public AViewContainerBase {
81 explicit ADirChooserView(
const APath& defaultPath =
"");
83 void setPath(
const APath& path);
84 APath getPath()
const;
89 &ADirChooserView::getPath,
90 &ADirChooserView::setPath,
111 return &ADirChooserView::changed;
114 return &ADirChooserView::setPath;
118using APathChooserView [[deprecated(
"APathChooserView was renamed to ADirChooserView")]] =
ADirChooserView;
Holds a set of futures keeping them valid.
Definition AAsyncHolder.h:31
A text field with "..." button prompting path to a dir.
Definition APathChooserView.h:75
A text field with "..." button prompting path to a file.
Definition APathChooserView.h:28
An add-on to AString with functions for working with the path.
Definition APath.h:128
A std::vector with AUI extensions.
Definition AVector.h:39
An std::weak_ptr with AUI extensions.
Definition SharedPtrTypes.h:215
ASignal< Args... > emits
A signal declaration.
Definition ASignal.h:577
Defines how View handles properties of FieldType type.
Definition ADataBinding.h:38
static void(View::*)(const FieldType &v) getSetter()
Returns setter for ADataBinding (deprecated)
Definition ADataBinding.h:64
static void setup(const _< View > &view)
Called then view linked with field.
Definition ADataBinding.h:44
static auto property(const _< View > &view)
Returns property definition for FieldType.
Definition ADataBinding.h:50
static ASignal< FieldType >View::* getGetter()
Returns getter for ADataBinding (deprecated)
Definition ADataBinding.h:56
Property implementation to use with custom getter/setter.
Definition APropertyDef.h:23