TermOx
|
Provides a filename Line_edit and button to emit a std::ifstream. More...
#include <read_file.hpp>
Public Types | |
using | Stream_t = std::basic_ifstream< Char_t > |
Public Types inherited from ox::Tuple< Layout_t, Widget_t > | |
using | Parameters = std::tuple< typename Widget_t::Parameters... > |
Public Attributes | |
sl::Signal< void(Stream_t &)> | request |
Public Attributes inherited from ox::detail::Read_file_widgets | |
Button & | open_btn = this->get<0>() |
Tile & | buffer = this->get<1>() |
Line_edit & | filename_edit = this->get<2>() |
Additional Inherited Members | |
Public Member Functions inherited from ox::Tuple< Layout_t, Widget_t > | |
Tuple () | |
Default construct each Widget. | |
Tuple (typename Widget_t::Parameters... p) | |
Construct each Widget with a Widget_t::Parameters object. | |
Tuple (Tuple::Parameters p) | |
Construct from a Tuple::Parameters object. | |
Tuple (std::unique_ptr< Widget_t >... widget_ptrs) | |
Move existing Widgets into a Tuple. | |
template<std::size_t Index> | |
auto | get () -> auto & |
Get child by index. | |
template<std::size_t Index> | |
auto | get () const -> auto const & |
Get child by index. | |
Provides a filename Line_edit and button to emit a std::ifstream.