GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Gui
AccountComboBox.cpp
Go to the documentation of this file.
1
2
3
#include "../Eng/AccountComboModel.h"
4
5
#include "
AccountComboBox.h
"
6
7
GCW::Gui::AccountComboBox::
8
AccountComboBox
()
9
{
10
setModel
( std::make_shared< GCW::Eng::AccountComboModel >() );
11
setModelColumn
( 1 );
12
13
}
// endAccountComboBox()
14
15
auto
16
GCW::Gui::AccountComboBox::
17
valueGuid
()-> std::string
18
{
19
return
20
Wt::asString
( model()-> data( currentIndex(), 0 ) ).
toUTF8
() ;
21
22
}
// endvalueGuid()-> std::string
23
24
25
AccountComboBox.h
GCW::Gui::AccountComboBox::valueGuid
auto valueGuid() -> std::string
Definition
AccountComboBox.cpp:17
GCW::Gui::AccountComboBox::AccountComboBox
AccountComboBox()
Definition
AccountComboBox.cpp:8
Wt::WComboBox::setModelColumn
void setModelColumn(int index)
Wt::WComboBox::setModel
void setModel(const std::shared_ptr< WAbstractItemModel > model)
Wt::WString::toUTF8
std::string toUTF8() const
Wt::asString
WString asString(const cpp17::any &v, const WString &formatString=WString())
Generated on Sat Sep 13 2025 08:48:27 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8