GnuCashew ~ GnuCash Enabled Web
GCW
AccountComboBox.cpp
Go to the documentation of this file.
1 
2 
3 #include "../Eng/AccountComboModel.h"
4 
5 #include "AccountComboBox.h"
6 
9 {
10  setModel( std::make_shared< GCW::Eng::AccountComboModel >() );
11  setModelColumn( 1 );
12 
13 } // endAccountComboBox()
14 
15 auto
17 valueGuid()-> std::string
18 {
19  return
20  Wt::asString( model()-> data( currentIndex(), 0 ) ).toUTF8() ;
21 
22 } // endvalueGuid()-> std::string
23 
24 
25 
auto valueGuid() -> std::string
std::string asString(Status _status)
Get Status as String.
Definition: Status.cpp:7