00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file './transactionsortoption.ui' 00003 ** 00004 ** Created: Wed Jan 26 12:49:14 2011 00005 ** 00006 ** WARNING! All changes made in this file will be lost! 00007 ****************************************************************************/ 00008 00009 #ifndef TRANSACTIONSORTOPTION_H 00010 #define TRANSACTIONSORTOPTION_H 00011 00012 #include <qvariant.h> 00013 #include <qwidget.h> 00014 00015 class QVBoxLayout; 00016 class QHBoxLayout; 00017 class QGridLayout; 00018 class QSpacerItem; 00019 class KListView; 00020 class QListViewItem; 00021 class KPushButton; 00022 00023 class TransactionSortOption : public QWidget 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 TransactionSortOption( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 00029 ~TransactionSortOption(); 00030 00031 KListView* m_availableList; 00032 KPushButton* m_addButton; 00033 KPushButton* m_removeButton; 00034 KListView* m_selectedList; 00035 KPushButton* m_upButton; 00036 KPushButton* m_downButton; 00037 00038 void init(); 00039 QString settings( void ) const; 00040 00041 public slots: 00042 virtual void setSettings( const QString & settings ); 00043 virtual void toggleDirection( QListViewItem * item ); 00044 00045 signals: 00046 void settingsChanged(const QString&); 00047 00048 protected: 00049 QListViewItem * addEntry( KListView * p, QListViewItem * after, int idx ); 00050 00051 QHBoxLayout* TransactionSortOptionLayout; 00052 QVBoxLayout* layout3; 00053 QVBoxLayout* layout5; 00054 QSpacerItem* spacer3; 00055 QSpacerItem* spacer4; 00056 QVBoxLayout* layout4; 00057 QVBoxLayout* layout6; 00058 QSpacerItem* spacer5; 00059 QSpacerItem* spacer6; 00060 00061 protected slots: 00062 virtual void languageChange(); 00063 00064 void slotAvailableSelected( QListViewItem * item ); 00065 void slotSelectedSelected( QListViewItem * item ); 00066 void slotAddItem( void ); 00067 void slotRemoveItem( void ); 00068 void slotUpItem( void ); 00069 void slotDownItem( void ); 00070 00071 00072 }; 00073 00074 #endif // TRANSACTIONSORTOPTION_H
1.5.6