A Dialog of file selecting.
More...
#include <fselect.hpp>
|
typedef Signal< void(std::string_view txt)> | SignalAsync |
|
|
| FSelectBox (std::string_view title=std::string_view()) |
|
| FSelectBox (const FSelectBox &) |
|
bool | show (bool focus_async=false) |
| Focus to use async thread although it is not in main thread. More...
|
|
SignalAsync & | sig_async () |
| Get the async signal, It will be emited after closeing the box. More...
|
|
void | set_multi (bool val=true) |
| Allow to select multi files. More...
|
|
void | set_save (bool val=true) |
| Save file dialog. More...
|
|
A Dialog of file selecting.
◆ set_multi()
void Btk::FSelectBox::set_multi |
( |
bool |
val = true | ) |
|
Allow to select multi files.
- Parameters
-
◆ set_save()
void Btk::FSelectBox::set_save |
( |
bool |
val = true | ) |
|
Save file dialog.
- Parameters
-
val | True to enable the attribute |
◆ show()
bool Btk::FSelectBox::show |
( |
bool |
focus_async = false | ) |
|
Focus to use async thread although it is not in main thread.
- Parameters
-
focus_async | The flag decided should we use async thread |
- Returns
- false on async,true on sync
◆ sig_async()
Get the async signal, It will be emited after closeing the box.
- Returns
- SignalAsync&
The documentation for this class was generated from the following files: