diff options
author | Hong Jen Yee (PCMan) | 2016-08-31 19:58:34 +0200 |
---|---|---|
committer | Hong Jen Yee (PCMan) | 2016-08-31 19:58:34 +0200 |
commit | 395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe (patch) | |
tree | e5a5609a4381f5e1f2b4796725d5ae54ca40ffb0 /src/mainwindow.h | |
parent | Make all source code compile with Qt5. (diff) | |
download | pavucontrol-slx-395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe.tar.gz pavucontrol-slx-395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe.tar.xz pavucontrol-slx-395c6d55c88d0ccaffaabb9dffaa72a2f41f25fe.zip |
Porting to Qt 5 - Finish the basic UI.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index df949ec..fe67de6 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -66,13 +66,7 @@ public: void removeAllWidgets(); void setConnectingMessage(const char *string = NULL); -#if 0 - Gtk::Notebook *notebook; - Gtk::VBox *streamsVBox, *recsVBox, *sinksVBox, *sourcesVBox, *cardsVBox; - Gtk::Label *noStreamsLabel, *noRecsLabel, *noSinksLabel, *noSourcesLabel, *noCardsLabel, *connectingLabel; - Gtk::ComboBox *sinkInputTypeComboBox, *sourceOutputTypeComboBox, *sinkTypeComboBox, *sourceTypeComboBox; - Gtk::CheckButton *showVolumeMetersCheckButton; -#endif + std::map<uint32_t, CardWidget*> cardWidgets; std::map<uint32_t, SinkWidget*> sinkWidgets; std::map<uint32_t, SourceWidget*> sourceWidgets; @@ -99,7 +93,7 @@ public: pa_stream* createMonitorStreamForSource(uint32_t source_idx, uint32_t stream_idx, bool suspend); void createMonitorStreamForSinkInput(SinkInputWidget* w, uint32_t sink_idx); - // void setIconFromProplist(Gtk::Image *icon, pa_proplist *l, const char *name); + void setIconFromProplist(QLabel *icon, pa_proplist *l, const char *name); RoleWidget *eventRoleWidget; |