Difference between revisions of "Qt Structure"

From Mumble Wiki
Jump to: navigation, search
 
(added example)
Line 1: Line 1:
Below are the Qt structures of most styled components of Mumble which you should greatly benefit from when making more complex skins for Mumble. All the structures are based on the XML formatted .UI files from the Mumble source code. For your convenience, the classes are in black and the unique names are in <i style="color:#090">italic green</i>. Each element should be formatted correctly for use in your QSS file when copied. For more information, see [[Skinning]].
+
Below are the Qt structures of most styled components of Mumble which you should greatly benefit from when making more complex skins for Mumble. All the structures are based on the XML formatted .UI files from the Mumble source code. For your convenience, the classes are in black and their names are in <i style="color:#090">italic green</i>. Each element should be formatted correctly for use in your QSS file when copied. For more information, see [[Skinning]].
 +
 
 +
Example:
 +
<code>
 +
/* Change the "Custom Servers" (or the first) tab on the Connect Dialog */
 +
QDialog#ConnectDialog QWidget#tab {
 +
  background: black;
 +
  color: white;
 +
}
 +
 +
/* Change the first tab on the ACL Editor and Connect Dialog */
 +
QWidget#tab {
 +
  background: black;
 +
  color: white;
 +
}
 +
</code>
  
 
== ACL Editor ==
 
== ACL Editor ==

Revision as of 19:40, 23 May 2008

Below are the Qt structures of most styled components of Mumble which you should greatly benefit from when making more complex skins for Mumble. All the structures are based on the XML formatted .UI files from the Mumble source code. For your convenience, the classes are in black and their names are in italic green. Each element should be formatted correctly for use in your QSS file when copied. For more information, see Skinning.

Example:

/* Change the "Custom Servers" (or the first) tab on the Connect Dialog */
QDialog#ConnectDialog QWidget#tab {
  background: black;
  color: white;
}

/* Change the first tab on the ACL Editor and Connect Dialog */
QWidget#tab {
  background: black;
  color: white;
}

ACL Editor

  • QDialog#ACLEditor
    • QVBoxLayout
      • QTabWidget#qtwTab
        • QWidget#tab
          • QVBoxLayout
            • QGroupBox#qgbGroups
              • QHBoxLayout
                • QComboBox#qcbGroupList
                • QPushButton#qpbGroupRemove
                • QCheckBox#qcbGroupInherit
                • QCheckBox#qcbGroupInheritable
                • QCheckBox#qcbGroupInherited
            • QGroupBox#qgbGroupMembers
              • QGridLayout
                • QLabel#label
                • QLabel#label_2
                • QLabel#label_3
                • QListWidget#qlwGroupAdd
                • QListWidget#qlwGroupRemove
                • QListWidget#qlwGroupInherit
                • QPushButton#qpbGroupInheritRemove
                • QPushButton#qpbGroupRemoveRemove
                • QPushButton#qpbGroupAddRemove
                • QLineEdit#qleGroupAdd
                • QLineEdit#qleGroupRemove
                • QPushButton#qpbGroupAddAdd
                • QPushButton#qpbGroupRemoveAdd
        • QWidget#tab_2
          • QGridLayout
            • QGroupBox#qgbACLs
              • QGridLayout
                • QListWidget#qlwACLs
                • QCheckBox#qcbACLInherit
                • QPushButton#qpbACLUp
                • QPushButton#qpbACLDown
                • QPushButton#qpbACLAdd
                • QPushButton#qpbACLRemove
            • QGroupBox#qgbACLapply
              • QVBoxLayout
                • QCheckBox#qcbACLApplyHere
                • QCheckBox#qcbACLApplySubs
            • QGroupBox#qgbACLpermissions
            • QGroupBox#qgbACLugroup
              • QGridLayout
                • QLabel#label_5
                • QComboBox#qcbACLGroup
                • QLabel#label_6
                • QLineEdit#qleACLUser
      • QDialogButtonBox#qdbbButtons

ASIO Input

  • QWidget#ASIOConfig
    • QVBoxLayout
      • QGroupBox#groupBox
        • QHBoxLayout
          • QLabel#label
          • QComboBox#qcbDevice
          • QPushButton#qpbQuery
          • QPushButton#qpbConfig
      • QGroupBox#groupBox_2
        • QGridLayout
          • QLabel#label_2
          • QLabel#qlName
          • QLabel#label_3
          • QLabel#qlBuffers
      • QGroupBox#groupBox_3
        • QHBoxLayout
          • QVBoxLayout
            • QLabel#label_6
            • QListWidget#qlwMic
          • QVBoxLayout
            • QPushButton#qpbAddMic
            • QPushButton#qpbRemMic
          • QVBoxLayout
            • QLabel#label_7
            • QListWidget#qlwUnused
          • QVBoxLayout
            • QPushButton#qpbAddSpeaker
            • QPushButton#qpbRemSpeaker
          • QVBoxLayout
            • QLabel#label_8
            • QListWidget#qlwSpeaker

Audio Input

  • QWidget#AudioInput
    • QVBoxLayout
      • QGroupBox#qgbInterfaces
        • QGridLayout
          • QLabel#label
          • QComboBox#qcbSystem
          • QLabel#label_2
          • QComboBox#qcbDevice
          • QCheckBox#qcbEcho
      • QGroupBox#groupBox_2
        • QGridLayout
          • QLabel#label_3
          • QComboBox#qcbTransmit
          • QStackedWidget#qswTransmit
            • QWidget#qwPTT
              • QGridLayout
                • QLabel#qliDoublePush
                • QSlider#qsDoublePush
                • QLabel#qlDoublePush
                • QCheckBox#qcbPushClick
            • QWidget#qwVAD
              • QGridLayout
                • QHBoxLayout
                  • QRadioButton#qrbSNR
                  • QRadioButton#qrbAmplitude
                • QLabel#qliTransmitHold
                • QSlider#qsTransmitHold
                • QLabel#qlTransmitHold
                • QLabel#qliTransmitMin
                • QSlider#qsTransmitMin
                • QLabel#qliTransmitMax
                • QSlider#qsTransmitMax
            • QWidget#qwContinuous
      • QGroupBox#groupBox_3
        • QGridLayout
          • QLabel#label_9
          • QSlider#qsQuality
          • QLabel#qlQuality
          • QLabel#qliComplexity
          • QSlider#qsComplexity
          • QLabel#qlComplexity
          • QLabel#qliFrames
          • QSlider#qsFrames
          • QLabel#qlFrames
          • QLabel#qlBitrate
      • QGroupBox#qgbAudio
        • QGridLayout
          • QLabel#label_13
          • QSlider#qsNoise
          • QLabel#qlNoise
          • QLabel#label_15
          • QSlider#qsAmp
          • QLabel#qlAmp

Audio Output

  • QWidget#AudioOutput
    • QVBoxLayout
      • QGroupBox#qgbInterfaces
        • QGridLayout
          • QLabel#label
          • QComboBox#qcbSystem
          • QLabel#label_2
          • QComboBox#qcbDevice
          • QCheckBox#qcbPositional
      • QGroupBox#qgbOutput
        • QGridLayout
          • QLabel#label_17
          • QSlider#qsJitter
          • QLabel#qlJitter
          • QLabel#label_7
          • QSlider#qsVolume
          • QLabel#qlVolume
          • QLabel#label_6
          • QSlider#qsDelay
          • QLabel#qlDelay
      • QGroupBox#qgbVolume
        • QGridLayout
          • QLabel#label_10
          • QSlider#qsMinDistance
          • QLabel#qlMinDistance
          • QLabel#label_8
          • QSlider#qsMaxDistance
          • QLabel#qlMaxDistance
          • QLabel#label_9
          • QSlider#qsRollOff
          • QLabel#qlRollOff
          • QLabel#label_11
          • QSlider#qsBloom
          • QLabel#qlBloom
          • QCheckBox#qcbHeadphones
      • QGroupBox#qgbLoopback
        • QGridLayout
          • QLabel#label_19
          • QSlider#qsPacketDelay
          • QLabel#qlPacketDelay
          • QLabel#label_21
          • QSlider#qsPacketLoss
          • QLabel#qlPacketLoss
          • QLabel#label_23
          • QComboBox#qcbLoopback

Audio Stats

  • QDialog#AudioStats
    • QVBoxLayout
      • QHBoxLayout
        • QGroupBox#groupBox
          • QGridLayout
            • QLabel#label
            • QLabel#qlMicLevel
            • QLabel#label_3
            • QLabel#qlSpeakerLevel
            • QLabel#label_5
            • QLabel#qlSignalLevel
        • QGroupBox#groupBox_2
          • QGridLayout
            • QLabel#label_7
            • QLabel#qlMicVolume
            • QLabel#label_8
            • QLabel#qlMicSNR
            • QLabel#label_9
            • QLabel#qlSpeechProb
      • QGroupBox#groupBox_5
        • QGridLayout
          • QLabel#label_13
          • QLabel#qlBitrate
          • QLabel#label_15
          • QLabel#qlDoublePush
          • QLabel#label_17
          • AudioBar#abSpeech
      • QGroupBox#groupBox_3
        • QVBoxLayout
          • AudioNoiseWidget#anwNoise
      • QGroupBox#qgbEcho
        • QVBoxLayout
          • AudioEchoWidget#aewEcho

Ban Editor

  • QDialog#BanEditor
    • QVBoxLayout
      • QHBoxLayout
        • QListWidget#qlwBans
        • QVBoxLayout
          • QGridLayout
            • QLabel#label
            • QLabel#label_2
            • QLineEdit#qleIP
            • QSpinBox#qsbMask
          • QHBoxLayout
            • QPushButton#qpbAdd
            • QPushButton#qpbUpdate
            • QPushButton#qpbRemove
      • QDialogButtonBox#buttonBox

Config Dialog

  • QDialog#ConfigDialog
    • QVBoxLayout
      • QHBoxLayout
        • QVBoxLayout
          • QListWidget#qlwIcons
          • QCheckBox#qcbExpert
        • QVBoxLayout
          • QStackedWidget#qswPages
      • QHBoxLayout
        • QDialogButtonBox#pageButtonBox
        • QDialogButtonBox#dialogButtonBox

Connect Dialog

  • QDialog#ConnectDialog
    • QVBoxLayout
      • QTabWidget#qtwTab
        • QWidget#tab
          • QVBoxLayout
            • QHBoxLayout
              • QListView#qlwServers
              • QGridLayout
                • QLabel#label_2
                • QLabel#label
                • QLabel#label_3
                • QLabel#label_4
                • QLabel#label_5
                • QLineEdit#qleName
                • QLineEdit#qleServer
                • QLineEdit#qlePort
                • QLineEdit#qleUsername
                • QLineEdit#qlePassword
            • QHBoxLayout
              • QPushButton#qpbConnect
              • QPushButton#qpbCancel
              • QPushButton#qpbAdd
              • QPushButton#qpbRemove
        • QWidget#tab_2
          • QVBoxLayout
            • QTreeWidget#qtwServers
            • QHBoxLayout
              • QPushButton#qpbBrowserConnect
              • QPushButton#qpbBrowserCancel
              • QPushButton#qpbCopy
              • QPushButton#qpbURL

Log

  • QWidget#LogConfig
    • QVBoxLayout
      • QTreeWidget#qtwMessages
      • QGroupBox#qgbTTS
        • QGridLayout
          • QLabel#qlVolume
          • QSlider#qsVolume
          • QLabel#qlThreshold
          • QSpinBox#qsbThreshold

Look Config

  • QWidget#LookConfig
    • QVBoxLayout
      • QGroupBox#groupBox
        • QHBoxLayout
          • QLabel#label
          • QComboBox#qcbLanguage
      • QGroupBox#groupBox_2
        • QGridLayout
          • QLabel#qliStyle
          • QComboBox#qcbStyle
          • QLabel#label_3
          • QLineEdit#qleCSS
          • QPushButton#qpbSkinFile
          • QLabel#label_2
          • QComboBox#qcbExpand
          • QCheckBox#qcbPlayersTop
      • QGroupBox#groupBox_3
        • QHBoxLayout
          • QCheckBox#qcbAutoUpdate

Main Window

  • QMainWindow#MainWindow
    • QTreeView#qtvPlayers
    • QMenuBar#menubar
      • QMenu#qmServer
      • QMenu#qmPlayer
      • QMenu#qmChannel
      • QMenu#qmAudio
      • QMenu#qmConfig
      • QMenu#qmHelp
    • QDockWidget#qdwLog
      • QTextBrowser#qteLog

Network Config

  • QWidget#NetworkConfig
    • QVBoxLayout
      • QGroupBox#qgbConnection
        • QVBoxLayout
          • QCheckBox#qcbTcpMode
          • QCheckBox#qcbAutoReconnect
      • QGroupBox#qgbProxy
        • QGridLayout
          • QLabel#qlType
          • QComboBox#qcbType
          • QLabel#qlHostname
          • QLineEdit#qleHostname
          • QLabel#qlPort
          • QLineEdit#qlePort
          • QLabel#qlUsername
          • QLineEdit#qleUsername
          • QLabel#qlPassword
          • QLineEdit#qlePassword

Overlay

  • QWidget#OverlayConfig
    • QVBoxLayout
      • QGroupBox#groupBox
        • QVBoxLayout
          • QCheckBox#qcbEnable
          • QComboBox#qcbShow
          • QCheckBox#qcbAlwaysSelf
          • QCheckBox#qcbUserTextures
      • QGroupBox#groupBox_2
        • QGridLayout
          • QCheckBox#qcbTop
          • QSlider#qsY
          • QCheckBox#qcbLeft
          • QCheckBox#qcbRight
          • QCheckBox#qcbBottom
          • QSlider#qsX
      • QGroupBox#groupBox_3
        • QGridLayout
          • QLabel#label
          • QLabel#qlCurrentFont
          • QPushButton#qpbSetFont
          • QLabel#label_3
          • QSlider#qsMaxHeight
          • QLabel#qlMaxHeight
          • QLabel#label_5
          • QLabel#qlPlayer
          • QPushButton#qpbPlayer
          • QLabel#label_6
          • QLabel#qlTalking
          • QPushButton#qpbTalking
          • QLabel#label_8
          • QLabel#qlAltTalking
          • QPushButton#qpbAltTalking
          • QLabel#label_9
          • QLabel#qlChannel
          • QPushButton#qpbChannel
          • QLabel#label_2
          • QLabel#qlChannelTalking
          • QPushButton#qpbChannelTalking

PA Audio Config

  • QWidget#PAAudioConfig
    • QVBoxLayout
      • QGroupBox#gbInput
        • QVBoxLayout
          • QListWidget#lwInput
      • QGroupBox#gbOutput
        • QVBoxLayout
          • QListWidget#lwOutput

Plugins

  • QWidget#PluginConfig
    • QVBoxLayout
      • QGroupBox#groupBox
        • QVBoxLayout
          • QCheckBox#qcbTransmit
      • QGroupBox#groupBox_2
        • QVBoxLayout
          • QListWidget#qlwPlugins
          • QHBoxLayout
            • QPushButton#qpbReload
            • QPushButton#qpbAbout
            • QPushButton#qpbConfig

Text Message

  • QDialog#TextMessage
    • QVBoxLayout
      • QCheckBox#qcbRawMessage
      • QGroupBox#groupBox
        • QVBoxLayout
          • QTextEdit#qteEdit
      • QGroupBox#groupBox_2
        • QVBoxLayout
          • QTextBrowser#qtbPreview
      • QDialogButtonBox#buttonBox